#Orginal Repository: https://github.com/gautamajay52/TorrentLeech-Gdrive
#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)
#Mandatory Variables
TG_BOT_TOKEN: Create a bot using @BotFather, and get the Telegram API token.APP_IDAPI_HASH: Get these two values from my.telegram.org/apps.- N.B.: if Telegram is blocked by your ISP, try our Telegram bot to get the IDs.
AUTH_CHANNEL: Create a Super Group in Telegram, add@GoogleIMGBotto the group, and send /id in the chat, to get this value.OWNER_ID: ID of the bot owner, He/she can be abled to access bot in bot only mode too(private mode).
#Optional Configuration Variables
DOWNLOAD_LOCATIONMAX_FILE_SIZETG_MAX_FILE_SIZEFREE_USER_MAX_FILE_SIZEMAX_TG_SPLIT_FILE_SIZECHUNK_SIZEMAX_MESSAGE_LENGTHPROCESS_MAX_TIMEOUTARIA_TWO_STARTED_PORTEDIT_SLEEP_TIME_OUTMAX_TIME_TO_WAIT_FOR_TORRENTS_TO_STARTFINISHED_PROGRESS_STRUN_FINISHED_PROGRESS_STRTG_OFFENSIVE_APICUSTOM_FILE_NAMELEECH_COMMANDYTDL_COMMANDGYTDL_COMMANDGLEECH_COMMANDTELEGRAM_LEECH_COMMANDTELEGRAM_LEECH_UNZIP_COMMANDPYTDL_COMMANDCLONE_COMMAND_GUPLOAD_COMMANDRENEWME_COMMANDSAVE_THUMBNAILCLEAR_THUMBNAILGET_SIZE_GUPLOAD_AS_DOC: Takes two option True or False. If True file will be uploaded as document. This is for people who wants video files as document instead of streamable.INDEX_LINK: (Without/at last of the link, otherwise u will get error) During creating index, plz fillDefault Root IDwith the id of yourDESTINATION_FOLDERafter creating. Otherwise index will not work properly.DESTINATION_FOLDER: Name of your folder in ur respective drive where you want to upload the files using the bot.
#Default Command (if you not put Optional vars in Heroku)
➢ /leech
➢ /ytdl
➢ /extract
➢ /savethumbnail
➢ /deletethumbnail
➢ /playlist
➢ /archive
➢ /togglefile
➢ /togglevideo
➢ /rename
➢ /renewme
➢ /gleech
➢ /gpytdl
➢ /gleech_archive
➢ /gleech_extract
➢ /gclone
➢ /cancel
➢ /status
#Deploy Deploy on Heroku: https://heroku.com/deploy?template=https://github.com/Brirringo/u2
#Credits
- GautamKumar 😬
- SpEcHiDe for his wonderful code😚
- Rclone Team for theirs awesome tool☁️
- Dan Tès for his Pyrogram Library
- Robots for their @UploadBot
- @AjeeshNair for his torrent.ajee.sh
- @gotstc, @aryanvikash, @HasibulKabir for their TORRENT groups