6d46d2c2e3521c682b16296995b494a790ba3a3b
Social Post Writer Bot — development
The bot prepares social media posts on explicit request. It uses APInex STT for Russian voice messages and Gemini 3.8 Flash through APInex for intent classification, post writing/revision, and visual reading of post screenshots to infer a personal Tone of Voice.
- Runtime: Python 3.12, aiogram 3.x
- Coolify environment:
developmentonspb-easy-dale - Gitea branch:
dev - Runtime variables are configured only in Coolify:
BOT_TOKEN,BOT_ENV,APINEX_API_KEY,APINEX_STT_MODEL,APINEX_INTENT_CLASSIFIER_MODEL,APINEX_POST_WRITER_MODEL,APINEX_IMAGE_TONE_MODEL,BOT_DB_PATH. - Models default to
gemini-3.8-flash; STT defaults to APInexnova-2. - Per-user Tone of Voice is stored in SQLite at
/app/data/social_writer.sqlite3; mount a persistent Coolify volume at/app/data. - Each explicit post request and each reply-edit returns three posts as separate Telegram messages. No conversational history is stored.
- Screenshots are sent to vision using inline base64 data URLs; uploaded images and source post texts are not persisted.
Local tests
Run python -m unittest discover -s tests -v.
Description
Telegram-бот для генерации постов для соцсетей: три варианта на запрос, Tone of Voice из скриншотов, голосовой ввод (STT), идеи и подписка (триал 3 дня, затем 100 звёзд/месяц). Python 3.12 + aiogram 3.x + APInex LLM/STT/vision + SQLite.
https://t.me/post_master_bot
Readme
416 KiB
0 Stars
1 Watchers
0 Forks
Languages
Python
99.5%
Shell
0.4%