Skip to content
/ AiogramTemplate Public template

This template was designed to create bots based on aiogram 3, and includes several basic functions.

Notifications You must be signed in to change notification settings

taimast/AiogramTemplate

Repository files navigation

This template was designed to create bots based on aiogram 3, and includes several basic functions.

Features

Localization

Fluent is used for localization. By default, the folder with localizations is located at the path `src/locales'.

utilities

  • src/utils/ftl_parser_cli.py - Live generation of stubs for localization.
  • src/utils/ftl_translator.py - Automatic localization translation into all languages via Google Translate and ftl generation.
  • src/apps/bot/callback_data/paginator.py - Paginator of pages for InlineKeyboardMarkup.
  • src/db/models/user/mixins.py - Mixins for user models. At the moment, for Referrals and Connecting users to each other through a bot. (Example of connection in `helpers/connect')

Installation

  1. Fill in the config.yml
  2. Run docker compose up -d

When changing data

  1. Run docker compose stop (stop container)
  2. Run docker compose up -d --build (rebuild the container and run it)

About

This template was designed to create bots based on aiogram 3, and includes several basic functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages