JavaFX application for easy cut and send audio to Telegram chat as voice messages
gradle/wrapper | ||
src/main | ||
.gitignore | ||
build.gradle | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
README.md | ||
settings.gradle |
Voicyanski
JavaFX application for easy cut and send audio to Telegram chat as voice messages.
Requirements
- JavaFX 8
ffmpeg
with libopus encoder
Building
Build jar with dependencies: ./gradlew shadowJar
. The executable jar will appear as build/libs/Voicyanski-all.jar
Configuration
- Open .jar file as zip archive and edit
app.properties
. - Set
telegram-bot-token
andtelegram-chat-id
properties - Also you can copy
app.properties
to%home%/.config/voicyanski.conf
. This file will be read first. You don't need to fill in all props because missing props will fallback toapp.properties
.
Running
Run java -jar Voicyanski-all.jar
and drag&drop your music file on the app's window or run java -jar Voicyanski-all.jar <music file>
. Supported formats: MP3, AAC, WAV