EmersonDove / drivedantic

A data hoarder's dream. High quality and tightly synced downloads from google drive to a local hard drive.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use

  1. Create an oauth app on google cloud console (APIs & Services tab -> Credentials -> Create Credentails (you want it underneath OAuth 2.0 Client IDs). Basically you should end up with a json thats like client_secret_xxxxxxxxxxxxxxxx(bunch of stuff).apps.googleusercontent.com.json
  2. Script will ask you to open a url, open that url and log in with the account you want. idk how to host a server in go, so when it redirects, the url will look something like http://localhost/?state=state-token&code=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&scope=https://www.googleapis.com/auth/drive.readonly
  3. Copy everything after code= and &, so here that's xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  4. Paste that into terminal

About

A data hoarder's dream. High quality and tightly synced downloads from google drive to a local hard drive.

License:GNU Lesser General Public License v3.0


Languages

Language:Python 67.0%Language:Go 33.0%