- Converts any video file or TikTok / Instagram / YouTube Shorts link into a round note
- iOS and Android overlay styles — user picks per video
- Videos longer than 60 s are auto-split into sequential notes
- Russian and English, auto-detected from Telegram locale
- PostgreSQL-backed user and download history
Requires: Python 3.10+, ffmpeg, PostgreSQL
git clone https://github.com/bohd4nx/Telegram-Video-Bot.git
cd Telegram-Video-Bot
cp .env.example .env # fill in BOT_TOKEN, POSTGRES_*# Docker (recommended)
docker compose up -d
# or local
pip install .
python main.py| Variable | Required | Default | Description |
|---|---|---|---|
BOT_TOKEN |
✅ | — | Token from @BotFather |
POSTGRES_USER |
✅ | — | PostgreSQL username |
POSTGRES_PASSWORD |
✅ | — | PostgreSQL password |
POSTGRES_DB |
✅ | — | PostgreSQL database name |
POSTGRES_HOST |
— | db |
PostgreSQL host |
POSTGRES_PORT |
— | 5432 |
PostgreSQL port |
ADMIN_IDS |
— | — | Comma-separated admin Telegram IDs |
SUPPORT_URL |
— | — | Support link shown in /help |