MaxxRider / gdrive-telegram-bot

A Google Drive Telegram Bot for managing, cloning files, uploading files on Google Drive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Drive Uploader Telegram Bot

A Telegram bot to upload files from Telegram or Direct links to Google Drive.

Features

  • Telegram files support.
  • Direct Links support.
  • Custom Upload Folder.
  • TeamDrive Support.
  • Clone/Copy Google Drive Files.

ToDo

  • Handle more exceptions.
  • LOGGER support.
  • Service account support.
  • Delete Google Drive Files.
  • Empty Google Drive trash.

Deploy on Heroku

Deploy

  • Note: Bot is in beta stage. Maybe throw some errors.

Deploying

Installation

  • Clone this git repository.
git clone https://github.com/viperadnan-git/gdrive-telegram-bot
  • Change Directory
cd gdrive-telegram-bot
  • Install requirements with pip3
pip3 install -r requirements.txt

Configuration

There are two Ways for configuring this bot.

  • Add values to Environment Variables
  • Add values in config.py

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.
  • SUPPORT_CHAT_LINK - Telegram invite link of support chat.

Deploy

python3 -m bot

Credits

Copyright & License

About

A Google Drive Telegram Bot for managing, cloning files, uploading files on Google Drive

License:GNU General Public License v3.0


Languages

Language:Python 100.0%