Service can run multiple telegram bots, which place meme-gen-bots .
Based on Kotlin telegram bot framework
As a standart Spring Boot appliactoin
- Create telegram bot at https://t.me/BotFather.
- Add bot via HTTP API or directly to db table bot (you need token bot)
- Add meme images via HTTP API or direcly to db table + copy it to ./memes/<meme_id>.jpg
- Place text-areas on your images
- Use it in telegram according help-article direclty in bot chat or via inline mode
- Java 11+
- PostgreSQL
- Kotlin
- Spring boot 2+
- Flyway db
Apache 2.0
//TODO: place API examples
CREATE ROLE memegen PASSWORD 'memegen' LOGIN;
CREATE schema memegen;
GRANT ALL PRIVILEGES ON SCHEMA memegen TO memegen;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA memegen TO memegen;
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA memegen TO memegen;
ALTER ROLE memegen SET search_path=memegen;