Git Product home page Git Product logo

torrentbotwebsite's Introduction

What is this repo?

This is a repo to create a website that uses aria2 to mirror files from the internet or torrents into Google Drive. This can be deployed onto a personal server using Docker or on Heroku.

Features supported:

  • Mirroring direct download links to Google Drive
  • Mirroring torrent magnet links to Google Drive
  • Mirroring downloads into a Team Drive
  • Download/upload speeds and ETAs

Disclaimer

Tutorial

Rclone.conf setup

  • Setup Rclone by following these instructions: https://rclone.org/docs/
  • After you're done with the setup 'rclone.conf' will be created in C:\Users\USERNAME.config\rclone
  • Open 'rclone.conf' there should be text inside looking like this
[Drive Name]
type = drive
client_id = 1234567890qwertyuiopasdfghj.apps.googleusercontent.com
client_secret = qwert_yuiopasdfghjlzxcvb
scope = drive
token = {"access_token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","token_type":"Bearer","refresh_token":"1//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx","expiry":"2020-02-0123:01:01.12345678+01:00"}
team_drive = 12A_345rSFJDIWD
  • Copy from type = ... to ... token = ... or team_drive = ... if you used a Team Drive in the Rclone setup
  • From the above copied items change each line break to \n
  • Save this text somewhere

Deploying

  • Click the 'Deploy to Heroku' button below
  • In ARIA2C_SECRET put any text (make sure to save the text for later)
  • In HEROKU_APP_NAME put the name of your Heroku app, it will be above on the same page
  • In RCLONE_CONFIG paste the saved text you made from the 'Rclone.conf setup' part of this tutorial
  • In RCLONE_DESTINATION set a path you want to store your downloaded files. It should have a / before it. So it should look something like this: /NameOfFolder

Deploy

Setting up the app

  • After the app has been deployed open this link: http://APPNAME.herokuapp.com/ make sure to use http NOT https
  • The page should ask you for your aria2 secret, you made it above, input it
  • Then click 'Go to AriaNG panel'
  • A popup should come saying your app is connected, if not you did something wrong

torrentbotwebsite's People

Contributors

eliasbenb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.