Feel free to write me @emilkayumov
A simple telegram bot to transcript voice messages.
It's my pet project which is main goal not to be something big. I'm going to learn some basic stuff: telegram bot building, docker, databases (like sqlite if I imagine how to use it), clouds, tests, ci, moninorings, logging, etc.
You can deploy your own installation of this bot. It requires only bot token and some computation power (I test it on my Air m1 and it works without any problem with large model of Whisper).
I'm using now:
After creating a bot with @BotFather fill config.yaml
with token. Also you can use allowlist_usernames
if you don't want anybody to use your bot.
You can create a virtual environment and setup it with:
make init
And run it (it could be long first time because of downloading a model):
make run
You can build an image:
make docker-build
And start it:
make docker-run
Or use daemon mode:
make docker-run-daemon
InitRun a bot on cloudA docker file to easily run on server- Setup monitorings to see if the bot is crashed
- Make the bot stable
- Make test environment
- Setup logging (no user messages only using stats)
- Add some new functionality like summarizing messages
- ...