Umumiy ko‘rinish
A Telegram media downloader with an operator admin behind it.
Mening hissam
- Built it end to end — 70 commits, 85 test functions.
- aiogram takes the request; Celery workers download with yt-dlp and remux with ffmpeg; Pyrogram uploads over MTProto so the 50 MB Bot API limit stops applying.
- Every resolved file cached in PostgreSQL, so a repeated link is served without touching the source; Redis as broker and rate limiter.
- Media tasks that retry and fail explicitly; MinIO delivery; Prometheus metrics endpoint.
- Admin with dashboard metrics, subscriptions and per-user download history.
- CI and production deploy workflows with health checks.
Arxitektura
- aiogram + Pyrogram, Celery on Redis, PostgreSQL with SQLAlchemy and Alembic, MinIO, Nginx; Docker Compose.