A ChatBot that allows users to exchange messages anonymously. The main idea is to allow people to communicate without having to reveal their identity. A bot was created for the demonstration @TokumeiChatto
- Python 3.11+
- Docker
- docker-compose
- make
- poetry
Via Docker
- Rename
.env.dist
to.env
and configure it - Configure url in
alembic.ini
- Run
make app-build
command thenmake app-run
to start the bot
- Configure and start PostgreSQL
- Rename
.env.example
to.env
and configure it - Configure url in
alembic.ini
- Run database migrations with
make migrate
command - Configure
telegram-bot.service
(» Read more)
poetry install
Make migration script:
make migration message=MESSAGE_WHAT_THE_MIGRATION_DOES rev_id=ID_MIGRATION
Run migrations:
make migrate
- Aiogram 3.x (Telegram bot framework)
- PostgreSQL (database)
- SQLAlchemy (working with database from Python)
- Alembic (lightweight database migration tool)
- Project Fluent (modern localization system)