https://github.com/fsoky/anonimchatbot-aiogram3
Anonymous chat bot for Telegram
https://github.com/fsoky/anonimchatbot-aiogram3
aiogram aiogram-bot aiogram3 bot motor-pymongo pymongo python telegram telegram-api telegram-bot
Last synced: 17 days ago
JSON representation
Anonymous chat bot for Telegram
- Host: GitHub
- URL: https://github.com/fsoky/anonimchatbot-aiogram3
- Owner: Fsoky
- Created: 2022-02-25T15:59:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-17T16:19:19.000Z (about 1 year ago)
- Last Synced: 2024-05-17T17:35:02.696Z (about 1 year ago)
- Topics: aiogram, aiogram-bot, aiogram3, bot, motor-pymongo, pymongo, python, telegram, telegram-api, telegram-bot
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 25
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🤖 Anonymous ChatBot for Telegram 📱
* Python 3.10^
* AIOgram 3.x
* MongoDB (motor)#### Installation
```bash
git clone https://github.com/Fsoky/anonimchatbot-aiogram3.git
```
#### Change directory
```bash
cd anonimchatbot-aiogram3
```
#### Use [poetry](https://python-poetry.org/docs/) for install dependencies (`pip install poetry`)
```bash
poetry install
```
#### Run
```bash
python src/__main__.py
```> [!TIP]
> Make sure you modify the .env file before running this script!#### Installation in Docker
```bash
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:
```bash
docker compose up -d
```