Skip to content

A self-hosted Real-Debrid webdav server you can use with Infuse. Together with rclone it can mount your Real-Debrid torrent library into your filesystem and load it to Plex or Jellyfin.

Notifications You must be signed in to change notification settings

fatbob01/zurg-testing

 
 

Repository files navigation

zurg

A self-hosted Real-Debrid webdav server written from scratch. Together with rclone it can mount your Real-Debrid torrent library into your file system like Dropbox.

Download

Latest version: v0.9.3

Download the binary or use docker

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

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)
  • 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.
  • 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

Please read our wiki for more information!

About

A self-hosted Real-Debrid webdav server you can use with Infuse. Together with rclone it can mount your Real-Debrid torrent library into your filesystem and load it to Plex or Jellyfin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 54.4%
  • Shell 45.6%