Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 5, 2023. It is now read-only.
/ rarbg-selfhosted Public archive

A self-hosted Torznab API for the RARBG backup, compatible with Prowlarr, Radarr, Sonarr etc.

Notifications You must be signed in to change notification settings

mgdigital/rarbg-selfhosted

Repository files navigation

RARBG selfhosted

A Torznab API that can be used with the Servarr stack.

Archival notice

I'm now working on a new project, bitmagnet - A self-hosted BitTorrent indexer, DHT crawler, content classifier and torrent search engine with web UI, GraphQL API and Servarr stack integration.

bitmagnet does everything that rarbg-selfhosted can do, and a lot more. I hope you'll check it out! That said, the setup is more complicated, and if you're only interested in having a Torznab-compatible RARBG API, then rarbg-selfhosted might be a better option for you - it's basic, but it works for the intended purpose, so I'll no longer be developing it.

Thanks for the support!

Quick start

  • Obtain a copy of the RARBG SQLite database, I can't help you with that but it's floating around!
  • Adapt the following docker-compose.yml file to your needs. At a minimum you'll need to point the /rarbg_db.sqlite volume to the path of your SQLite file, and ensure this container is running in the same Docker network as your Servarr stack containers:
---
version: "3.7"
services:
 rarbg-selfhosted:
 container_name: rarbg-selfhosted
 image: "ghcr.io/mgdigital/rarbg-selfhosted:latest"
# environment:
# - "PATH_SQLITE_DB=/rarbg_db.sqlite" (optional, this is the default value)
# - "PATH_TRACKERS=/trackers.txt" (optional, this is the default value)
# - "DEBUG=1" (optional, useful for troubleshooting)
 volumes:
 - "/path/to/rarbg_db.sqlite:/rarbg_db.sqlite"
 ports:
 - "3333:3333"
 restart: unless-stopped
  • Run docker-compose up -d.
  • The torznab endpoint is now exposed on port 3333 under the path /torznab.
  • In Prowlarr, Radarr or Sonarr, you can now add RARBG as a Generic Torznab indexer.

Alternatively, start the container using docker run:

docker run -v /path/to/rarbg_db.sqlite:/rarbg_db.sqlite -p 3333:3333 ghcr.io/mgdigital/rarbg-selfhosted:latest

Or, install GoLang, clone this repo and run directly:

PATH_SQLITE_DB=/path/to/rarbg_db.sqlite go run .

About

A self-hosted Torznab API for the RARBG backup, compatible with Prowlarr, Radarr, Sonarr etc.

Topics

Resources

Stars

Watchers

Forks

Packages

AltStyle によって変換されたページ (->オリジナル) /