{"id":17816390,"url":"https://github.com/nuzair46/torrent2mega","last_synced_at":"2025-09-15T14:30:51.899Z","repository":{"id":149910687,"uuid":"369514449","full_name":"Nuzair46/Torrent2mega","owner":"Nuzair46","description":"A simple docker to torrent within Heroku to transfer the files to your Mega drive.","archived":false,"fork":false,"pushed_at":"2021-05-21T15:10:54.000Z","size":16,"stargazers_count":12,"open_issues_count":0,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T11:51:31.019Z","etag":null,"topics":["docker","docker-compose","heroku","libtorrent","mega","megadrive","torrent-client","torrent-downloader","torrent2mega","torrenttomega"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nuzair46.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-21T11:34:35.000Z","updated_at":"2024-08-14T12:40:42.000Z","dependencies_parsed_at":"2023-04-11T15:29:35.224Z","dependency_job_id":null,"html_url":"https://github.com/Nuzair46/Torrent2mega","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nuzair46/Torrent2mega","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuzair46%2FTorrent2mega","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuzair46%2FTorrent2mega/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuzair46%2FTorrent2mega/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuzair46%2FTorrent2mega/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nuzair46","download_url":"https://codeload.github.com/Nuzair46/Torrent2mega/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nuzair46%2FTorrent2mega/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275269384,"owners_count":25435058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","heroku","libtorrent","mega","megadrive","torrent-client","torrent-downloader","torrent2mega","torrenttomega"],"created_at":"2024-10-27T16:37:48.536Z","updated_at":"2025-09-15T14:30:51.609Z","avatar_url":"https://github.com/Nuzair46.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Torrent2mega\n--------------\n* A simple docker to transfer torrents to your Mega drive. Can be run on Heroku.\n\n## Purpose?\n-----------\n* This tool is aimed to utilize the high speed of a VPS to download really slow torrents to you Mega drive.\n\n## Setup\n---------\n* Fork this repo.\n* Need to set Env variables:\n\t* EMAIL: \"your_mega_email_id\"\n\t* PASS: \"your_mega_password\"\n\t* MAGNET: \"magnet_uri\"\n\n* Above variable can be set in heroku `config vars`. Don't use \"quotes\".\n* To run the docker on a VPS:\n\t* Fill the `.env` given. Don't use \"quotes\".\n\t* `sudo docker build --no-cache -t torrent2mega .`\n\t* `sudo docker run --env-file .env -it torrent2mega`\n\n* 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.\n* When using on Heroku, Make sure to deploy the repo everytime rather than just starting the Dyno, this will delete any previously downloaded cache.\n* When on a VPS, rebulding from the above command is the best option as it will clear previous caches.\n\n### Notes and ToDo.\n-------------------\n* 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.  \n\n* 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.\n\t* You're most welcome if you can add this feature.\n\n* I tried Alpine image but it creates some issue with pip, so I discarded it.\n\n* This is like in a beta stage for now. It may have issues. If you find any, submit an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuzair46%2Ftorrent2mega","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuzair46%2Ftorrent2mega","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuzair46%2Ftorrent2mega/lists"}