develop | master |
---|---|
A bot for making up memes without leaving Telegram.
This bot creates a meme from image and text sent by user. Possible inputs are:
Any other input will be regarded as incorrect.
First, provide your own Meme Generation API and Telegram bot credentials.
For Meme Generation API key, set MEME_API_TOKEN
environment variable.
For Telegram bot credentials, set TELEGRAM_BOT_TOKEN
and TELEGRAM_BOT_USERNAME
environment variables.
First, build the fat jar image:
docker build -t meme-creator-telegram-bot .
Then, run the application:
docker run --env-file env.list meme-creator-telegram-bot
First, build the fat jar image with Gradle:
./gradlew fatJar
Then, run the application:
java -jar ./build/libs/meme-creator-telegram-bot-$VERSION.jar