A Telegram bot to upload files from Telegram or Direct links to Google Drive.
- Find it on Telegram as Google Drive Uploader
- Telegram files support.
- Direct Links support.
- Custom Upload Folder.
- TeamDrive Support.
- Clone/Copy Google Drive Files.
- Delete Google Drive Files.
- Empty Google Drive trash.
- youtube-dl support.
- LOGGER support.
- Update | Restart | Log commands
- Handle more exceptions.
- Service account support.
[ ] Update command.
Deploy on Heroku
- Install required modules.
apt install -y git python3 ffmpeg
- Clone this git repository.
git clone https://github.com/oVoIndia/GDrive-Bot
- Change Directory
cd GDrive-Bot
- Install requirements with pip3
pip3 install -r requirements.txt
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.
BOT_TOKEN
- Get it by contacting to BotFatherAPP_ID
- Get it by creating app on my.telegram.orgAPI_HASH
- Get it by creating app on my.telegram.orgSUDO_USERS
- List of Telegram User ID of sudo users, seperated by space.SUPPORT_CHAT
- Telegram invite link of support chat.DATABASE_URL
- Postgres database url.DOWNLOAD_DIRECTORY
- Custom path for downloads. Must end with a forward/
slash. (Default to./downloads/
)
python3 -m bot
- Dan for creating PyroGram
- Spechide for gDriveDB.py
- Shivam Jha for Clone Feature from python-aria-mirror-bot
- Copyright (©) 2021 by oVoIndia
- Licensed under the terms of the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007