โ 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 GcloneDONE โ
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)
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
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.
๐