Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pawanpaudel93/torrent2gdrive
Torrent2GDrive for downloading Torrents to GoogleDrive made using NodeJS and VueJS.
https://github.com/pawanpaudel93/torrent2gdrive
Last synced: about 1 month ago
JSON representation
Torrent2GDrive for downloading Torrents to GoogleDrive made using NodeJS and VueJS.
- Host: GitHub
- URL: https://github.com/pawanpaudel93/torrent2gdrive
- Owner: pawanpaudel93
- License: mit
- Created: 2019-11-20T05:54:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-22T13:18:47.000Z (about 2 years ago)
- Last Synced: 2023-03-03T15:12:39.170Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 527 KB
- Stars: 61
- Watchers: 4
- Forks: 68
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://console.developers.google.com) 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!)
```bash
npm run local-build
```
- Then to run the app write write:
```bash
npm run start
```
- So if you update the app code and to build and start the app write:
```bash
npm run build
npm run start
```### Deploy to Heroku
> :warning: **DON'T DEPLOY HEROKU NOW. DEPLOYING OF THIS APP MAY SUSPEND YOUR ACCOUNT.**
- Goto [Google Developer Console](https://console.developers.google.com) and create OAuth credentials.
- Deploy to Heroku> [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/pawanpaudel93/Torrent2GDrive)
- 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.