GDUPLOAD_BOT2
GDUPLOAD_BOT2 copied to clipboard
Gdriver Upload Bot(Team Drive supported)
Google Drive Uploader Telegram Bot
A Telegram bot to upload files from Telegram or Direct links to Google Drive.
- Find it on Telegram as Google Drive Uploader
Features
- [X] Telegram files support.
- [X] Direct Links support.
- [X] Custom Upload Folder.
- [X] TeamDrive Support.
- [X] Clone/Copy Google Drive Files.
- [X] Delete Google Drive Files.
- [X] Empty Google Drive trash.
- [X] YouTube-DL Support.
- [X] Docker Supported
- [X] FB-dl Supported
- [X] Anonfiles Supported
- [X] LK21 Supported
- [X] Solidfiles Supported
- [X] Mediafire Supported
- [X] Zippy Supported...
How To Deploy Video Tutorial:
Deploying
Deploy on Heroku
Deploy on Railway
Deploy on Qovery
Installation
- Install required modules.
apt install -y git python3 ffmpeg
- Clone this git repository.
git clone https://github.com/kjeymax/GDUPLOAD_BOT2
- Change Directory
cd GDUPLOAD_BOT2
- Install requirements with pip3
pip3 install -r requirements.txt
Configuration
There are two Ways for configuring this bot.
- Add values to Environment Variables. And add a
ENV
var to Anything to enable it. - Add values in config.py. And make sure that no
ENV
environment variables existing.
Configuration Values
-
BOT_TOKEN
- Get it by contacting to BotFather -
APP_ID
- Get it by creating app on my.telegram.org -
API_HASH
- Get it by creating app on my.telegram.org -
SUDO_USERS
- List of Telegram User ID of sudo users, seperated by space. -
DATABASE_URL
- Postgres database url. -
DOWNLOAD_DIRECTORY
- Custom path for downloads. Must end with a forward/
slash. (Default to./downloads/
)
Deploy
python3 -m bot
COMMANDS FOR THE BOT TO BE USED-
- start - useless command
- help - How to use me
- auth - Authorizing GDrive Account
- setfolder - Set Custom Upload Folder
- copy - Copy GDrive Files
- revoke - Revoke GDrive Account
- del - Delete GDrive Files
Credits
- Dan for creating PyroGram
- Spechide for gDriveDB.py
- Shivam Jha for Clone Feature from python-aria-mirror-bot
Copyright & License
- Copyright (©) 2021 by Adnan Ahmad
- Licensed under the terms of the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007