for support join here TorrentLeech-Gdrive

May 23, 2021 · View on GitHub

working example group Leech Here

🤖Telegram Torrent and Direct links Leecher 🔥

Dont Abuse The Repo ... this is intented to run in Small Places or For Short time 😐

Benefits :-

✓ Google Drive link cloning using gclone.(wip)
✓ Telegram File mirrorring to cloud along with its unzipping, unrar and untar
✓ Drive/Teamdrive support/All other cloud services rclone.org supports
✓ Unzip
✓ Unrar
✓ Untar
✓ Custom file name
✓ Custom commands
✓ Get total size of your working cloud directory
✓ You can also upload files downloaded from /ytdl command to gdrive using `/ytdl gdrive` command.
✓ You can also deploy this on your VPS
✓ Option to select either video will be uploaded as document or streamable
✓ Added /renewme command to clear the downloads which are not deleted automatically.
✓ Added support for youtube playlist 😐
✓ Renaming of Telegram files support added. 😐
✓ Changing rclone destination config on fly (By using `/rlcone` in private mode)

TO-DO

  • Gdrive file clonning using Gclone DONE ✓
  • Adding mp3 files support while playlist downloading.
  • Password support while Unarchiving the files.
  • Selection of required files during leeching the big files using aria(/leech command)

Deploying


How to deploy and Install ?!NameTypeLowest-Price PlanDeploy
🖥VPSVirtual Private ServerVPSgoogle itsee guide
HerokuHerokuContainerFree, 1 CPU, 512 MB RAM,375gb Storagesee guide

Variable Explanations


🔴Required Environmental Variables... MUST BE GIVEN....

VariableValueExampleRequiredDescription
HEROKU_EMAILHeroku emailabc@abc.comTrueJust Give the email you used for Heroku Account
HEROKU_API_KEYHeroku API keyxxxxxxx-xxxx-xxxx-xxxx-xxxxxxTrueGet it from Heroku
HEROKU_APP_NAMEHeroku app nameName Must be uniqueTrueHeroku app name that needs to be Updated or Created (Should be in lowercase)
TG_BOT_TOKENTelegram Bot Tokenyour telegram bot api key/tokenTrueCreate a bot using @BotFather, and get the API token.
APP_IDTelegram APP_IDYour TG account's APP_IDTrueGet this value from TELEGRAM.
API_HASHTelegram API_HASHYour TG account's API_HASHTrueGet this value from TELEGRAM.
OWNER_IDTG account's IDYour TG account's IDTrueID of the bot owner, He/she can be abled to access bot in bot only mode too(private mode).
AUTH_CHANNELSAuthorized ChatsYour Group Chats IDTrueCreate a Super Group in Telegram, add @missrose_bot to the group, and send /id in the chat, to get this value.

For A List Of Non-Mandatory Variables..Click Here..


Available Commands

  • /rclone: This will change your drive config on fly.(First one will be default)

  • /gclone: This command is used to clone gdrive files or folder using gclone.

     Syntax:- `[ID of the file or folder][one space][name of your folder only(If the id is of file, don't put anything)]` and then reply /gclone to it.
     
    
  • /log: This will send you a txt file of the logs.

  • /ytdl: This command should be used as reply to a supported link

  • /pytdl: This command will download videos from youtube playlist link and will upload to telegram.

  • /gytdl: This will download and upload to your cloud.

  • /gpytdl: This download youtube playlist and upload to your cloud.

  • /leech: This command should be used as reply to a magnetic link, a torrent link, or a direct link. [this command will SPAM the chat and send the downloads a seperate files, if there is more than one file, in the specified torrent]

  • /leechzip: This command should be used as reply to a magnetic link, a torrent link, or a direct link. [This command will create a .tar.gz file of the output directory, and send the files in the chat, splited into PARTS of 1024MiB each, due to Telegram limitations]

  • /gleech: This command should be used as reply to a magnetic link, a torrent link, or a direct link. And this will download the files from the given link or torrent and will upload to the cloud using rclone.

  • /gleechzip This command will compress the folder/file and will upload to your cloud.

  • /leechunzip: This will unarchive file and dupload to telegram.

  • /gleechunzip: This will unarchive file and upload to cloud.

  • /tleech: This will mirror the telegram files to ur respective cloud cloud.

  • /tleechunzip: This will unarchive telegram file and upload to cloud.

  • /getsize: This will give you total size of your destination folder in cloud.

  • /renewme: This will clear the remains of downloads which are not getting deleted after upload of the file or after /cancel command.

  • /rename: To rename the telegram files.

  • Only work with direct link and youtube link for nowIt is like u can add custom name as prefix of the original file name. Like if your file name is gk.txt uploaded will be what u add in CUSTOM_FILE_NAME + gk.txt

Only works with direct link/youtube link.No magnet or torrent.

And also added custom name like...

You have to pass link as www.download.me/gk.txt | new.txt

the file will be uploaded as new.txt.

How to Use?

send any one of the available command, as a reply to a valid link/magnet/torrent. 👊

Credits, and Thanks to