StrmBridge

StrmBridge

Docker app from mccann6's Repository

Overview

StrmBridge is a background service that syncs your debrid provider library (RealDebrid/Torbox) to .strm files. It monitors your library and creates strm files that allow Jellyfin to stream content directly from the cloud without requiring local storage space.

StrmBridge

A lightweight service that syncs your debrid provider library to .strm files for use with media servers like Jellyfin.

How It Works

StrmBridge periodically polls your debrid provider's API, fetches your library of cached content, and creates .strm files organized in a standard media server folder structure:

media/
  Movies/
    Movie Name (2024)/
      Movie Name (2024) - 1080p WEB-DL.strm
      Movie Name (2024) - 2160p BluRay.strm
  TV Shows/
    Show Name/
      Season 01/
        Show Name - S01E01 - 720p HDTV.strm

Files include quality and source information when available, allowing Jellyfin to display multiple versions of the same title.

When a media player opens a .strm file, it calls back to StrmBridge which redirects to the actual streaming URL. This keeps your API key server-side rather than embedded in the files.

Supported Providers

  • Torbox
  • Real-Debrid

Unraid

StrmBridge is available in Community Apps — search for strmbridge.

Key settings to configure:

  • Service Base URL — Set this to the URL of the service as reachable from your network (e.g. http://192.168.1.50:9847). This is written into .strm files so your media server can reach StrmBridge.
  • Strm Files Output — Where .strm files are created. Point your Jellyfin library at this path.
  • API Key(s) — Enter your Torbox and/or Real-Debrid API key and enable the provider.

Docker Compose

  1. Create a .env file with your provider API keys:
TORBOX_API_KEY=your_torbox_api_key
REALDEBRID_API_KEY=your_realdebrid_api_key
  1. Run with Docker Compose:
docker compose up -d
  1. Point your media server library at the ./media folder

The service syncs every 5 minutes by default.

Configuration

Environment variables can be set in docker-compose.yml or via .env:

General Settings

Variable Description Default
App__ServiceBaseUrl Base URL for stream redirects http://localhost:9847
App__SyncIntervalSeconds Sync interval in seconds 300

Torbox

Variable Description Default
Providers__Torbox__ApiKey Your Torbox API key Required
Providers__Torbox__IsEnabled Enable/disable provider false

Real-Debrid

Variable Description Default
Providers__RealDebrid__ApiKey Your Real-Debrid API key Required
Providers__RealDebrid__IsEnabled Enable/disable provider false

API Endpoints

Endpoint Description
GET /api/status Service status and last sync info
POST /api/sync Trigger a manual sync
GET /api/stream/{provider}/{torrentId}/{fileId} Stream redirect (used by .strm files)

Building from Source

cd StrmBridge
dotnet build
dotnet run

License

MIT

Install StrmBridge on Unraid in a few clicks.

Find StrmBridge in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for StrmBridge Review the template variables and paths Click Install

Download Statistics

1,231
Total Downloads

Related apps

Details

Repository
anthonymccann90/strmbridge:latest
Last Updated2026-03-14
First Seen2026-02-12

Runtime arguments

Network
bridge
Privileged
false

Template configuration

API PortPorttcp

The port for the StrmBridge API service.

Target
9847
Default
9847
Value
9847
Service Base URLVariable

The URL used to reach this service (e.g., http://192.168.1.50:9847). This address is written directly into the generated .strm files

Target
App__ServiceBaseUrl
Default
http://[IP]:9847
App DataPathrw

Storage for the application database and internal settings.

Target
/app/data/
Default
/mnt/user/appdata/strmbridge/data
Strm Files OutputPathrw

This is where your .strm files will be created. Map this as a library source in Jellyfin.

Target
/app/media/
Default
/mnt/user/appdata/strmbridge/media
Real-Debrid EnabledVariable

Set to 'true' to enable Real-Debrid.

Target
Providers__RealDebrid__IsEnabled
Default
false
Value
false
Real-Debrid API KeyVariable

Your Real-Debrid API Token.

Target
Providers__RealDebrid__ApiKey
Torbox EnabledVariable

Set to 'true' to enable Torbox.

Target
Providers__Torbox__IsEnabled
Default
false
Value
false
Torbox API KeyVariable

Your Torbox API Token.

Target
Providers__Torbox__ApiKey
Sync IntervalVariable

How often (in seconds) the service should check for library updates.

Target
App__SyncIntervalSeconds
Default
300
Value
300