/Google-Drive-Uploader

Telegram bot To upload Files To Google Drive Remotely.

Primary LanguagePython

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 Gdriveupme_bot

What Is this ?

  A Telegram Bot Written In Python 

what can it do ?

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

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 (disabled)
  • 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 (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

  4. Your Bot is Ready to Host.

You Can Use Heroku To host It.

Get the bot token by sending /newbot to @BotFather and follow the on screen prompt.

Deploy

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