Back to Trending
RepositoryPythonDEGermany
wakaree

wakaree/aiogram_bot_template

Aiogram 3.x bot template using PostgreSQL (asyncpg) with SQLAlchemy + alembic.

164stars
19forks
0issues
2views

Khởi tạo nhanh bot Telegram với Aiogram 3.x và PostgreSQL

Một mẫu dự án bot Telegram hoàn chỉnh, tích hợp Aiogram 3.x, PostgreSQL, Redis và FastAPI — chỉ cần vài lệnh là chạy được.

aiogram_bot_template là một template bot Telegram được xây dựng trên Aiogram 3.x, kết hợp PostgreSQL (qua asyncpg), SQLAlchemy, Alembic để quản lý cơ sở dữ liệu, Redis dùng cho FSM và cache, cùng FastAPI để xây dựng API. Dự án hỗ trợ đa dạng ngôn ngữ nhờ Project Fluent, được quản lý bởi uv và triển khai dễ dàng với Docker.

✨ Điểm nổi bật

  • Aiogram 3.x: Framework bot Telegram hiện đại, hỗ trợ xử lý bất đồng bộ mạnh mẽ.
  • PostgreSQL + asyncpg: Cơ sở dữ liệu quan hệ mạnh mẽ, kết nối bất đồng bộ tối ưu hiệu năng.
  • SQLAlchemy + Alembic: Quản lý ORM và migration cơ sở dữ liệu chuyên nghiệp.
  • Redis: Lưu trữ FSM và cache nhanh chóng.
  • FastAPI: Xây dựng API đồng thời với bot.
  • Project Fluent: Hệ thống đa ngôn ngữ hiện đại.
  • Docker + docker-compose: Triển khai nhanh chóng với môi trường chuẩn.
  • uv: Quản lý gói và môi trường Python siêu nhanh.

💡 Vì sao đáng chú ý

Đây không chỉ là một template đơn thuần — mà là một dự án tham khảo đầy đủ các thành phần cần thiết cho một bot Telegram thực tế: từ quản lý cơ sở dữ liệu, migration, cache đến API và đa ngôn ngữ. Dự án được thiết kế để phát triển nhanh (fast development) và triển khai dễ dàng nhờ Docker, đồng thời tuân thủ các nguyên best practices của cộng đồng Python.

Phù hợp với cả nhà phát triển mới bắt đầu và người muốn xây dựng nền tảng vững chắc cho bot thương mại hoặc cá nhân.


#Aiogram3 #TelegramBot #FastAPI #PostgreSQL #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
nonebot/nonebot2

跨平台 Python 异步聊天机器人框架 / Asynchronous multi-platform chatbot framework written in Python

7.8k
Oct 26, 2026
RepositoryPython
interlumpen/Telegram-shop

This telegram bot is a template for a shop 🏪 where users can replenish their balance and buy goods.

150
Jul 27, 2026
RepositoryPython
arturboyun/AiogramBotTemplate

This is a template for easy start of bot development for Telegram

129
Jun 17, 2026
RepositoryPython
andrew000/aiogram-template

Telegram Bot Template. aiogram, i18n, SQLAlchemy+Alembic, PostgreSQL, Redis, Caddy Server, Docker, uv, FTL-Extract

91
Jul 1, 2026
RepositoryPython
PavelShaura/Autoseller_bot_aiogram_3

Bot auto sales of digital goods (VPN subscription) using Yoomoney API and Sellix API (bank card and bitcoin). The main part uses MongoDB, bitcoin payment data and bitcoin payment status tracking uses SQLite.

63
Sep 24, 2025
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

187.7k
Oct 24, 2026
RepositoryTypeScript
openclaw/openclaw

The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

393.0k
Oct 25, 2026
RepositoryShell
obra/superpowers

An agentic skills framework & software development methodology that works.

305.5k
Oct 23, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

257.3k
Oct 26, 2026