selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
Sortarr logo

Self-host Sortarr

v0.9.0

Dashboard analyzing media libraries from Arr, Plex, Jellyfin

ReleaseOpen SourceMIT
Docker ComposeCompose file & guide
docker compose up -d
Updated4 months ago
LanguagePython
Setup difficultyModerate
Stars
188
Port
8787 (HTTP web server)
Docker
ghcr.io/jaredharper1/sortarr
Shows View — TV series library overview with SonarrMovies View — Movie library overview with RadarrMain Shows view — TV series dashboardMain Movies view — Movie dashboardFilter chips UI for quick library filteringHistory drawer showing playback history for an episodeSetup page for configuring providers and authentication

What is Sortarr?

Sortarr provides a read-only dashboard for media library analytics. It aggregates data from Sonarr, Radarr, Plex, Jellyfin, and Emby to reveal gaps, mismatches, and optimization chances. Playback history from several supported trackers can be layered on top. Features include a mismatch comparison center, provider-specific insights with session data, and deep navigation from shows down to episodes. Multiple Sonarr and Radarr instances are supported with cross-instance views. Three authentication modes are available: built-in basic auth, local bypass for direct access, or external proxy authentication. Advanced filtering uses search, chips, and rule-based column filters. The tool never alters media files, triggers downloads, or modifies upstream configurations. It runs via Docker (GHCR or Docker Hub), Docker Compose, Unraid template, Windows executable, or Python source. As of 2026 the project is in maintenance mode with ongoing bug fixes.

Should you self-host Sortarr?

Sortarr scores 47/100 on selfhost.directory (how scoring works) and ranks #85 of 142 in Media Management. It has 188 GitHub stars.

It shipped 10 stable releases in the past year. The latest, v0.9.0, came out on 3 May 2026. New versions land roughly every 6 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is Sonarr (81/100, 17 472 stars). It scores higher overall, so compare the two before you pick. See Sortarr vs Sonarr side by side.

Features

  • Advanced Filtering
  • Configuration persistence
  • CSV Export
  • Detailed media attributes
  • Drill-down navigation
  • Flexible Authentication
  • Fullscreen table mode
  • Internationalization
  • Mismatch Center
  • Multi-Instance Support
  • Multi-source library analysis
  • Playback history overlay
  • Provider-aware insights
  • Read-only HTTP API
  • Read-only operation

Sortarr README

How to install Sortarr

Install Sortarr with Docker Compose

Docker and Docker Compose installed; persistent volume for ./data mount
Environment variables
SORTARR_SECRET_KEY_FILE, SORTARR_PROXY_MODE, SONARR_URL, SONARR_API_KEY_FILE, RADARR_URL, RADARR_API_KEY_FILE, PLEX_URL, PLEX_TOKEN_FILE, BASIC_AUTH_USER, BASIC_AUTH_PASS_FILE, SORTARR_CSRF_TRUSTED_ORIGINS, ENV_FILE_PATH, SORTARR_STORE_SECRETS_AS_FILES, SORTARR_ALLOW_PLAINTEXT_SECRETS, SORTARR_ALLOW_UNSAFE_EPHEMERAL_RECOVERY, SORTARR_WAITRESS_TRUSTED_PROXY, SORTARR_PROXY_HOPS_PREFIX, PUID, PGID

Deploy Sortarr using Docker Compose for the easiest setup.

  • Prepare docker-compose.yaml: Clone the repository or download the docker-compose.yaml file.
  • Start the container:
docker compose up -d

Image Sources:

  • Default (GHCR): ghcr.io/jaredharper1/sortarr:latest (Recommended for release builds).
  • Docker Hub: docker.io/jaredharper1/sortarr:latest.
  • Architectures: Supported for linux/amd64 and linux/arm64/v8 (Apple Silicon compatible).
  • URL: Open http://:9595 in your browser.
  • Initialization: The first visit automatically redirects to /setup, where you can configure your media and history providers and choose who handles login: Basic, Basic (local bypass), or External.

Container listens on port 8787; default host mapping is 9595

How to configure Sortarr

  • BASIC_AUTH_PASS_CRED_TARGETWindows Credential Manager target for basic auth password

    Windows Credential Manager target for basic auth password

  • BASIC_AUTH_PASS_FILEBasic auth password file path

    Basic auth password file path

  • BASIC_AUTH_USERBasic auth username for Sortarr login

    Basic auth username for Sortarr login

  • ENV_FILE_PATH/config/Sortarr.envPath to configuration file

    Path to configuration file

  • PGID100Group ID for file permissions

    Group ID for file permissions

  • PLEX_TOKEN_FILEPlex authentication token file path

    Plex authentication token file path

  • PLEX_URLBase URL of Plex server (alternative media source)

    Base URL of Plex server (alternative media source)

  • PUID99User ID for file permissions

    User ID for file permissions

  • RADARR_API_KEY_FILERadarr API key file path (read-only recommended)

    Radarr API key file path (read-only recommended)

  • RADARR_URLBase URL of Radarr instance

    Base URL of Radarr instance

  • SONARR_API_KEY_FILESonarr API key file path (read-only recommended)

    Sonarr API key file path (read-only recommended)

  • SONARR_URLBase URL of Sonarr instance

    Base URL of Sonarr instance

  • SORTARR_ALLOW_PLAINTEXT_SECRETS0Allow plaintext secrets fallback

    Allow plaintext secrets fallback

    values: 0|1

  • SORTARR_ALLOW_UNSAFE_EPHEMERAL_RECOVERY0Allow unsafe ephemeral recovery for lockout scenarios

    Allow unsafe ephemeral recovery for lockout scenarios

    values: 0|1

  • SORTARR_CSRF_TRUSTED_ORIGINSOptional CSRF trusted origins (exact origins only)

    Optional CSRF trusted origins (exact origins only)

  • SORTARR_PROXY_HOPS_PREFIX0Path-prefix proxy hops for custom proxy mode

    Path-prefix proxy hops for custom proxy mode

    values: 0|1

  • SORTARR_PROXY_MODEdirectProxy mode for reverse proxy chain (direct, single, double, custom)

    Proxy mode for reverse proxy chain (direct, single, double, custom)

    values: direct|single|double|custom

  • SORTARR_SECRET_KEY_CRED_TARGETWindows Credential Manager target for session secret

    Windows Credential Manager target for session secret

  • SORTARR_SECRET_KEY_FILEPersistent session secret key file path

    Persistent session secret key file path

  • SORTARR_STORE_SECRETS_AS_FILES1Store secrets as files instead of plaintext

    Store secrets as files instead of plaintext

    values: 0|1

  • SORTARR_WAITRESS_TRUSTED_PROXYImmediate upstream proxy IP/host for Waitress trusted-proxy handling

    Immediate upstream proxy IP/host for Waitress trusted-proxy handling

Sortarr releases & version history

More in Dashboard

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…