Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nuzair46/torrent2mega
A simple docker to torrent within Heroku to transfer the files to your Mega drive.
https://github.com/nuzair46/torrent2mega
docker docker-compose heroku libtorrent mega megadrive torrent-client torrent-downloader torrent2mega torrenttomega
Last synced: 14 days ago
JSON representation
A simple docker to torrent within Heroku to transfer the files to your Mega drive.
- Host: GitHub
- URL: https://github.com/nuzair46/torrent2mega
- Owner: Nuzair46
- License: mit
- Created: 2021-05-21T11:34:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-21T15:10:54.000Z (over 3 years ago)
- Last Synced: 2024-12-28T20:45:52.105Z (25 days ago)
- Topics: docker, docker-compose, heroku, libtorrent, mega, megadrive, torrent-client, torrent-downloader, torrent2mega, torrenttomega
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 12
- Watchers: 2
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.