Skip to content

si-nn-er-ls/GdriveUploaderbot

 
 

Repository files navigation

made-with-python Open Source Love svg1

Google Drive Uploader Bot

It Was my first Python Project And behind this Whole credit goes To CyberBoySumanjay

Inspired By Sumanjay Bot :D Google Drive Uploader

Here Is Live Version Of Bot: GDrive Uploader

Update (12 Nov 2020)

  • Teamdrive Support added

Teamdrive is not for users You have to hardcode it , Wait for V2 bot This Bot don't have active development I will add User Specfic Teamdrive option

How can You Add Teamdrive

  • Replace TEAMDRIVE_FOLDER_ID and TEAMDRIVE_ID in creds.py

What Is this ?

  A Telegram Bot Written In Python 

what can it do ?

It Can Upload Your Direct and Supported links into Google Drive.

Installation

The Easiest Way🦁

Deploy

Install Module

  sudo pip3 install -r requirements.txt

Run This bot

python3 bot.py

How Can We use It

  • First authorise Bot Using /auth command Generate a Key and send it To bot .
  • Now You can Send Supported Link To Bot.

Avalible Commands

  • /start = Start Message
  • /auth = Authorise You
  • /revoke = Delete Your Saved credential
  • /help = help Text

Supported Links :

  • Direct Link
  • Mega.nz Link
  • openload link (not avalibe anymore)
  • Dropbox Link

Requirements

  • Google Drive api Credential (Others type) Required
  • Telegram Bot Token (Using BotFather) Required
  • Openload ftp login and Key optional
  • Mega Email and Password Optional

If You wanna Change Openload Api and Mega Email Password You Can Change it From Given Path

  • Mega => Plugins > TEXT.py
  • Openload => Plugins > dlopenload.py

Setup Your Own Bot

1. Create Your  [Google Drive api Credential](https://console.cloud.google.com/apis/credentials) (other type) and Download  Its json

2. Paste it In Bot Root Directroy  and Rename it "client_secrets.json"

3. Replace Your Bot Token in  [creds.py file](./creds.py)

4. Your Bot is Ready to Host. 

You Can Use Heroku To host It.

Make sure You have Changed Your Bot Token and google client api Before Hosting It

My Hidden Thanks To ❤️

TODO

  • Rename file while uploading
  • Adding Telegram File Support [ slow Download :( ]
  • Add Youtube-dl
  • Fix openload support
  • Adding zippyshare , Mediafire , cloud mail , Yandex disk ,Sourceforge {these are already written In PPE plugin you can use these from there}
  • Google Drive Direct Link Generator

Licence

  • GPLv3

About

Telegram bot To upload Files To Google Drive Remotely

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%