A Telegram bot written in Rust whose original purpose is mainly to remind their 5 roommates when to take out the trash.
Named after the Neo-Latin word for Gruyère according to the Lexicon Recentis Latinitatis.
Create a file called teloxide_token.txt
with your bot's Telegram API token.
$ echo "<API Token>" > teloxide_token.txt
Then edit the id of the chat the bot should send to in compose.yaml
.
# ...
entrypoint: [ '/bin/bash', '-c', 'export TELOXIDE_TOKEN=$$(cat /run/secrets/teloxide_token) ; ./caseus-foratus-helveticus "<Chat id here>"' ]
You can find the id of a chat by adding the bot to the chat and then querying https://api.telegram.org/bot<API Token>/getUpdates
(using a for example a browser).
Feel free to edit the reminder dates in the dates folder (this can be done while the bot is running).
Finally, start the bot using docker-compose
:
$ docker-compose up -d