| client | ||
| server | ||
| .dockerignore | ||
| .gitignore | ||
| docker-build.bat | ||
| docker-compose.yml | ||
| docker-connect.bat | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
Real-Debrid Torrent Client
This is a web interface to manage your torrents on Real-Debrid. It supports the following features:
- Add new torrents through magnets or files
- Download all files from Real Debrid to your local machine automatically
- Unpack all files when finished downloading
- Implements a fake qBittorrent API so you can hook up other applications like Sonarr or Couchpotato.
- Built with Angular 11 and .NET 5
You will need a Premium service at Real-Debrid!
Click here to sign up (referal link so I can get a few free premium days).
Docker Setup
You can run the docker container on Windows, Linux. To get started either use Docker Run or Docker Compose.
Docker Run
docker run --cap-add=NET_ADMIN -d \
-v /your/download/path/:/data/downloads \
-v /your/storage/path/:/data/db \
--log-driver json-file \
--log-opt max-size=10m \
-p 6500:6500 \
rogerfar/rdtclient
Replace /your/download/path/ with your local path to download files to. For Windows i.e. C:/Downloads.
Replace /your/storage/path/ with your local path to store persistent database and log files in. For Windows i.e. C:/Docker/rdt-client.
Docker Compose
You can use the provided docker compose to run:
version: '3.3'
services:
rdtclient:
container_name: rdtclient
volumes:
- 'D:/Downloads/:/data/downloads'
- 'D:/Docker/rdt-client/:/data/db'
image: rogerfar/rdtclient
restart: always
logging:
driver: json-file
options:
max-size: 10m
ports:
- '6500:6500'
And to run:
docker-compose up -d
Replace the paths in volumes as in the above step.
Setup
First Login
- Browse to http://127.0.0.1:6500 (or the path of your server).
- The very first credentials you enter in will be remembered for future logins.
- Click on
Settingson the top and enter your Real-Debrid API key (found here: https://real-debrid.com/apitoken. - Change your download path if needed. When using Docker, this path will be the path on your local machine.
- Save your settings.
Troubleshooting
- If you forgot your logins simply delete the
rdtclient.dband restart the service. - A log file is written to your persistent path as
rdtclient.log. When you run into issues please change the loglevel in your docker script toDebug.
Connecting Sonarr/Radarr
RdtClient emulates the qBittorrent web protocol and allow applications to use those APIs. This way you can use Sonarr and Radarr to download directly from RealDebrid.
- Login to Sonarr or Radarr and click
Settings. - Go to the
Download Clienttab and click the plus to add. - Click
qBittorrentin the list. - Enter the IP or hostname of the RealDebridClient in the
Hostfield. - Enter the 6500 in the
Portfield. - Enter your Username/Password you setup in step 3 above in the Username/Password field.
- Leave the other settings as is.
- Hit
Testand thenSaveif all is well. - Sonarr will now think you have a regular Torrent client hooked up.
Notice: the progress and ETA reported in Sonarr's Activity tab will not be accurate, but it will report the torrent as completed so it can be processed after it is done downloading.
Build instructions
Prerequisites
- NodeJS
- NPM
- Angular CLI
- .NET 5
- Visual Studio 2019
- (optional) Resharper
- Open the client folder project in VS Code and run
npm install. - To debug run
ng serve, to build runng build --prod. - Open the Visual Studio 2019 project
RdtClient.slnandPublishtheRdtClient.Webto the givenPublishFoldertarget. - When debugging, make sure to run
RdtClient.Web.dlland notIISExpress. - The result is found in
Publish.
Build docker container
- In the root of the project run
docker build --tag rdtclient . - To create the docker container run
docker run --publish 6500:6500 --detach --name rdtclientdev rdtclient:latest - To stop:
docker stop rdtclient - To remove:
docker rm rdtclient - Or use
docker-build.bat