mediarium

module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2026 License: AGPL-3.0

README

Mediarium

Your movies, TV and music, from search to library, in one app.

Install · Documentation · Features · Changelog · Report a bug · Ideas and questions

Mediarium

Mediarium is a self-hosted media manager. Find a movie or show, and it searches your Usenet and torrent indexers, downloads the best release, unpacks it, names it and puts it in your library, ready for Plex, Jellyfin or Emby.

It does the jobs of Radarr, Sonarr, Prowlarr, SABnzbd, a torrent client and Bazarr in one app: one container, one web page, one search bar, one thing to update and back up.

  • Movies and TV, plus music if you switch it on. Audiobooks and ebooks are coming soon.
  • Discover and search everything from one place, across all your indexers.
  • Built-in downloaders for Usenet and torrents, with repair and unpacking.
  • Built-in VPN for torrents (WireGuard), with no special container permissions.
  • Quality profiles with upgrades and fallbacks, automatic searching and retries.
  • Subtitles, notifications, media-server refresh, family accounts and backups.
  • Move over from Radarr, Sonarr, Prowlarr, SABnzbd and eight other apps without redoing your setup. They are only read, never changed.
  • Runs on Synology, Unraid, QNAP, any Linux server and 64-bit Raspberry Pi.

Mediarium is new. Movies and TV work end to end, and so does music once you switch it on. It's used daily, but expect some rough edges. FEATURES.md says what works and what doesn't yet.

Screenshots

Dashboard with a card for each kind of media and a Server card Discover with rows of movies and shows like the ones in your library
Dashboard: what needs attention, a card per kind of media and the Server card Discover: more like your library, trending, popular and coming soon
Library of movies with a status badge on each poster Activity page with downloads in progress, waiting in line and failed
Library: every title with its status, and Select to change many at once Activity: what is downloading, waiting in line or failed, plus history and blocklist
Upcoming calendar for the month An artist page in the music library
Upcoming: the calendar of releases and episodes, and what is still wanted Music: artists and albums, off until you switch it on
The Media types page with cards for movies, TV shows, music, audiobooks and ebooks The Quality page with the quality profiles table
Media types: switch movies, TV and music on or off Quality: profiles and the fallback order

Mediarium on a phone

Install with Docker

Mediarium runs in Docker on any 64-bit Linux server or NAS (amd64 or arm64).

mkdir mediarium && cd mediarium
curl -fsSLO https://raw.githubusercontent.com/rdborg/Mediarium/main/docker-compose.yml
# open docker-compose.yml and set PUID, PGID, TZ and your folders
docker compose up -d

Then open http://<your-server-ip>:8264 and follow the setup wizard.

The install guide covers every line of docker-compose.yml: folders, PUID/PGID, why one /data folder makes imports instant, updating, backups and a docker run alternative.

Step-by-step guides: Synology (including running next to Radarr, Sonarr and SABnzbd) · Unraid · QNAP · Linux. Coming from the *arr apps? See Move from Radarr, Sonarr, Prowlarr and SABnzbd.

Other ways to install: coming soon
Platform Status
Docker on Linux, NAS or Raspberry Pi (64-bit) Available now
Windows installer Coming soon
macOS Coming soon
Linux without Docker (.deb, .rpm, systemd) Coming soon
One-click apps: Unraid, TrueNAS, CasaOS/ZimaOS, Umbrel, Portainer Coming soon
Proxmox helper script, Helm chart Coming soon

Details: What runs where.

Documentation

Everything is in docs/: installing, indexers, downloads and the torrent port, quality profiles, subtitles, media servers, family accounts, and reference pages for the API, environment variables and settings.

Getting help

  • Something not working? Check troubleshooting, then open an issue. Include your version (Settings > System > About and credits), or better, the text that Copy for support puts on your clipboard (Settings > System > Server and backup > Help and support). It has no passwords or keys in it.
  • Security problem? Report it privately, as described in SECURITY.md.
  • Ideas and feature requests are welcome as issues.

Support the project

Mediarium is free, open source and has no ads. If it saves you time, you can buy a coffee on Ko-fi. The app works exactly the same either way.

Contributing

Contributions are welcome. Start with CONTRIBUTING.md and follow the Code of Conduct.

Responsible use

Mediarium does not host, provide or link to any content. It is a tool for managing media you have the right to access. You are responsible for the indexers you add and what you download: read LEGAL.md.

Licence

Mediarium is free software under the GNU Affero General Public License v3.0 (AGPL-3.0). You can use it, change it and share it. If you offer a changed version to others as a network service, you must share your source code under the same licence.

Directories

Path Synopsis
cmd
app command
Command app is the entrypoint for Mediarium: a single binary that starts the web UI/API and all background workers (indexer engine, download clients, automation loop, etc.) in one process.
Command app is the entrypoint for Mediarium: a single binary that starts the web UI/API and all background workers (indexer engine, download clients, automation loop, etc.) in one process.
Package db embeds the SQL migration files in this directory so the compiled binary carries its own schema (/db/ holds SQLite schema/migrations; this file is what makes them buildable into the single static binary rather than read from disk at runtime).
Package db embeds the SQL migration files in this directory so the compiled binary carries its own schema (/db/ holds SQLite schema/migrations; this file is what makes them buildable into the single static binary rather than read from disk at runtime).
internal
api
Package api is Mediarium's HTTP API: the routes the web interface and scripts use, plus the pipelines they start (search, grab, download, post-process, import) and the background jobs.
Package api is Mediarium's HTTP API: the routes the web interface and scripts use, plus the pipelines they start (search, grab, download, post-process, import) and the background jobs.
auth
Package auth implements local accounts, session cookies, and API keys.
Package auth implements local accounts, session cookies, and API keys.
automation
Package automation runs Mediarium's scheduled background jobs (searches, RSS sync, refreshes, clean-up) on their intervals.
Package automation runs Mediarium's scheduled background jobs (searches, RSS sync, refreshes, clean-up) on their intervals.
backup
Package backup creates, validates and restores Mediarium backups.
Package backup creates, validates and restores Mediarium backups.
blocklist
Package blocklist remembers releases that failed for a reason that is the release's fault, so automation does not grab the same dud again.
Package blocklist remembers releases that failed for a reason that is the release's fault, so automation does not grab the same dud again.
cleanup
Package cleanup finds and removes what downloads leave behind in the downloads working folder: folders of finished or failed downloads, folders no download owns any more, and empty folders.
Package cleanup finds and removes what downloads leave behind in the downloads working folder: folders of finished or failed downloads, folders no download owns any more, and empty folders.
config
Package config loads container-level configuration from environment variables.
Package config loads container-level configuration from environment variables.
crypto
Package crypto encrypts credentials (indexer API keys, download client passwords, VPN configs) at rest in the SQLite DB.
Package crypto encrypts credentials (indexer API keys, download client passwords, VPN configs) at rest in the SQLite DB.
download
Package download is the built-in Usenet downloader: NZB parsing, NNTP connections to the user's providers, article decoding and assembly.
Package download is the built-in Usenet downloader: NZB parsing, NNTP connections to the user's providers, article decoding and assembly.
fsinfo
Package fsinfo inspects the folders Mediarium is pointed at (movies, TV, downloads): do they exist, can the app write to them, how much room is left, and — when running in Docker — are they actually folders mapped in from the host rather than part of the container's own disposable layer.
Package fsinfo inspects the folders Mediarium is pointed at (movies, TV, downloads): do they exist, can the app write to them, how much room is left, and — when running in Docker — are they actually folders mapped in from the host rather than part of the container's own disposable layer.
httpsec
Package httpsec holds the HTTP-level security pieces that depend on how Mediarium is reached: which reverse proxies are trusted to say who the caller is (client IP, HTTPS or not, public host name), the cross-site request check, and the security response headers.
Package httpsec holds the HTTP-level security pieces that depend on how Mediarium is reached: which reverse proxies are trusted to say who the caller is (client IP, HTTPS or not, public host name), the cross-site request check, and the security response headers.
indexers
Package indexers implements the indexer engine.
Package indexers implements the indexer engine.
inputcheck
Package inputcheck holds the format checks for values people type into forms: email addresses, host names, web addresses, folder paths and keys.
Package inputcheck holds the format checks for values people type into forms: email addresses, host names, web addresses, folder paths and keys.
libimport
Package libimport scans an existing media folder for movies or TV episodes, works out which title each file belongs to from its filename and folder names, and decides how confidently a metadata search result matches it.
Package libimport scans an existing media folder for movies or TV episodes, works out which title each file belongs to from its filename and folder names, and decides how confidently a metadata search result matches it.
library
Package library owns the movies table — the Phase 1 library (TV follows the same shape in Phase 2 per the `media_type` column in the schema).
Package library owns the movies table — the Phase 1 library (TV follows the same shape in Phase 2 per the `media_type` column in the schema).
listenbrainz
Package listenbrainz is a small read-only client for the public ListenBrainz web service (https://listenbrainz.readthedocs.io/): what people are listening to across the whole service (top release groups and artists), the release groups that came out recently or are about to, and the type, date and genre tags of release groups by MusicBrainz id.
Package listenbrainz is a small read-only client for the public ListenBrainz web service (https://listenbrainz.readthedocs.io/): what people are listening to across the whole service (top release groups and artists), the release groups that came out recently or are about to, and the type, date and genre tags of release groups by MusicBrainz id.
logbuf
Package logbuf keeps the most recent lines the app logged, in memory, with secrets taken out, so the Settings page can hand them to a person for a support request without a trip to the NAS log viewer.
Package logbuf keeps the most recent lines the app logged, in memory, with secrets taken out, so the Settings page can hand them to a person for a support request without a trip to the NAS log viewer.
mediafiles
Package mediafiles lists and opens the files in a library title's folder on disk, for the "Files" view and in-browser playback.
Package mediafiles lists and opens the files in a library title's folder on disk, for the "Files" view and in-browser playback.
mediaservers
Package mediaservers talks to the media servers people watch their library with (Plex, Jellyfin and Emby): it tests a connection, asks the server to rescan the library folder a new file landed in, and finds a title on the server so the web UI can link to it ("Watch in Plex").
Package mediaservers talks to the media servers people watch their library with (Plex, Jellyfin and Emby): it tests a connection, asks the server to rescan the library folder a new file landed in, and finds a title on the server so the web UI can link to it ("Watch in Plex").
metadata
Package metadata talks to TMDB for movie and show information, artwork, discovery lists and genres.
Package metadata talks to TMDB for movie and show information, artwork, discovery lists and genres.
migrate
Package migrate moves an existing Radarr, Sonarr, Prowlarr, SABnzbd (and NZBGet, Jackett, NZBHydra2, Overseerr/Jellyseerr, Ombi, Bazarr, Medusa and SickChill) setup into Mediarium without redoing it and without moving a single file.
Package migrate moves an existing Radarr, Sonarr, Prowlarr, SABnzbd (and NZBGet, Jackett, NZBHydra2, Overseerr/Jellyseerr, Ombi, Bazarr, Medusa and SickChill) setup into Mediarium without redoing it and without moving a single file.
monitor
Package monitor keeps an eye on the things Mediarium depends on (Usenet servers, indexers) by checking each one on a schedule, remembering the last result, and raising a notification only when something changes state, so a server that stays down is reported once, not every cycle.
Package monitor keeps an eye on the things Mediarium depends on (Usenet servers, indexers) by checking each one on a schedule, remembering the last result, and raising a notification only when something changes state, so a server that stays down is reported once, not every cycle.
music
Package music is the music module's own logic: the audio quality ladder and profiles, the release-name parser for music, naming, finding and matching audio files, scanning an existing music folder, and the artists/albums/tracks tables.
Package music is the music module's own logic: the audio quality ladder and profiles, the release-name parser for music, naming, finding and matching audio files, scanning an existing music folder, and the artists/albums/tracks tables.
musicbrainz
Package musicbrainz is a small client for the MusicBrainz web service (https://musicbrainz.org/doc/MusicBrainz_API): artist search, an artist's release groups (albums, EPs, singles), a release group's releases and one release's tracklist, plus the Cover Art Archive image address for a release group.
Package musicbrainz is a small client for the MusicBrainz web service (https://musicbrainz.org/doc/MusicBrainz_API): artist search, an artist's release groups (albums, EPs, singles), a release group's releases and one release's tracklist, plus the Cover Art Archive image address for a release group.
netguard
Package netguard limits where Mediarium's own outgoing connections may go.
Package netguard limits where Mediarium's own outgoing connections may go.
notify
Package notify sends event notifications ("Discord/ Telegram/webhook/email on events...
Package notify sends event notifications ("Discord/ Telegram/webhook/email on events...
organizer
Package organizer turns a finished download into library files: PAR2 repair, unpacking, naming and hardlinking or copying into place.
Package organizer turns a finished download into library files: PAR2 repair, unpacking, naming and hardlinking or copying into place.
parser
Package parser reads release names: title, year, season and episode, resolution, source, codec and group.
Package parser reads release names: title, year, season and episode, resolution, source, codec and group.
plainerror
Package plainerror turns the raw text of network and file errors into a sentence a person can read.
Package plainerror turns the raw text of network and file errors into a sentence a person can read.
problems
Package problems keeps the log of real problems shown in Settings > System > Logs and errors: a download that failed, a Usenet provider that refused the login, a full disk.
Package problems keeps the log of real problems shown in Settings > System > Logs and errors: a download that failed, a Usenet provider that refused the login, a full disk.
quality
Package quality implements quality profiles ("Quality profiles (custom formats, TRaSH-Guides-inspired sane defaults shipped out of the box)").
Package quality implements quality profiles ("Quality profiles (custom formats, TRaSH-Guides-inspired sane defaults shipped out of the box)").
queue
Package queue tracks releases moving through grab -> download -> import (the download_queue table) and the activity feed ("one live view of everything currently downloading/importing/post-processing").
Package queue tracks releases moving through grab -> download -> import (the download_queue table) and the activity feed ("one live view of everything currently downloading/importing/post-processing").
selfupdate
Package selfupdate installs a new Mediarium program file next to the container image's own, without Docker access and without extra privileges.
Package selfupdate installs a new Mediarium program file next to the container image's own, without Docker access and without extra privileges.
semver
Package semver reads and compares Semantic Versioning 2.0.0 numbers (semver.org), such as 1.10.0 or 1.2.0-rc.1.
Package semver reads and compares Semantic Versioning 2.0.0 numbers (semver.org), such as 1.10.0 or 1.2.0-rc.1.
settings
Package settings stores app-wide configuration that belongs in the UI, not in environment variables: library paths, naming preset/tokens, TMDB API key, etc.
Package settings stores app-wide configuration that belongs in the UI, not in environment variables: library paths, naming preset/tokens, TMDB API key, etc.
speed
Package speed holds the one download speed limit that Usenet and torrent downloads share.
Package speed holds the one download speed limit that Usenet and torrent downloads share.
store
Package store owns the SQLite connection and schema migrations (one file covering config, library, indexer state, queue).
Package store owns the SQLite connection and schema migrations (one file covering config, library, indexer state, queue).
subtitles
Package subtitles searches for and downloads subtitles ("Original, using existing subtitle-provider APIs (OpenSubtitles, etc.)").
Package subtitles searches for and downloads subtitles ("Original, using existing subtitle-provider APIs (OpenSubtitles, etc.)").
sysinfo
Package sysinfo reports how busy the server is: CPU use, memory, load and uptime of the machine Mediarium runs on, and Mediarium's own memory and CPU.
Package sysinfo reports how busy the server is: CPU use, memory, load and uptime of the machine Mediarium runs on, and Mediarium's own memory and CPU.
torrentclient
Package torrentclient wraps anacrolix/torrent ("torrent via anacrolix/torrent ...
Package torrentclient wraps anacrolix/torrent ("torrent via anacrolix/torrent ...
trakt
Package trakt resolves a public Trakt list URL into TMDB movie IDs (curated/public list import, e.g.
Package trakt resolves a public Trakt list URL into TMDB movie IDs (curated/public list import, e.g.
updatecheck
Package updatecheck asks GitHub which release of Mediarium is the newest, so the app can tell an administrator that an update is out.
Package updatecheck asks GitHub which release of Mediarium is the newest, so the app can tell an administrator that an update is out.
usage
Package usage keeps a rolling 24-hour record of how much each third-party service (TMDB, Trakt, OpenSubtitles) is used and how often it refused a request because a limit was reached.
Package usage keeps a rolling 24-hour record of how much each third-party service (TMDB, Trakt, OpenSubtitles) is used and how often it refused a request because a limit was reached.
vpn
Package vpn implements the built-in VPN protection: userspace WireGuard embedded directly in the process via wireguard-go + a gVisor netstack, so tunneling torrent traffic needs no NET_ADMIN capability or /dev/net/tun device — the same technique projects like Tailscale use.
Package vpn implements the built-in VPN protection: userspace WireGuard embedded directly in the process via wireguard-go + a gVisor netstack, so tunneling torrent traffic needs no NET_ADMIN capability or /dev/net/tun device — the same technique projects like Tailscale use.
tools
docgen command
Command docgen writes the reference pages in docs/reference from the code, so they can never drift from it: the HTTP routes, the container environment variables and the stored settings keys.
Command docgen writes the reference pages in docs/reference from the code, so they can never drift from it: the HTTP routes, the container environment variables and the stored settings keys.
signsums command
Command signsums signs the list of release checksums, so the app can prove that a release it downloads is the real one before it installs it.
Command signsums signs the list of release checksums, so the app can prove that a release it downloads is the real one before it installs it.
torrentcheck command
Command torrentcheck is a quick live check of the built-in torrent client: it joins a public-domain torrent (Sintel, Blender Foundation, CC BY) and reports peers, incoming connections, UPnP/port-mapping status and download speed for a short while, then stops and deletes what it fetched.
Command torrentcheck is a quick live check of the built-in torrent client: it joins a public-domain torrent (Sintel, Blender Foundation, CC BY) and reports peers, incoming connections, UPnP/port-mapping status and download speed for a short while, then stops and deletes what it fetched.
Package web embeds the built frontend (dist/, produced by `npm run build` — see README.md) so the compiled Go binary serves the whole UI itself with no external file dependency (single binary, single process).
Package web embeds the built frontend (dist/, produced by `npm run build` — see README.md) so the compiled Go binary serves the whole UI itself with no external file dependency (single binary, single process).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL