How clinton-abraham/tele-leechx works
Project type and purpose
• Tele-LeechX is a Python-based, event-driven Telegram Bot (built on Pyrogram) whose purpose is to accept links/torrents/YouTube playlists from users, download or process them (via Aria2, youtube_dl, Real-Debrid, ffmpeg), and then re-upload to Telegram or external cloud storage (via Rclone). It is packaged to run on Heroku, Docker, or any Linux server.
File structure
• Root
• Dockerfile, heroku.yml, app.json, start.sh – deployment scripts
• requirements.txt, runtime.txt, sample_config.env – dependency and env config
• genStringSession.py – helper to generate Pyrogram session
• tobrot/
• __main__.py – application entrypoint
• UserDynaConfig.py – dynamic loading of environment/config vars
• aria2/ – Aria2 configuration
• bot_theme/ – custom UI elements (bot_UI.py)
• helper_funcs/ – core utilities (downloaders, compressors, link parsers, upload handlers, progress display, exception definitions, etc.)
• plugins/ – feature modules (callback handlers, command handlers, torrent search, speedtest, IMDB lookup, rclone config, custom thumbnailing, etc.)
• update.py – self-update mechanism
README for technical insights
• Confirms use of Pyrogram, Aria2, Rclone, youtube_dl, Real-Debrid
• Deployment targets: Heroku and Docker
• Highlights up to 4 GB upload limits, modular UI, premium account support