Giter Club home page Giter Club logo

torrent2mega's Introduction

Torrent2mega


  • A simple docker to transfer torrents to your Mega drive. Can be run on Heroku.

Purpose?


  • This tool is aimed to utilize the high speed of a VPS to download really slow torrents to you Mega drive.

Setup


  • Fork this repo.

  • Need to set Env variables:

    • EMAIL: "your_mega_email_id"
    • PASS: "your_mega_password"
    • MAGNET: "magnet_uri"
  • Above variable can be set in heroku config vars. Don't use "quotes".

  • To run the docker on a VPS:

    • Fill the .env given. Don't use "quotes".
    • sudo docker build --no-cache -t torrent2mega .
    • sudo docker run --env-file .env -it torrent2mega
  • On Heroku, make sure to kill the Dyno after the download is complete, because Heroku will relaunch the code and may lead to overwriting in Mega.

  • When using on Heroku, Make sure to deploy the repo everytime rather than just starting the Dyno, this will delete any previously downloaded cache.

  • When on a VPS, rebulding from the above command is the best option as it will clear previous caches.

Notes and ToDo.


  • On Heroku, the tool may look like its not doing anything. Please wait until the download completes and then you will see all the logs.

  • I wanted the code to directly save contents to the mega drive rather than download and upload, But due to the limitations of finding something for Mega to mount the drives, I could not do it.

    • You're most welcome if you can add this feature.
  • I tried Alpine image but it creates some issue with pip, so I discarded it.

  • This is like in a beta stage for now. It may have issues. If you find any, submit an issue.

torrent2mega's People

Contributors

nuzair46 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.