Giter VIP home page Giter VIP logo

gdrivesearcherbot's Introduction

GdriveSearcherBot

Google Drive Searcher Bot Written In Python Using Pyrogram. Moded by @AbirHasan2005.

Deploy to Heroku:

Via Button:

Deploy

Via Heroku CLI:

Install Heroku on Linux:
apt install npm -y
npm i -g heroku
Login to Heroku CLI:
heroku login
heroku create app_name
Push to Heroku

Follow Steps for getting credentials.json file: Here

git clone https://github.com/AbirHasan2005/GdriveSearcherBot
cd GdriveSearcherBot
python3 generate_drive_token.py
git add .
git commit -am "Pushing to Heroku"
heroku git:remote -a app_name
git push heroku

Deploy Locally:

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

Here is video tutorial:

YouTube

  • 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
  • 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:

gdrivesearcherbot's People

Contributors

thehamkercat avatar abirhasan2005 avatar xd003 avatar shivamsn97 avatar todrivevishnu avatar 4amparaboy avatar mrbotdeveloper avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.