Loading repository data…
Loading repository data…
NoBodyEver99 / repository
Template for creating Telegram bots based on aiogram with support for asynchronous programming, database on Tortoise ORM, FSM storage on Redis and admin panel for bot management.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This project is a template for creating bots on the Telegram platform using the aiogram framework. It includes a fully working administration panel with functions of statistics, mailing, channel management for mandatory subscription and UTM tags. The database is created automatically if it doesn't exist and user data is updated in the database if the user changes it in Telegram.
Clone the repository:
git clone https://github.com/NoBodyEver99/aiogram-bot-template.git
cd aiogram-bot-template
Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # for Windows use `venv\Scripts\activate`
Install dependencies:
pip install -r requirements.txt
Create .env and configure environment variables, use .env.example as a reference:
cp .env.example .env
initialize Aerich:
aerich init -t config.TORTOISE_ORM
Create the first migration and apply it:
aerich init-db
Run the bot:
python start.py
If you have any questions or problems with the project, please create an issue on GitHub.
This project is licensed under the terms of the MIT license. See the LICENSE file for details.