68 lines
3.4 KiB
Markdown
68 lines
3.4 KiB
Markdown
# zurg
|
|
|
|
A self-hosted Real-Debrid webdav server written from scratch. Together with [rclone](https://rclone.org/) it can mount your Real-Debrid torrent library into your file system like Dropbox.
|
|
|
|
## Download
|
|
|
|
### Latest version: v0.9.3
|
|
|
|
[Download the binary](https://github.com/debridmediamanager/zurg-testing/tree/main/releases/v0.9.3) or use docker
|
|
|
|
```sh
|
|
docker pull ghcr.io/debridmediamanager/zurg-testing:latest
|
|
# or
|
|
docker pull ghcr.io/debridmediamanager/zurg-testing:v0.9.3
|
|
```
|
|
|
|
## How to run zurg in 5 steps for Plex with Docker
|
|
|
|
1. Clone this repo `git clone https://github.com/debridmediamanager/zurg-testing.git`
|
|
2. Add your token in `config.yml`
|
|
3. `sudo mkdir -p /mnt/zurg`
|
|
4. Run `docker compose up -d`
|
|
5. `time ls -1R /mnt/zurg` You're done! If you do edits on your config.yml just do `docker compose restart zurg`.
|
|
|
|
A webdav server is also exposed to your localhost via port `9999`.
|
|
|
|
### Note: when using zurg in a server outside of your home network, ensure that "Use my Remote Traffic automatically when needed" is unchecked on your [Account page](https://real-debrid.com/account)
|
|
|
|
## Command-line utility
|
|
|
|
```
|
|
Usage:
|
|
zurg [flags]
|
|
zurg [command]
|
|
|
|
Available Commands:
|
|
clear-downloads Clear all downloads (unrestricted links) in your account
|
|
clear-torrents Clear all torrents in your account
|
|
completion Generate the autocompletion script for the specified shell
|
|
help Help about any command
|
|
network-test Run a network test
|
|
version Prints zurg's current version
|
|
|
|
Flags:
|
|
-c, --config string config file path (default "./config.yml")
|
|
-h, --help help for zurg
|
|
|
|
Use "zurg [command] --help" for more information about a command.
|
|
```
|
|
|
|
## Why zurg? Why not X?
|
|
|
|
- Better performance than anything out there; changes in your library appear instantly ([assuming Plex picks it up fast enough](./plex_update.sh))
|
|
- You should be able to access every file even if the torrent names are the same so if you have a lot of these, you might notice that zurg will have more files compared to others (e.g. 2 torrents named "Simpsons" but have different seasons, zurg merges all contents in that directory)
|
|
- You can configure a flexible directory structure in `config.yml`; you can select individual torrents that should appear on a directory by the ID you see in [DMM](https://debridmediamanager.com/).
|
|
- If you've ever experienced Plex scanner being stuck on a file and thereby freezing Plex completely, it should not happen anymore because zurg does a comprehensive check if a torrent is dead or not. You can run `ps aux --sort=-time | grep "Plex Media Scanner"` to check for stuck scanner processes.
|
|
|
|
## Guides
|
|
|
|
- [@I-am-PUID-0](https://github.com/I-am-PUID-0) - [pd_zurg](https://github.com/I-am-PUID-0/pd_zurg)
|
|
- [@Pukabyte](https://github.com/Pukabyte) - [Guide: Zurg + RDT + Prowlarr + Arrs + Petio + Autoscan + Plex + Scannarr](https://puksthepirate.notion.site/Guide-Zurg-RDT-Prowlarr-Arrs-Petio-Autoscan-Plex-Scannarr-eebe27d130fa400c8a0536cab9d46eb3)
|
|
- [u/pg988](https://www.reddit.com/user/pg988/) - [Windows + zurg + Plex guide](https://www.reddit.com/r/RealDebrid/comments/18so926/windows_zurg_plex_guide/)
|
|
- [@ignamiranda](https://github.com/ignamiranda) - [Plex Debrid Zurg Windows Guide](https://github.com/ignamiranda/plex_debrid_zurg_scripts/)
|
|
|
|
## Please read our [wiki](https://github.com/debridmediamanager/zurg-testing/wiki) for more information!
|
|
|
|
## [zurg's version history](https://github.com/debridmediamanager/zurg-testing/wiki/History)
|