SkillAgentSearch skills...

GdriveSearcherBot

Google Drive Searcher Bot Written In Python Using Pyrogram.

Install / Use

/learn @TheHamkerCat/GdriveSearcherBot

README

GdriveSearcherBot

Google Drive Searcher Bot Written In Python Using Pyrogram.

Python

<img src="https://i.imgur.com/MxrswfJ.png" width="370" align="right">

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

Related Skills

View on GitHub
GitHub Stars61
CategoryDevelopment
Updated6mo ago
Forks87

Languages

Python

Security Score

92/100

Audited on Sep 7, 2025

No findings