Skip to content

itisnotyourenv/questions-bot

Repository files navigation

Question bot

The bot allows people to send anonymous questions to other people.

Technologies

  • Python 3.11
  • Aiogram - asynchronous framework for Telegram Bot API
  • arq - asynchronous task queue
  • SQLAlchemy - ORM with async support
  • Alembic - migrations
  • Pillow - image processing
  • PostgreSQL - main database
  • Redis - save user state
  • Docker - containerization
  • Docker-compose - run all services

Installation

  1. Clone repository
git clone https://github.com/itisnotyourenv/questions-bot
  1. Rename .env.dist to .env and fill in the variables
  2. Run docker-compose
docker-compose up -d --build
  1. Run migrations
docker exec q_bot alembic upgrade head

Replace q_bot with the actual name of the container where the bot has been started

About

The bot allows people to send anonymously messages to each other and reply to them.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages