An open API service indexing awesome lists of open source software.

https://github.com/j3rrryy/weather_bot

Telegram weather bot. Written using aiogram 3
https://github.com/j3rrryy/weather_bot

aiogram3 docker postgresql redis telegram weather-forecast

Last synced: 5 months ago
JSON representation

Telegram weather bot. Written using aiogram 3

Awesome Lists containing this project

README

          

# Aiogram weather bot



CI/CD


Python 3.12


MIT License


Ruff

## :book: Key features

- Main DB - PostgreSQL
- DB for states - Redis
- Uses phone location for accurate forecast
- Uses English or Russian language to communicate
- Supports changing units of measurement
- Supports showing weather plots

## :computer: Requirements

- Docker

## :hammer_and_wrench: Getting started

- Create Telegram bot in [@BotFather](https://t.me/BotFather) and receive token
- Sign up in [Weather API](https://www.weatherapi.com/) and receive token
- Create `.env` file with variables as in the `examples/.env.example`

### :rocket: Start

```shell
docker compose up --build -d
```

### :x: Stop

```shell
docker compose stop
```

### :email: DM [@J3rry_Weather_Bot](https://t.me/J3rry_Weather_Bot) in Telegram