An open API service indexing awesome lists of open source software.

https://github.com/MaxxRider/Leech-Pro

This is a Telegram Leech / Mirror Bot . Based on Python . ๐Ÿ‘‰support of uploading files and foder to gdrive or any drive rclone.org support. Like onedrive, mega and so on. Now supports Unzip, unrar, untar too.
https://github.com/MaxxRider/Leech-Pro

Last synced: about 13 hours ago
JSON representation

This is a Telegram Leech / Mirror Bot . Based on Python . ๐Ÿ‘‰support of uploading files and foder to gdrive or any drive rclone.org support. Like onedrive, mega and so on. Now supports Unzip, unrar, untar too.

Awesome Lists containing this project

README

        

![MAXX LEECH V2](https://telegra.ph/file/af8f0596124714a17e4e2.png)

## ๐Ÿ‘‰ [Orginal Repository](https://github.com/gautamajay52/TorrentLeech-Gdrive)

![Maxx](https://telegra.ph/file/d18fa7fa33f26f733adb9.png)

## **Don't Kill Heroku please โ˜น๏ธ**

[![MAXX LEECH](https://telegra.ph/file/29d788a656dd517eafd0a.png)](https://telegram.dog/MaxxBots)

# 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)
โœ“

[![Maxx](https://telegra.ph/file/f3f3b950c2904756bb201.png)](https://t.me/MaxxRiderz) ๐Ÿ‘‡

##### Mandatory Variables

* `TG_BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token.

* `APP_ID`
* `API_HASH`: Get these two values from [my.telegram.org/apps](https://my.telegram.org/apps).
* N.B.: if Telegram is blocked by your ISP, try our [Telegram bot](https://telegram.dog/UseTGXBot) to get the IDs.

* `AUTH_CHANNEL`: Create a Super Group in Telegram, add `@GoogleIMGBot` to 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).

[![Maxx](https://telegra.ph/file/7e3a50f29f871defe0bcb.png)](https://t.me/MaxxBots)

##### Optional Configuration Variables

* `DOWNLOAD_LOCATION`

* `MAX_FILE_SIZE`

* `TG_MAX_FILE_SIZE`

* `FREE_USER_MAX_FILE_SIZE`

* `MAX_TG_SPLIT_FILE_SIZE`

* `CHUNK_SIZE`

* `MAX_MESSAGE_LENGTH`

* `PROCESS_MAX_TIMEOUT`

* `ARIA_TWO_STARTED_PORT`

* `EDIT_SLEEP_TIME_OUT`

* `MAX_TIME_TO_WAIT_FOR_TORRENTS_TO_START`

* `FINISHED_PROGRESS_STR`

* `UN_FINISHED_PROGRESS_STR`

* `TG_OFFENSIVE_API`

* `CUSTOM_FILE_NAME`

* `LEECH_COMMAND`

* `YTDL_COMMAND`

* `GYTDL_COMMAND`

* `GLEECH_COMMAND`

* `TELEGRAM_LEECH_COMMAND`

* `TELEGRAM_LEECH_UNZIP_COMMAND`

* `PYTDL_COMMAND`

* `CLONE_COMMAND_G`

* `UPLOAD_COMMAND`

* `RENEWME_COMMAND`

* `SAVE_THUMBNAIL`

* `CLEAR_THUMBNAIL`

* `GET_SIZE_G`

* `UPLOAD_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 fill `Default Root ID` with the id of your `DESTINATION_FOLDER` after 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`

[![Maxx](https://telegra.ph/file/3066ec5102c94b8135e09.png)](https://t.me/MaxxBotChat)

๐Ÿ”ด Currently Support HEORKO . But not permanent โ˜น๏ธ๐Ÿคง Coz Heroku won't allow Torrent Things.

## ARE YOU NEW ??? Then READ Full ๐Ÿ‘‰ [Instructions](https://GitHub.com/MaxxRider/About-Leech)

๐Ÿคง Before Deploy ๐—ฃ๐—น๐—ฒ๐—ฎ๐˜€๐—ฒ ๐—›๐—ถ๐˜ ๐—ฆ๐˜๐—ฎ๐—ฟ โ˜… else you are Gay

[![MaxxRider](https://telegra.ph/file/aac59f2f35ee73b63019e.png)](https://telegram.dog/MaxxRiderz)


## CREDITS

- [GautamKumar](https://github.com/gautamajay52/TorrentLeech-Gdrive) ๐Ÿ˜ฌ
- [SpEcHiDe](https://github.com/SpEcHiDe/PublicLeech) for his wonderful code๐Ÿ˜š
- [Rclone Team](https://rclone.org) for theirs awesome toolโ˜๏ธ
- [Dan Tรจs](https://telegram.dog/haskell) for his [Pyrogram Library](https://github.com/pyrogram/pyrogram)
- [Robots](https://telegram.dog/Robots) for their [@UploadBot](https://telegram.dog/UploadBot)
- [@AjeeshNair](https://telegram.dog/AjeeshNait) for his [torrent.ajee.sh](https://torrent.ajee.sh)
- [@gotstc](https://telegram.dog/gotstc), @aryanvikash, [@HasibulKabir](https://telegram.dog/HasibulKabir) for their TORRENT groups