19 lines
521 B
Markdown
19 lines
521 B
Markdown
|
# Voicyanski
|
||
|
|
||
|
JavaFX application for easy cut and send audio to Telegram chat as voice messages.
|
||
|
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
- JavaFX 8
|
||
|
- `ffmpeg` with libopus encoder
|
||
|
|
||
|
|
||
|
## Building and running
|
||
|
|
||
|
1. Build jar with dependencies: `./gradlew shadowJar`
|
||
|
2. Edit `app.properties` in `build/libs/Voicyanski-all.jar` archive
|
||
|
3. Set `telegram-bot-token` and `telegram-chat-id` properties
|
||
|
4. Run application:
|
||
|
`java -jar Voicyanski-all.jar` and drop your audio file window
|
||
|
or run `java -jar Voicyanski-all.jar path-to-audio-file.mp3`
|