Download torrents to your Google Drive directly
- Register this project as a client on the Google API Console
- Enable the People API and Google Drive API from the Google API Console.
- Add
http://localhost
as an "Authorised JavaScript origin" andhttp://localhost/login-callback
as an "Authorised redirect URI" in the Google API Console. Replacelocalhost
with your host origin if you are running the project on a remote server. - Replace the fields in
data/driveCredentials.json
with your registeredclientId
andclientSecret
. - If you are running the project on a remote server, set the environmental variable
DRIVE_REDIRECT_URI=[insert your host origin here]/login-callback
. - Run
npm start
. Enjoy!