Telegram group assistant bot:
Reminders, user activity stats, and a simple frontend for management.
python/
├── backend/
│ ├── bot.py
│ ├── api.py
│ ├── storage.py
│ └── config.py
├── frontend/
│ ├── static/
│ │ ├── style.css
│ │ └── main.js
│ └── templates/
│ └── index.html
├── requirements.txt
└── README.md
-
Python 3.9+ required
-
Install dependencies:
pip install -r requirements.txt -
Set your Telegram bot token in
backend/config.py:TELEGRAM_BOT_TOKEN = "YOUR_TOKEN_HERE"
-
(Optional) Change
ADMIN_PASSWORDfor frontend/API access.
- Bot:
cd backend python bot.py - API (Flask):
cd backend python api.py ```.
- Simply run the Flask server and open
frontend/templates/index.htmlin your browser. - By default, the site will be available at http://localhost:8000
- Add reminders to any group
- View user activity statistics
- Simple and easy to deploy
- API uses a simple bearer token password (see
ADMIN_PASSWORDin config). - Do not use this password in production without further protection!