Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 2.25 KB

File metadata and controls

60 lines (40 loc) · 2.25 KB

original

Torrent2Drive

A web application to download torrent directly to your Google Drive using Nodejs in backend and Vuejs in frontend.

Features

  • Download Torrent and Upload to Google Drive.
  • Supports Shared google drive.
  • Upload the torrent by zipping.

Installation

Deploy to Local Machine

  • Clone this repo to your local machine using https://github.com/pawanpaudel93/Torrent2GDrive

  • Goto Google Developer Console and create OAuth credentials.

  • Goto Torrent2Drive/Torrent2Drive_server folder and create .env file and view file .env-example for reference and paste the following with OAuth credentials in .env file.

    GOOGLE_CLIENT_ID=paste client id here

    GOOGLE_CLIENT_SECRET=paste client secret here

    SECRET=Torrent2Drive@VueJS

  • Goto Torrent2Drive/Torrent2Drive_frontend folder and create .env file and view file .env-example for reference and paste in .env file

    VUE_APP_BASEURL=http://localhost:3000

  • Goto Torrent2Drive folder and open terminal and write the following command for the project setup: (Make sure npm is installed!)

    npm run local-build
  • Then to run the app write write:

    npm run start
  • So if you update the app code and to build and start the app write:

  npm run build
  npm run start

Deploy to Heroku

⚠️ DON'T DEPLOY HEROKU NOW. DEPLOYING OF THIS APP MAY SUSPEND YOUR ACCOUNT.

  • Goto Google Developer Console and create OAuth credentials.

  • Deploy to Heroku

    Deploy

  • For SECRET paste value Torrent2Drive@VueJS or any custom text. and use OAUTH secret and client ID.

    GOOGLE_CLIENT_ID

    GOOGLE_CLIENT_SECRET

  • Set heroku VUE_APP_BASEURL environment variable to your heroku app URL. I have used https://t0rr3nt2gd.herokuapp.com. So, use your own heroku URL which is appName.herokuapp.com where appName is your App name.