A simple telegram bot that describes current weather (currently for Otaniemi, Espoo) and predicts the "beautifulness" of the day using previously learnt data.
For development you need:
- uv
- Python 3.13
- A free API key from OpenWeatherMap
- A libSQL database (local/remote)
- A TG bot API key
For production you need (or is recommended at least):
- Docker
- A free API key from OpenWeatherMap
- A Postgres database (local/remote)
- A TG bot API key
-
Build the image:
docker build -t paivabot .
-
setup environment variables inside
.env
-
Run the image with
.env
as the env-file:docker run -d --env-file .env paivabot