├── .github └── workflows │ ├── audit.yml │ └── codeql-analysis.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── aiogram_bot_template ├── __init__.py ├── bot.py ├── data │ ├── __init__.py │ └── config.py ├── db │ ├── __init__.py │ ├── cache │ │ └── __init__.py │ └── db_api │ │ ├── __init__.py │ │ └── storages │ │ ├── __init__.py │ │ ├── base.py │ │ └── postgres.py ├── exceptions │ ├── __init__.py │ ├── base.py │ └── keyboard_utils.py ├── filters │ ├── __init__.py │ ├── chat_type.py │ └── text.py ├── handlers │ ├── __init__.py │ └── user │ │ ├── __init__.py │ │ └── start.py ├── keyboards │ ├── __init__.py │ ├── default │ │ ├── __init__.py │ │ ├── basic.py │ │ └── consts.py │ ├── inline │ │ ├── __init__.py │ │ ├── admin │ │ │ └── __init__.py │ │ ├── callbacks.py │ │ ├── consts.py │ │ └── user │ │ │ └── __init__.py │ └── keyboard_utils │ │ ├── __init__.py │ │ └── schema_generator.py ├── middlewares │ ├── __init__.py │ └── logging.py ├── models │ ├── __init__.py │ └── base.py ├── states │ ├── __init__.py │ └── user.py ├── utils │ ├── __init__.py │ ├── chunks.py │ ├── connect_to_services.py │ ├── logging.py │ └── smart_session.py └── web_handlers │ ├── __init__.py │ └── tg_updates.py ├── example.env ├── infra ├── scripts │ └── init_project.py └── systemd │ └── aiogram_bot_template.service ├── poetry.lock └── pyproject.toml /.github/workflows/audit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/.github/workflows/audit.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/README.md -------------------------------------------------------------------------------- /aiogram_bot_template/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aiogram_bot_template/bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/bot.py -------------------------------------------------------------------------------- /aiogram_bot_template/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aiogram_bot_template/data/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/data/config.py -------------------------------------------------------------------------------- /aiogram_bot_template/db/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /aiogram_bot_template/db/cache/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aiogram_bot_template/db/db_api/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /aiogram_bot_template/db/db_api/storages/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/db/db_api/storages/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/db/db_api/storages/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/db/db_api/storages/base.py -------------------------------------------------------------------------------- /aiogram_bot_template/db/db_api/storages/postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/db/db_api/storages/postgres.py -------------------------------------------------------------------------------- /aiogram_bot_template/exceptions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/exceptions/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/exceptions/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/exceptions/base.py -------------------------------------------------------------------------------- /aiogram_bot_template/exceptions/keyboard_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/exceptions/keyboard_utils.py -------------------------------------------------------------------------------- /aiogram_bot_template/filters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/filters/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/filters/chat_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/filters/chat_type.py -------------------------------------------------------------------------------- /aiogram_bot_template/filters/text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/filters/text.py -------------------------------------------------------------------------------- /aiogram_bot_template/handlers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/handlers/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/handlers/user/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/handlers/user/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/handlers/user/start.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/handlers/user/start.py -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/keyboards/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/default/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/keyboards/default/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/default/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/keyboards/default/basic.py -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/default/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/keyboards/default/consts.py -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/inline/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/keyboards/inline/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/inline/admin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/inline/callbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/keyboards/inline/callbacks.py -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/inline/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/keyboards/inline/consts.py -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/inline/user/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/keyboard_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aiogram_bot_template/keyboards/keyboard_utils/schema_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/keyboards/keyboard_utils/schema_generator.py -------------------------------------------------------------------------------- /aiogram_bot_template/middlewares/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/middlewares/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/middlewares/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/middlewares/logging.py -------------------------------------------------------------------------------- /aiogram_bot_template/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/models/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/models/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/models/base.py -------------------------------------------------------------------------------- /aiogram_bot_template/states/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/states/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/states/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/states/user.py -------------------------------------------------------------------------------- /aiogram_bot_template/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/utils/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/utils/chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/utils/chunks.py -------------------------------------------------------------------------------- /aiogram_bot_template/utils/connect_to_services.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/utils/connect_to_services.py -------------------------------------------------------------------------------- /aiogram_bot_template/utils/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/utils/logging.py -------------------------------------------------------------------------------- /aiogram_bot_template/utils/smart_session.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/utils/smart_session.py -------------------------------------------------------------------------------- /aiogram_bot_template/web_handlers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/web_handlers/__init__.py -------------------------------------------------------------------------------- /aiogram_bot_template/web_handlers/tg_updates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/aiogram_bot_template/web_handlers/tg_updates.py -------------------------------------------------------------------------------- /example.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/example.env -------------------------------------------------------------------------------- /infra/scripts/init_project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/infra/scripts/init_project.py -------------------------------------------------------------------------------- /infra/systemd/aiogram_bot_template.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/infra/systemd/aiogram_bot_template.service -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Forden/aiogram-bot-template/HEAD/pyproject.toml --------------------------------------------------------------------------------