Skip to content

Fsoky/anonimchatbot-aiogram3

Repository files navigation

🤖 Anonymous ChatBot for Telegram 📱

Telegram

  • Python 3.10^
  • AIOgram 3.x
  • MongoDB (motor)

Installation

git clone https://github.com/Fsoky/anonimchatbot-aiogram3.git

Change directory

cd anonimchatbot-aiogram3

Use poetry for install dependencies (pip install poetry)

poetry install

Run

python src/__main__.py

Tip

Make sure you modify the .env file before running this script!

Installation in Docker

docker compose up

This will output the logs of your docker containers:

  1. anonchat-telegram
  2. mongo
  3. mongo-express

To access admin panel of your database go to localhost:8081 in your browser and enter your credentials in the prompt

Set containers to run as daemons

After checking that everything works as expected, you can set those containers to run as daemons by stopping previous docker command with ctrl + c and running it again with:

docker compose up -d