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

https://github.com/j3rrryy/aiogram_bot_template

Basic bot template
https://github.com/j3rrryy/aiogram_bot_template

aiogram3 bot-template docker postgresql redis telegram

Last synced: 29 days ago
JSON representation

Basic bot template

Awesome Lists containing this project

README

          

# Aiogram bot



Python 3.12


MIT License


Ruff

## :book: Key features

- Main DB - PostgreSQL
- DB for cache and states - Redis
- Uses languages to communicate

## :computer: Requirements

- Docker

## :hammer_and_wrench: Getting started

- Create Telegram bot in [@BotFather](https://t.me/BotFather) and receive token
- Create `.env` file with variables as in the `examples/.env.example`
- Install the latest versions of the required packages
- Freeze the installed package versions to `requirements.txt`

### :rocket: Start

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

### :x: Stop

```shell
docker compose stop
```

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