Skip to content

4amparaboy/GdriveSearcherBot

 
 

Repository files navigation

GdriveSearcherBot

Google Drive Searcher Bot Written In Python Using Pyrogram.

Python

Installation

Getting Google OAuth API credential file
  • Visit the Google Cloud Console
  • Go to the OAuth Consent tab, fill it, and save.
  • Go to the Credentials tab and click Create Credentials -> OAuth Client ID
  • Choose Desktop and Create.
  • Use the download button to download your credentials.
  • Move that file to the root of this bot, and rename it to credentials.json
  • Visit Google API page
  • Search for Drive and enable it if it is disabled
  • Run these commands
$ pip3 install -U pip
$ pip3 install -U -r requirements.txt
$ python3 generate_drive_token.py
$ cp sample_config.py config.py
  • Edit config.py with your own values
  • Run $ python3 main.py to start the bot.

Docker Installation

$ git clone https://github.com/thehamkercat/GdriveSearcherBot
$ cd GdriveSearcherBot
$ sudo docker build . -t GdriveSearcherBot
$ sudo docker run GdriveSearcherBot

Credits

@SVR666 For Drive module.

Notes

About

Google Drive Searcher Bot Written In Python Using Pyrogram.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.7%
  • Dockerfile 3.3%