Züri Trash Bot is a Telegram bot, which offers a convenient way to query paper 📰 and cardboard 📦 collection dates for people living in Zurich. The bot also support querying dates 📆 for the next cargo tram and E-tram 🚋.
Visit https://t.me/zh_trashbot or use @zh_trashbot
directly from within Telegram.
You don't need to deploy the bot to use it. For using the bot, just follow this link.
Steps to deploy (a copy of) this bot include
- clone this repository,
- install uv for project management,
- setup python:
uv python install
, - install the project:
uv sync --all-extras --dev
- get a Telegram bot token
- create a config file:
mv config.ini.example config.ini
and configure the token in it - run the bot:
uv run src/zh_trashbot/bot.py
Recommended extensions are Python language support and Code Spell Checker.