A simple tool to download torrents using a qBittorrent container.
Project description
TorMadeEasy: Effortless File Sharing with Friends and Family
Share and Download Files with Ease!
TorMadeEasy is a powerful yet simple command-line tool designed to streamline the process of sharing and downloading large files using the BitTorrent protocol. Whether you want to send vacation photos to family or share a project with friends, TorMadeEasy makes it incredibly simple by leveraging Docker and ngrok for seamless, secure transfers.
No more dealing with file size limits on email or slow cloud storage uploads! TorMadeEasy sets up a personal, temporary file-sharing server right from your machine, allowing your friends and family to download directly from you with a simple magnet link.
Features
- Background Downloads: Use
tormadeeasy downto easily start downloading files from any magnet link in the background. - Simple File Sharing: Use
tormadeeasy upto create a magnet link for your local files, ready to be shared with anyone. - Progress Monitoring: Use
tormadeeasy progressto check the status of your downloads. - Easy Cleanup: Use
tormadeeasy stopto stop all services. - Secure Tunnelling: Leverages
ngrokto create a public web seed for your shared files, bypassing complex network configurations. - Dockerized: Runs qBittorrent in a Docker container, ensuring a clean and isolated environment.
- Easy Installation: Install directly via pip.
Installation
You can install TorMadeEasy using pip:
pip install tormadeeasy
Usage
1. Initial Setup (ngrok Authtoken)
The first time you use up or down, TorMadeEasy will prompt you for your ngrok authtoken. This token is essential for creating public links for your shared files.
- Get your ngrok authtoken: If you don't have one, sign up for a free account at ngrok.com and find your authtoken on your dashboard.
- Enter the token: When prompted, paste your authtoken. It will be securely saved for future use.
2. Share a File (tormadeeasy up)
To create a magnet link for a local file and share it:
tormadeeasy up /path/to/your/file.zip
Replace /path/to/your/file.zip with the full path to the file you wish to share.
TorMadeEasy will:
- Copy your file to a temporary uploads directory.
- Start the qBittorrent, ngrok, and web server containers.
- Create a magnet link for your file, including a public web seed URL powered by ngrok.
- Start seeding the file.
- Print the magnet link to your terminal.
The command will exit, but the containers will continue to run in the background, seeding your file.
3. Start a Download (tormadeeasy down)
To start downloading a file from a magnet link in the background:
tormadeeasy down "magnet:?xt=urn:btih:..."
The command will start the download and exit.
4. Check Progress (tormadeeasy progress)
To check the progress of your downloads:
tormadeeasy progress
This will display a progress bar for each active torrent.
5. Stop All Services (tormadeeasy stop)
When you are finished seeding or downloading, you can stop all the services with:
tormadeeasy stop
This will gracefully stop and remove the Docker containers.
How it Works
TorMadeEasy orchestrates a set of Docker containers running linuxserver/qbittorrent, ngrok, and a simple Python web server. When sharing files, it uses ngrok to create a secure tunnel from your local machine to the internet, serving your file via the web server. This ngrok URL is embedded in the magnet link as a "web seed," allowing others to download your file even if you're behind a firewall or NAT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tormadeeasy-0.0.1.tar.gz.
File metadata
- Download URL: tormadeeasy-0.0.1.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37a20f70321c1416591621da4ccb65704e859415d9e3041c94ed4ad7c35db49d
|
|
| MD5 |
dd084f348eb0985a0edf29cc953b330d
|
|
| BLAKE2b-256 |
92c70c7cd1087bad58c9baa8c5588d8d57e483b03a6806a276c9e64c48c83944
|
File details
Details for the file tormadeeasy-0.0.1-py3-none-any.whl.
File metadata
- Download URL: tormadeeasy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f86243b78499aa2e28b8bf896e5db2f27678a31e8563f8ab6c61a81182d82bd1
|
|
| MD5 |
bbaab44047e60d4f05649b584bad815f
|
|
| BLAKE2b-256 |
95fdcfb82af804d8ee2283c542f7468bce3b13e69f01d9c5609b37b47800afec
|