Skip to content

Danushka96/drive-torrent

 
 

Repository files navigation

Drive torrent

Simple torrent client to download torrents into Google Drive. Also we maintain a Drive link library for easy to download torrent.

Demo: Drive-torrent.tk:3000

Inspired by cloud-torrent

Getting Started

Drive torrent is written in Go1.10.4 and Vue On top of anacrolix/torrent.These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Installation

Go server

Download Dependancy

go get github.com/ppkavinda/drive-torrent

go run main.go

Test it , Login to http://localhost:3000 from a web browser

Vue Pages

open static/config/firebase.sample.config and add your firebase project credentials

Change the directory and install dependancies

cd front
npm install
npm run dev

Sync YTS Films torrent Database to firebase

save your firebase service.json in syncer directory

open syncer/server.js and paste your Database url and add how many pages you need to feed to your database

next install dependancies and run the script

cd syncer
npm install
node server.js

Firebase Functions

With firebase functions we sync our film Database to Algolia to proper indexing.

For a getting start with Cloud Functions follow this guide

cd functions
npm install -g firebase-tools
firebase login
npm install
firebase deploy

Deployment

You can easiely deploy with docker image

docker build
docker run drive-torrent

Authors

PRs are welcome

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.5%
  • CSS 4.0%
  • Go 1.4%
  • Vue 1.1%
  • HTML 0.0%
  • Dockerfile 0.0%