A FORKED AND Modded version of TL:GD for ๐Ÿ…ฑ๏ธ3R0K๐Ÿงฒsupport

Overview

TorrentLeechX

for support join here

working example group Leech Here

For Any Issues/Imrovements or Discussions go here or here

Please Leave A star And Fork this Repo and Follow my Github acc....

๐Ÿค– Telegram Torrent and Direct links Leecher ๐Ÿ”ฅ


TorrentLeechX (a modified fork of TorrentLeechGdrive with Extra Features....)

GitHub Repo stars GitHub forks GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub contributors GitHub repo size GitHub commit activity

support group


Dont Abuse The Repo ... this is intented to run in Small Places or For Short time ๐Ÿ˜

A Telegram Torrent , Direct Links (and youtube-dl) Leecher based on Pyrogram

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)

Some Other Features You will Find In this fork :-

โœ“ Aria2 configs In Root
โœ“ Small FIx for Gclone
โœ“ Unzip error Fixed
โœ“ Heroku Workflow Added
โœ“ UI mod Added for Improved User Experience
โœ“ Added Dynamic Config 
โœ“ Added Custom ToggleDoc and ToggleVid Cmd
โœ“ Added Custom Rename Command via vars
โœ“ Added direct rclone.conf url in vars

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 ?! Name Type Lowest-Price Plan Deploy
๐Ÿ–ฅ VPS Virtual Private Server VPS google it see guide
Heroku Heroku Container Free, 1 CPU, 512 MB RAM,375gb Storage see guide

Variable Explanations ๐Ÿ‘‡


๐Ÿ”ด Required Environmental Variables... MUST BE GIVEN....

Variable Value Example Required Description
TG_BOT_TOKEN Telegram Bot Token your telegram bot api key/token True Create a bot using @BotFather, and get the API token.
APP_ID Telegram APP_ID Your TG account's APP_ID True Get this value from TELEGRAM.
API_HASH Telegram API_HASH Your TG account's API_HASH True Get this value from TELEGRAM.
OWNER_ID TG account's ID Your TG account's ID True ID of the bot owner, He/she can be abled to access bot in bot only mode too(private mode).
AUTH_CHANNEL Authorized Chats Your Group Chats ID True Create a Super Group in Telegram, add @missrose_bot to the group, and send /id in the chat, to get this value.

๐ŸŸข Optional Configuration Variables--Not Mandatory

Optional Configuration Variables Descripion
DOWNLOAD_LOCATION dev
MAX_FILE_SIZE useless
TG_MAX_FILE_SIZE max file size limit for Telegram Upload .. value should be in bytes like 2000000000
FREE_USER_MAX_FILE_SIZE useless
MAX_TG_SPLIT_FILE_SIZE max file size limit for Telegram Upload in Splitting.. Like If you send 10gb file it will send in 2gb pieces..value should be in bytes like 2000000000
CHUNK_SIZE dev default value is 128
MAX_MESSAGE_LENGTH dev
PROCESS_MAX_TIMEOUT dev
ARIA_TWO_STARTED_PORT should be an integer. The port on which aria2c daemon must start, and keep listening ..default is port 6800
EDIT_SLEEP_TIME_OUT should be an integer. Number of seconds to wait before editing a message.
MAX_TIME_TO_WAIT_FOR_TORRENTS_TO_START should be an integer. Number of seconds to wait before cancelling a torrent.
FINISHED_PROGRESS_STR change the progress bar
UN_FINISHED_PROGRESS_STR change the progress bar
TG_OFFENSIVE_API dev
CUSTOM_FILE_NAME custom filename for every single files or folders on leeching completion...
LEECH_COMMAND custom command for /leech
YTDL_COMMAND custom command for /ytdl
GYTDL_COMMAND custom command for /gytdl
GLEECH_COMMAND custom command for /gleech
TELEGRAM_LEECH_COMMAND custom command for /tleechzip
TELEGRAM_LEECH_UNZIP_COMMAND custom command for /tleechunzip
PYTDL_COMMAND custom command for /pytdl
CLONE_COMMAND_G custom command for /gclone
UPLOAD_COMMAND custom command for /upload
RENEWME_COMMAND custom command for /renewme
SAVE_THUMBNAIL custom command for /savethumbnail
CLEAR_THUMBNAIL custom command for /clearthumbnail
GET_SIZE_G custom command for /getsize
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.
RENAME_COMMAND Custom Rename Command Which should Be Set Via Vars Default is /rename
TOGGLE_VID Custom Cmd for TOGGLE_DOC default is /togglevid
TOGGLE_DOC Custom Cmd for TOGGLE_DOC default is /toggledoc
RCLONE_COMMAND Custom command for /rclone
LOG_COMMAND Custom command for /log
HELP_COMMAND Custom command for /help
STATUS_COMMAND Custom Command for /status
LOG_COMMAND Custom Command for log
RCLONE_CONF_URL set direct url for rclone.conf

Set Rclone

  1. Set Rclone locally by following the official repo : https://rclone.org/docs/
  2. Get your rclone.conf file. will look like this
[NAME]
type = 
scope =
token =
client_id = 
client_secret = 

2 Copy rclone.conf file in the root directory (Where Dockerfile exists).

3 Your config can contains multiple drive entries.(Default: First one and change using /rclone command)


Available Commands For The BOT

๐Ÿค– Available BOT Commands Usage
/rclone This will change your drive config on fly.(First one will be def /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 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..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.
/toggledoc it used for toggling to be files if shall it be uploaded as doc via direct inchat cmd...any users can now choose if their files will be upload as doc or streamabe...
/togglevid it used for toggling to be files if shall it be uploaded as vid via direct inchat cmd...any users can now choose if their files will be upload as doc or streamabe...
/status show bot stats and concurrent downloads
/savethumbnail save the thumbnail
/clearthumbnail clear the thumbnail
/help send help

END OF Variable Explanations ๐Ÿ‘†


๐Ÿ”ง Commands to be set via Botfather (will only work if you set mentions from custom cmds).

leech - leech any torrent/magnet/direct-download link to Telegram 
leechunzip - This will unarchive file and upload to telegram.
leechzip - leech any torrent/magnet/direct-download link to Telegram and Upload It as .tar.gz acrhive...
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.	
toggledoc - choose whether the file shall be uploaded as doc or not
togglevid - choose whether the file shall be uploaded as streamable or not
savethumbnail - save thumbnail
clearthumbnail - clear thumbnail
tleech - This will mirror the telegram files to ur respective cloud .
tleechunzip - This will unarchive telegram file and upload to cloud.
gclone - This command is used to clone gdrive files or folder using gclone
gytdl - This will download and upload to your cloud.
gpytdl - This download youtube playlist and upload to your cloud.
gleech - leech any torrent/magnet/direct-download link to cloud
gleechzip - leech any torrent/magnet/direct-download link to Cloud and Upload It as .tar.gz acrhive...
gleechunzip - This will unarchive file and upload to cloud.
getsize - This will give you total size of your destination folder in cloud.
rename - rename the file 
help - send help 
status - show bot stats and concurrent downloads
renewme - clear all downloads (admin only)โš ๏ธ
log - This will send you a txt file of the logs.(admin only)โš ๏ธ
rclone - This will change your drive config on fly.(First one will be default)--(admin only)โš ๏ธ

How to Use?

๐Ÿฅณ send any one of the available command, as a reply to a valid link/magnet/torrent. ๐Ÿ‘Š

Credits, and Thanks to

Owner
XcodersHub
๐Ÿ˜†
XcodersHub
A modular dynamical-systems model of Ethereum's validator economics.

CADLabs Ethereum Economic Model A modular dynamical-systems model of Ethereum's validator economics, based on the open-source Python library radCAD, a

CADLabs 104 Jan 03, 2023
This is a simple bot that can be used to upload images to a third-party cloud (image hosting). Currently, only the imgbb.com website supports the bot. I Will do future updates

TGImageHosting This is a simple bot that can be used to upload images to a third party cloud (image hosting). Currently, only the imgbb.com website su

Abhijith N T 0 Dec 26, 2021
AWS Lambda Fast API starter application

AWS Lambda Fast API Fast API starter application compatible with API Gateway and Lambda Function. How to deploy it? Terraform AWS Lambda API is a reus

OBytes 6 Apr 20, 2022
My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA

My solutions to adventofcode.com puzzles. I post videos of me solving the puzzles in real-time at https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41

195 Jan 04, 2023
Scratch2py or S2py is a easy to use, versatile tool to communicate with the Scratch API Based of Scratch2py

Scratch2py Scratch2py or S2py is a easy to use, versatile tool to communicate with the Scratch API Based of Scratch2py Installation Run this command i

2 Jan 13, 2022
A delightful and complete interface to GitHub's amazing API

ghapi A delightful and complete interface to GitHub's amazing API ghapi provides 100% always-updated coverage of the entire GitHub API. Because we aut

fast.ai 428 Jan 08, 2023
Linkvertise-Bypass - Bypass Linkvertise advertisement

Linkvertise-Bypass Bypass Linkvertise advertisement ๐Ÿ“• instructions Copy And Pas

Flex Tools 4 Jun 10, 2022
A battle-tested Django 2.1 project template with configurations for AWS, Heroku, App Engine, and Docker.

For information on how to use this project template, check out the wiki. {{ project_name }} Table of Contents Requirements Local Setup Local Developme

Lionheart Software 64 Jun 15, 2022
Hermes Bytecode Reverse Engineering Tool (Assemble/Disassemble Hermes Bytecode)

hbctool A command-line interface for disassembling and assembling the Hermes Bytecode. Since the React Native team created their own JavaScript engine

Pongsakorn Sommalai 216 Jan 03, 2023
A generative art library for NFT avatar and collectible projects.

Generative NFT Art Introduction The generative-art-nft repository is a library for creating generative art. It was developed for the purpose of creati

Rounak Banik 657 Jan 02, 2023
Um painel de consultas completo, com metodos atualizados.

Meu pix para eu comprar um cafรฉ :D "25ef499b-d184-4aa1-9797-0a294be40d83" Painel-de-Consultas Completo. Feito por JOESTAR-TEAM Painel de consultas Com

Dio brando 10 Nov 19, 2021
twitter bot tha uses tweepy library class to connect to TWITTER API

TWITTER-BOT-tweepy- twitter bot that uses tweepy library class to connect to TWITTER API replies to mentions automatically and follows the tweet.autho

Muziwandile Nkomo 2 Jan 08, 2022
A python library built on the API of the coderHub.sa, which helps you to fetch the challenges and more

coderHub A python library built on the API of the coderHub.sa, which helps you to fetch the challenges and more Installation โ€ข Features โ€ข Usage โ€ข Lice

TheAwiteb 5 Nov 04, 2022
A Telegram bot that add a dynamic caption to musics

Music Channel Manager A Telegram bot that add a dynamic caption to musics Deploy to Heroku What is it ? It manage your music channel. With just adding

13 Oct 18, 2022
Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

Telegram VCVideoPlayBot An Telegram Bot By @ZauteKm To Stream Videos in Telegram Voice Chat. NOTE: Make sure you have started a VoiceChat in your Grou

Zaute 20 Oct 21, 2022
A Discord bot that may save your day by predicting it.

Sage A Discord bot that may save your day by predicting it.

1 Nov 17, 2022
ELiza music is a telegram music bot project, allow you to play music on voice chat group telegram.

โค๏ธ ๐—˜๐—น๐—ถ๐˜‡๐—ฎ ๐— ๐˜‚๐˜€๐—ถ๐—ฐ โค๏ธ Unmaintained. The new repo of @MrsElizaRobot is private. (It is no longer based on this source code. The completely rewrit

Team Eliza 2 Dec 08, 2022
C Y B ฮž R UserBot is a project that simplifies the use of Telegram. All rights reserved.

C Y B ฮž R USฮžRBOT ๐Ÿ‡ฆ๐Ÿ‡ฟ C Y B ฮž R UserBot is a project that simplifies the use of Telegram. All rights reserved. Automatic Setup Android: open Termux p

C Y B ฮž R 0 Sep 20, 2022
Webb-Tracker-Bot - This is a discord bot that displays current progress of the James Webb Space Telescope.

Webb-Tracker-Bot - This is a discord bot that displays current progress of the James Webb Space Telescope.

Copperbotte 1 Jan 05, 2022
A decentralized messaging daemon built on top of the Kademlia routing protocol.

parakeet-message A decentralized messaging daemon built on top of the Kademlia routing protocol. Now that you are done laughing... pictures what is it

Jonathan Abbott 3 Apr 23, 2022