Skip to content
rukasPublic

About

Rip your Blu-rays and DVDs with MakeMKV, identify them automatically, and file them for Plex — with a Home Assistant integration.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Riparr

Latest release Build Docker image License: GPL v3 HACS: custom repository Unraid: Community Apps

Riparr rips your Blu-rays, DVDs and 4K UHD discs and files them into your Plex or Jellyfin library with the right names. Put a disc in, check what it found, and press Rip.

It uses MakeMKV to do the ripping and TheDiscDB to work out what's on the disc: which title is the movie, which are the extras, and which episode is which. It runs in Docker on a NAS or home server (there's an Unraid template), or straight on Windows or Linux.

Riparr's home page: a card for each drive with the disc it recognised, a rip in progress, and the library of finished rips

What it does

  • Recognises discs on its own by looking them up in TheDiscDB, from the disc itself or the UPC on the box
  • Names files with templates you can change. The defaults match what Plex and Jellyfin expect, box sets and multi-disc releases included
  • Rips from several drives at once, including drives on another PC using the Riparr Agent
  • Keeps only the audio and subtitle languages you want
  • Helps you name discs TheDiscDB doesn't know yet, with screenshots, menu text, a TMDB search and optional AI suggestions, and lets you add them to TheDiscDB afterwards
  • Works on your phone: scan a barcode in a shop to see if you already own something
  • Keeps a wish list of discs you want, and can sync it from your Plex Watchlist and check it against your Plex library
  • Connects to Home Assistant for progress and notifications

Before anything rips, you get this screen, with the name each file will get:

The review screen for a recognised disc: the release, its discs, and each title with the file name it will get

It works on a phone too:

Riparr on a phone: the drive cards and an active rip

What you need

  • A Blu-ray or DVD drive. For 4K UHD discs it has to be one MakeMKV can read UHDs with (see MakeMKV's forum for which drives work).
  • A machine to run Riparr on: Docker on an x86-64 NAS or server (Unraid works well), or Windows or Linux with .NET 10.
  • Room for staging. A single 4K film can be 50 GB or more while it waits to be named.

Install with Docker

The image doesn't include MakeMKV, because MakeMKV's licence doesn't allow it to be redistributed. Instead, the container downloads MakeMKV from makemkv.com and builds it the first time it starts. This takes a few minutes and only happens again when the MakeMKV version changes (a Riparr update, or MAKEMKV_VERSION below). You have to accept the MakeMKV EULA by setting MAKEMKV_ACCEPT_EULA=yes. The container won't start without it.

On Unraid, go to the Docker tab, add Riparr's template repository https://github.com/rukas/unraid-templates under Template repositories and save. Then go to Docker → Add Container, pick riparr from the template list, check the folders, set Accept MakeMKV EULA to yes, and apply. The Optical drive field passes /dev/sr0. Change it if your drive is somewhere else (ls /dev/sr*). If the server has no drive because they're all on Riparr Agents, click Remove next to that field.

Anywhere else, with your optical drive at /dev/sr0:

docker run -d --name riparr \
  --device=/dev/sr0 \
  -p 5193:5193 \
  -v /path/to/config:/config \
  -v /path/to/movies:/movies \
  -v /path/to/tv:/tv \
  -v /path/to/identify:/identify \
  -e PUID=99 -e PGID=100 -e UMASK=022 \
  -e MAKEMKV_ACCEPT_EULA=yes \
  ghcr.io/rukas/riparr:latest

Then open http://<your-server>:5193.

Folder What goes there
/config Riparr's settings and history, plus the MakeMKV build. Map it to a folder that's kept, or you'll lose your settings when the container is recreated.
/movies, /tv Your existing movie and TV library folders, the ones Plex or Jellyfin watch.
/identify Staging for discs that need naming before they go into the library.

PUID and PGID set who owns the ripped files (99 and 100 are Unraid's defaults).

MakeMKV key: without one, MakeMKV runs in trial mode. Set MAKEMKV_KEY to your own key, or to BETA to use the free beta key MakeMKV publishes on its forum.

MakeMKV version: each image comes with a tested MakeMKV version. To use a different one, set MAKEMKV_VERSION (for example 1.18.1) and restart the container. Leave it blank to go back to the default. On the next start Riparr downloads that version, checks it against makemkv.com's published checksums and builds it. If anything goes wrong, the version you already had keeps working. Either way, Riparr tells you what happened when you next open it, and Settings → MakeMKV shows which version is running.

Everything else is set on the Settings page in the app. The book icon at the top of Riparr opens its guide, which covers each setting, phone setup and troubleshooting.

Settings as environment variables: most settings can also be set with a variable, like -e PLEX_TOKEN=... or -e AI_MODEL=.... A variable wins over the Settings page and locks that field there. A variable left blank counts as unset.

All the variables
Variable Long name
AGENTS_ENABLED Riparr__Agents__Enabled
USE_LOCAL_DRIVES Riparr__Drives__Local
MIN_TITLE_SECONDS Riparr__MakeMkv__MinLengthSeconds
MIN_FREE_SPACE_GB Riparr__Output__MinFreeSpaceGb
SKIP_COVER_IMAGE Riparr__Output__SkipCoverImageCopy
WATCH_DRIVES Riparr__Monitor__Enabled
DRIVE_POLL_SECONDS Riparr__Monitor__PollSeconds
AUTO_SCAN Riparr__Monitor__AutoScan
KEEP_ALL_LANGUAGES Riparr__Tracks__SelectAllLanguages
AUDIO_LANGUAGES Riparr__Tracks__PreferredAudioLanguages
KEEP_UNTAGGED_AUDIO Riparr__Tracks__KeepUnknownLanguageAudio
SUBTITLE_MODE Riparr__Tracks__SubtitleMode
SUBTITLE_LANGUAGES Riparr__Tracks__PreferredSubtitleLanguages
MOVIE_FOLDER_FORMAT Riparr__Naming__MovieFolderFormat
MOVIE_FILE_FORMAT Riparr__Naming__MovieFileFormat
SERIES_FOLDER_FORMAT Riparr__Naming__SeriesFolderFormat
SEASON_FOLDER_FORMAT Riparr__Naming__SeasonFolderFormat
EPISODE_FILE_FORMAT Riparr__Naming__EpisodeFileFormat
FEATURE_PLAYLIST_GRAPH Riparr__Features__PlaylistGraph
FEATURE_DISC_HINTS Riparr__Features__DiscHints
FEATURE_CONTACT_SHEETS Riparr__Features__ContactSheets
FEATURE_DIALOGUE_SAMPLES Riparr__Features__DialogueSamples
FEATURE_ONE_PASS_RIPPING Riparr__Features__OnePassRipping
FEATURE_EPISODE_SPLITTING Riparr__Features__EpisodeSplitting
DISCDB_API_URL Riparr__DiscDb__ApiUrl
DISCDB_IMAGE_URL Riparr__DiscDb__ImageBaseUrl
DISCDB_RECHECK Riparr__DiscDb__RecheckEnabled
DISCDB_RECHECK_HOURS Riparr__DiscDb__RecheckIntervalHours
DISCDB_CONTRIBUTE_URL Riparr__Contribution__BaseUrl
DISCDB_AUTH_COOKIE Riparr__Contribution__AuthCookie
DISCDB_COOKIE_SYNC_TOKEN Riparr__Contribution__CookieSyncToken
TMDB_TOKEN Riparr__Tmdb__ApiReadAccessToken
TMDB_API_URL Riparr__Tmdb__ApiBaseUrl
TMDB_IMAGE_URL Riparr__Tmdb__ImageBaseUrl
PLEX_URL Riparr__Plex__BaseUrl
PLEX_TOKEN Riparr__Plex__Token
PLEX_REFRESH_MINUTES Riparr__Plex__RefreshMinutes
PLEX_DISCOVER_URL Riparr__Plex__DiscoverBaseUrl
UPCITEMDB_API_KEY Riparr__UpcItemDb__ApiKey
UPCITEMDB_KEY_TYPE Riparr__UpcItemDb__KeyType
UPCITEMDB_URL Riparr__UpcItemDb__BaseUrl
USE_PLEX_WATCHLIST Riparr__WishList__UsePlexWatchlist
REMOVE_OWNED_FROM_WATCHLIST Riparr__WishList__RemoveFromPlexWatchlistWhenOwned
AI_ENABLED Riparr__Ai__Enabled
AI_PROVIDER Riparr__Ai__Provider
AI_BASE_URL Riparr__Ai__BaseUrl
AI_API_KEY Riparr__Ai__ApiKey
AI_MODEL Riparr__Ai__Model
AI_REASONING_EFFORT Riparr__Ai__ReasoningEffort
AI_REQUESTS_PER_MINUTE Riparr__Ai__RequestsPerMinute
AI_AUTO_SUGGEST Riparr__Ai__AutoSuggest
AI_AUTO_APPLY_CONFIDENCE Riparr__Ai__AutoApplyConfidence
SPEECH_MODEL Riparr__Ai__SpeechModel
STATUS_API_KEY Riparr__Api__Key

Updating: pull the new image and recreate the container (on Unraid, Apply Update). Your settings in /config carry over. :latest is the newest release, and :edge follows the main branch if you want to try changes before they're released.

Keep it on your home network

Riparr has no login. Anyone who can open its page can start rips, eject discs and change settings, so don't forward its port to the internet. To use it on your phone away from home, connect over a VPN such as WireGuard or Tailscale.

Run it on Windows or Linux without Docker

First install MakeMKV. Riparr doesn't include it. The downloads below include everything else, so you don't need to install .NET.

Windows: download the win-x64.msi from the latest release and run it. Riparr installs as a Windows service that starts with your PC, and the installer opens port 5193 in Windows Firewall for your home network. Open http://localhost:5193, or http://<this-pc>:5193 from your phone, and set your library folders in Settings. There's also a Riparr shortcut in the Start menu.

Settings and history are kept in C:\ProgramData\Riparr\data. Uninstalling or upgrading keeps them. To upgrade, run the newer MSI. If the service crashes, Windows restarts it after a minute.

A few settings aren't on the Settings page because Riparr only reads them when it starts, like turning on agents (see Use drives on another PC). Put those in C:\ProgramData\Riparr\data\appsettings.json, then restart the Riparr service. Upgrades leave that file alone. For example:

{ "Riparr": { "Agents": { "Enabled": true } } }

The service runs as the Local System account. It can't see mapped drive letters like Z:, so give a NAS library folder as a network path (\\nas\media\Movies). On a home network the service reaches the NAS as a guest. If your share needs a login, open Services, find Riparr, and on the Log On tab set it to run as your own Windows account.

Without installing: on Windows, download the win-x64.zip. On Linux, download the linux-x64.tar.gz. Unpack it and run:

# Windows
.\Riparr.Web.exe --urls http://0.0.0.0:5193

# Linux
./Riparr.Web --urls http://0.0.0.0:5193

Riparr keeps its settings and history in the data folder next to Riparr.Web. Keep that folder when you update to a new release.

Checking a download: the Windows downloads are code-signed (see the code signing policy). Each release also has a SHA256SUMS file listing the hash of every download. GitHub also records that each download was built from this repo by its release workflow. With the GitHub CLI you can check that yourself, for example:

gh attestation verify riparr-0.2.0-win-x64.msi -R rukas/riparr

The same works for the Docker image: gh attestation verify oci://ghcr.io/rukas/riparr:latest -R rukas/riparr.

You can also build it yourself with the .NET 10 SDK: git clone this repo and run dotnet run --project app/src/Riparr.Web.

Use drives on another PC

If your drives aren't in the machine that runs Riparr (say Riparr runs on Unraid and the drives are in a Windows laptop), install the Riparr Agent on the PC with the drives. Its drives then show up in Riparr next to any the server has, and you scan, review and rip them from Riparr as usual. The agent rips each disc on that PC and uploads the files to the server, which puts them in your library.

  1. Turn agents on in Riparr: set AGENTS_ENABLED=true (on Unraid, Riparr Agents in the template). If the server has no drives of its own, also set USE_LOCAL_DRIVES=false (on Unraid, Use this server's drives) and leave out --device (on Unraid, remove Optical drive). The server then doesn't need MakeMKV, or MAKEMKV_ACCEPT_EULA.
  2. In Riparr, open Settings → Agents, type a name for the PC (e.g. Laptop) and press Add an agent. It shows the server address and a token. The token is only shown once.
  3. On the PC with the drives, install MakeMKV and run RiparrAgent.exe from the latest release. Paste the address and token into its Settings, press Test connection, then Save. Tick Start Riparr Agent when I sign in to Windows so it's always there.

Once it connects, it shows up under Settings → Agents:

Settings → Agents in Riparr, with one connected agent and its two drives

The agent sits in the tray. Its window shows each drive's disc and how the rip and upload are going, with a link to open Riparr:

The Riparr Agent window on the PC with the drives: connected to the server, one drive ripping

It uses that PC's own MakeMKV and licence key, keeps the PC awake while it works, and won't fill the PC's disk: set how much space to keep free in its Settings. It's meant for your home network, not for use over the internet.

Optional: naming help from AI

Under Settings → AI you can pick Gemini, OpenAI, or Custom for any OpenAI-compatible server you run yourself, such as Ollama (http://<host>:11434/v1/, no API key). Riparr sends the model each title's screenshots and details, so the model has to accept images.

Gemini Flash works best. Local models on an 8 GB graphics card weren't good enough in testing: gemma3:4b runs but gets most names wrong, and Qwen's vision models run out of memory. Plan on more than 8 GB of VRAM if you want to run the model yourself.

Help and status

Riparr is young (0.1) and made by one person. If something doesn't work, check the guide's troubleshooting section first, then open an issue on GitHub Issues.

Credits

  • MakeMKV does the ripping.
  • Disc information comes from TheDiscDB.
  • This product uses the TMDB API but is not endorsed or certified by TMDB.
  • Barcode lookups for wish-list items use UPCitemdb.
  • Riparr isn't affiliated with MakeMKV, Plex, Jellyfin or Home Assistant.

Disclaimer

Riparr is meant for making backups of discs you own, where the law where you live allows it. It isn't meant for piracy or copyright infringement, and you're responsible for making sure your use of Riparr is legal where you are.

Code signing policy

Free code signing provided by SignPath.io, certificate by SignPath Foundation.

The Windows downloads (the MSI, the zip and RiparrAgent.exe) are signed so Windows can tell they really come from this project. Each one is built from this repository by the release workflow on GitHub's own build machines, and only Riparr's own files are signed. The third-party libraries inside are left as their makers shipped them.

Riparr is made by one person, so all three roles are the same account:

  • Committers and reviewers: rukas
  • Approvers: rukas, who approves every release before it's signed

Privacy

Riparr has no analytics or telemetry, and nothing is sent to the project. It talks to these services so it can do its job:

  • TheDiscDB, to recognise a disc from its file sizes or barcode. When you choose to contribute a disc, Riparr sends that disc's details there under your TheDiscDB account.
  • TMDB, to look up titles and posters.
  • UPCitemdb, to name a barcode TheDiscDB doesn't know.
  • Plex, only if you sign in to Plex in Riparr, to read your watchlist and library.
  • The AI service you pick under Settings → AI, only if you turn it on. It gets the screenshots and details of the disc you're naming. See Gemini and OpenAI, or your own server.
  • makemkv.com, from the Docker image only, to download MakeMKV.

The remote drive agent only talks to the Riparr server you point it at. Each service has its own privacy policy, linked above.

Development

The app is a .NET 10 Blazor Server solution in app/:

app/src/Riparr.Core/            matching, naming, hashing, releases
app/src/Riparr.Infrastructure/  MakeMKV, TheDiscDB, TMDB and Plex clients, drives, jobs, storage
app/src/Riparr.Web/             the web app
app/src/Riparr.Agent.Core/      the Riparr Agent's engine: hub connection, rips, uploads
app/src/Riparr.Agent/           the Riparr Agent for Windows (tray app)
app/tests/Riparr.Tests/         tests
app/tools/Riparr.Eval/          run the naming pipeline on a disc without the UI
app/tools/Riparr.Migrate/       move a data folder to a new host (riparr-migrate)
custom_components/riparr/       Home Assistant integration
ha_tests/                       Home Assistant integration tests
blueprints/                     Home Assistant blueprints
extension/                      TheDiscDB cookie-sync browser extension
docs/images/                    README screenshots
dotnet build app/Riparr.slnx
dotnet test  app/Riparr.slnx

To build the Docker image yourself: docker build -t riparr -f app/Dockerfile app.

To build the Riparr Agent as one RiparrAgent.exe (no .NET install needed on the PC):

dotnet publish app/src/Riparr.Agent -c Release -r win-x64

It ends up in app/src/Riparr.Agent/bin/Release/net10.0-windows/win-x64/publish/. RiparrAgent.exe --mock runs it on pretend drives, to try it without a disc.

License

GPLv3. See LICENSE.

About

Rip your Blu-rays and DVDs with MakeMKV, identify them automatically, and file them for Plex — with a Home Assistant integration.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages