SkillAgentSearch skills...

Mirror Leech Telegram Bot

Official Repository: Telegram bot which can download direct links, torrents, nzb, google drive, telegram document, any file/folder from rclone supported clouds, all yt-dlp supported sites and jdownloader supported sites, then upload them to google drive, telegram cloud or to one of rclone supported clouds

Install / Use

npx skills add anasty17/mirror-leech-telegram-bot

Installs into whichever agent you are using.

README

This Telegram Bot, based on python-aria-mirror-bot, has undergone substantial modifications and is designed for efficiently mirroring or leeching files from the Internet to various destinations, including Google Drive, Telegram, or any rclone-supported cloud. It is built using asynchronous programming in Python.

  • TELEGRAM CHANNEL: https://t.me/mltb_official_channel
  • TELEGRAM GROUP: https://t.me/mltb_official_support
<details> <summary><h1>Features</h1></summary> <details> <summary><h5>QBittorrent</h5></summary>
  • External access to webui, so you can remove files or edit settings. Then you can sync settings in database with sync button in bsetting
  • Select files from a Torrent before and during download using mltb file selector (Requires Base URL) (task option)
  • Seed torrents to a specific ratio and time (task option)
  • Edit Global Options while the bot is running from bot settings (global option)
</details> <details> <summary><h5>Aria2c</h5></summary>
  • Select files from a Torrent before and during download (Requires Base URL) (task option)
  • Seed torrents to a specific ratio and time (task option)
  • Netrc support (global option)
  • Direct link authentication for a specific link while using the bot (it will work even if only the username or password is provided) (task option)
  • Edit Global Options while the bot is running from bot settings (global option)
</details> <details> <summary><h5>Sabnzbd</h5></summary>
  • External access to web interface, so you can remove files or edit settings. Then you can sync settings in database with sync button in bsetting
  • Remove files from job before and during download using mltb file selector (Requires Base URL) (task option)
  • Edit Global Options while the bot is running from bot settings (global option)
  • Servers menu to edit/add/remove usenet servers
</details> <details> <summary><h5>TG Upload/Download</h5></summary>
  • Split size (global, user, and task option)
  • Thumbnail (user and task option)
  • Leech filename prefix (user option)
  • Set upload as a document or as media (global, user and task option)
  • Upload all files to a specific chat (superGroup/channel/private/topic) (global, user, and task option)
  • Equal split size settings (global and user option)
  • Ability to leech split file parts in a media group (global and user option)
  • Download restricted messages (document or link) by tg private/public/super links (task option)
  • Choose transfer by bot or user session in case you have a premium plan (global, user option and task option)
  • Mix upload between user and bot session with respect to file size (global, user option and task option)
  • Upload with custom layout multiple thumbnail (global, user option and task option)
  • Topics support
</details> <details> <summary><h5>Google Drive</h5></summary>
  • Download/Upload/Clone/Delete/Count from/to Google Drive
  • Count Google Drive files/folders
  • Search in multiple Drive folder/TeamDrive
  • Use Token.pickle if the file is not found with a Service Account, for all Gdrive functions
  • Random Service Account for each task
  • Recursive Search (only with root or TeamDrive ID, folder ids will be listed with a non-recursive method). Based on Sreeraj searchX-bot. (task option)
  • Stop Duplicates (global and user option)
  • Custom upload destination (global, user, and task option)
  • Ability to choose token.pickle or service account and upload destinations from list with or without buttons (global, user and task option)
  • Index link support only for Bhadoo
</details> <details> <summary><h5>Rclone</h5></summary>
  • Transfer (download/upload/clone-server-side) without or with random service accounts (global and user option)
  • Ability to choose config, remote and path from list with or without buttons (global, user and task option)
  • Ability to set flags for each task or globally from config (global, user and task option)
  • Ability to select specific files or folders to download/copy using buttons (task option)
  • Rclone.conf (global and user option)
  • Rclone serve for combine remote to use it as index from all remotes (global option)
  • Upload destination (global, user and task option)
</details> <details> <summary><h5>Status</h5></summary>
  • Download/Upload/Extract/Archive/Seed/Clone Status
  • Status Pages for an unlimited number of tasks, view a specific number of tasks in a message (global option)
  • Interval message update (global option)
  • Next/Previous buttons to get different pages (global and user option)
  • Status buttons to get specific tasks for the chosen status regarding transfer type if the number of tasks is more than 30 (global and user option)
  • Steps buttons for how much next/previous buttons should step backward/forward (global and user option)
  • Status for each user (no auto refresh)
</details> <details> <summary><h5>Yt-dlp</h5></summary>
  • Yt-dlp quality buttons (task option)
  • Ability to use a specific yt-dlp option (global, user, and task option)
  • Netrc support (global option)
  • Cookies support (global option)
  • Embed the original thumbnail and add it for leech
  • All supported audio formats
</details> <details> <summary><h5>Gallery-dl</h5></summary>
  • Mirror and leech from gallery-dl supported sites
  • Supports custom gallery-dl options globally, per user, and per task
  • Supports cookies and config files for authenticated or advanced downloads
</details> <details> <summary><h5>JDownloader</h5></summary>
  • Synchronize Settings (global option)
  • Waiting to select (enable/disable files or change variants) before download start
  • DLC file support
  • All settings can be edited from the remote access to your JDownloader with Web Interface, Android App, iPhone App or Browser Extensions
</details> <details> <summary><h5>Mongo Database</h5></summary>
  • Store bot settings
  • Store user settings including thumbnails and all private files
  • Store RSS data
  • Store incomplete task messages
  • Store JDownloader settings
  • Store config.py file on first build and in case any change occurred to it, then next build it will define variables from config.py instead of database
</details> <details> <summary><h5>Torrents Search</h5></summary>
  • Search on torrents with Torrent Search API
  • Search on torrents with variable plugins using qBittorrent search engine
</details> <details> <summary><h5>Archives</h5></summary>
  • Extract splits with or without password
  • Zip file/folder with or without password and splits in case of leech
  • Using 7z package to extract with or without password all supported types
</details> <details> <summary><h5>RSS</h5></summary>
  • Based on this repository rss-chan
  • Rss feed (user option)
  • Title Filters (feed option)
  • Edit any feed while running: pause, resume, edit command and edit filters (feed option)
  • Sudo settings to control users feeds
  • All functions have been improved using buttons from one command.
</details> <details> <summary><h5>Overall</h5></summary>
  • Docker image support for linux amd64, arm64/v8, arm/v7
  • Edit variables and overwrite the private files while bot running (bot, user settings)
  • Update bot at startup and with restart command using UPSTREAM_REPO
  • Telegraph. Based on Sreeraj loaderX-bot
  • Mirror/Leech/Watch/Clone/Count/Del by reply
  • Mirror/Leech/Clone multi links/files with one command
  • Custom name for all links except torrents. For files you should add extension except yt-dlp links (global and user option)
  • Exclude files with specific extensions from being uploaded/cloned (global and user option)
  • View Link button. Extra button to open index link in browser instead of direct download for file
  • Queueing System for all tasks (global option)
  • Ability to zip/unzip multi links in same directory. Mostly helpful in unzipping tg file parts (task option)
  • Bulk download from telegram txt file or text message contains links separated by new line (task option)
  • Join split files that were split before by split(linux pkg) (task option)
  • Sample video Generator (task option)
  • Screenshots Generator (task option)
  • Ability to cancel upload/clone/archive/extract/split/queue (task option)
  • Cancel all buttons for choosing specific tasks status to cancel (global option)
  • Convert videos and audios to specific format with filter (task option)
  • Force start to upload or download or both from queue using cmds or args once you add the download (task option)
  • Shell and Executor
  • Add sudo users
  • Ability to save upload paths
  • Name Substitution to rename the files before upload
  • User can select whether he want to use his rclone.conf/token.pickle without adding mt: before path/gd-id
  • FFmpeg commands to execute it after download (task option)
  • Supported Direct links Generators:

mediafire (file/folders), hxfile.co (need cookies txt with name) [hxfile.txt], streamtape.com, streamsb.net, streamhub.ink, streamvid.net, doodstream.com, feurl.com, upload.ee, pixeldrain.com, racaty.net, 1fichier.com, 1drv.ms (Only works for file not folder or business account), filelions.com, streamwish.com, send.cm (file/folders), solidfiles.com, linkbox.to (file/folders), shrdsk.me ( sharedisk.io), akmfiles.com, wetransfer.com, pcloud.link, gofile.io (file/folders), easyupload.io, mdisk.me (with ytdl), tmpsend.com, qiwi.gg, berkasdrive.com, mp4upload.com, terabox.com (videos only file/folders).

</details> </details> <details> <summary><h1>How to deploy?</h1></summary> <details> <summary><h2>Prerequisites</h2></summary> <details> <summary><h5>1. Installing requirements</h5></summary>
  • Clone this repo:
git clone https://github.com/anasty17/mirror-leech-telegram-bot mirrorbot/ && cd mirrorbot
  • For Debian based distros
sudo apt install python3 pyt

Related Skills

View on GitHub
GitHub Stars4.3k
CategoryCustomer
Updated4h ago
Forks5.1k

Languages

Python

Security Score

100/100

Audited on Aug 8, 2026

No findings