Discover and explore top open-source AI tools and projects—updated daily.
devgaganinTelegram bot for extracting restricted content
Top 69.7% on SourcePulse
This Telegram bot, built with Pyrogram V2, extracts and forwards content from public and private channels/groups, including restricted messages and files up to 4GB. It targets users needing to save or redistribute content from Telegram, offering features like custom thumbnails, filename/caption manipulation, and YouTube/social media downloading.
How It Works
The bot leverages Pyrogram V2 for enhanced stability and session-based login. It supports direct content extraction via message links or by processing forwarded messages. For large file uploads (up to 4GB), it requires a premium account session string. It integrates with ytdlp for downloading from various sites and includes optional monetization via link shorteners.
Quick Start & Requirements
ffmpeg, git, python3-pip), Heroku, Render, or Koyeb.API_ID, API_HASH, BOT_TOKEN, OWNER_ID, CHANNEL_ID (for forced subscription), LOG_GROUP, MONGO_DB (recommended). Optional: STRING for 4GB uploads, YT_COOKIES, INSTA_COOKIES.Highlighted Details
ytdlp.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The bot requires significant configuration of Telegram API credentials and potentially MongoDB. While it supports 4GB uploads, this feature is gated behind providing a premium session string. Monetization features require additional setup with third-party link shortener services.
5 months ago
1 day
mistralai