r/selfhosted • u/DonDroidBB8 • 2h ago
Release (AI) Curatarr: a self-hosted AI curator for Plex/Jellyfin and the *arr stack that makes a case before anything is deleted (local LLMs only)
Hello People of the internet and welcome to my little paragraph about a tool that I am by now somewhat proud of. I feel like it is at a point where I do not need to keep it private anymore and can share it with others that might have an interest in the same niche of software that I have.
So what even is this. Curatarr is a curator for a Plex or Jellyfin library. It learns what each person in the household actually watches and listens to, recommends what's worth adding, and proposes what to delete, with a written case for every proposal. Every prompt runs on Ollama on your own hardware, nothing goes to a hosted LLM. That also means there is no cloud fallback: no GPU, no curator. I don't make the rules. Well, I do, they're in the prompt. Emby support might come eventually but its not my top priority unless people actually find this useful and use Emby. I did experiment with Jellyfin before, thats why I added support for that.
Why: most library tools tell you what you have and what's unwatched, not whether it's worth keeping. A show one person dropped after three episodes can be someone else's comfort rewatch, and I wanted a tool that knows the difference, tells you and argues with you about it. Personalised "intelligent" recommendations instead of a complex set of rules thats hard to set up and maintain. That wouldn't have saved me anything though, the time I spent on this project would easily have been enough to build a very, very complicated set of rules for new playlists.
What it does
- A taste profile per household member, from real plays (Plex or Jellyfin, plus Spotify and Netflix exports (Netflix currently untested))
- Recommendations from your library, or to add through Radarr/Sonarr/Lidarr (tracks you wish for go to SoulSync's wishlist), each with a short pitch why it fits you
- Deletion proposals judged from cached metadata (TMDB, OMDb, AniList, MusicBrainz, Last.fm, Wikipedia) and from what the household actually watches. Nothing is deleted until you approve it, and award winners are only ever your call, cause if you curate a library you might want to at least talk about those.
- Chat about anything you own, answered from the play record and those facts, not from what a model half-remembers. This took the most time to build: getting the models to actually listen to the rules I tried to enforce.
- Semantic search in your own library, like "something like X but darker". It shows why each hit matches and admits when nothing fits. This one was a lot of fun to build.
- It learns from you. Tell it once that a franchise matters to you and similar titles are protected from then on. Rules it works out from your arguments only count after you approve them.
- Swipe: rate titles you've seen somewhere else (cinema, Netflix, at a friends place), one card at a time. Your library only knows what you played in it, this fills in the rest of your taste, and "want to watch" goes on your watchlist.
- Wrap-Up: a period review for every member (30 days up to all time), played as a story on a phone. Basically Spotify Wrapped for your whole library, except this one actually roasts you. The numbers are computed, the roast and the toast come from the curator. I think this one is pretty solid but I could push it a little further.
- Three tones for the curator, set per user: friendly, neutral and sharp, depending on how much snobbery you can take. Sharp has strong Letterboxd energy, but it's only snobby about the titles, never about you.
- Playlists and collection shelves written back to Plex or Jellyfin (on Jellyfin depending on which plugins your server has, since it cant do everything out of the box).
- On a NAS it can borrow a PC's GPU on the local network, and it steps aside when a game or your own GPU job is running. It asks you about every unknown program that uses the GPU, cause I did not want to list every game exe I know. That part needs a Windows PC (the tray app runs the agent), a Linux GPU box works as a plain Ollama endpoint, just without the game detection. If the NAS can't find your PC, it's DNS. It's always DNS.
- Installable as a web app on your phone, and I think by now it looks and feels like a somewhat modern app.
Give it time
This is not an app that's ready in its full depth after five minutes. The LLM is forbidden by rule to make things up, so it can only really argue about a title once it has information about it, and before that its answers are thin and shallow. Depending on your library size the first enrichment takes a while, good moment to add another dashboard to your homelab. It gets better over time: its data gets better, its arguments get sharper, and it learns with you and from you. Swipe helps a lot at the start if your watch history is as short as mine.
Requirements and honest limits
- A GPU. The default model wants 24 GB of VRAM, cause thats what I had when I started; for 4–16 GB cards the setup fills in a smaller model benchmarked for that size - on a 24 GB GPU, so the memory numbers should be accurate but speed is a different thing (docs/BENCHMARKS.md). AMD works through ROCm but isn't benchmarked yet cause there are none in this household. If anybody with an AMD card is willing to send me their numbers that would be amazing. Team red, this is your moment.
- One media server per install, Plex or Jellyfin, not both at once. I'm not picking a side in that war. Plex is the most tested path. Jellyfin (10.9+) is newer but fully tested on a live instance, including switching back and forth, so if you ever switch your curation comes with you.
- Runs as a container (
ghcr.io/randomname653/curatarr), on Windows with a tray app, or by hand on Linux/macOS, all explained in the README and docs. The image is amd64 only for now, ARM is on the roadmap. - Radarr/Sonarr/Lidarr/SoulSync are optional; without them it learns the library from Plex or Jellyfin, but can't add or delete movies and shows.
- It can delete media. Approving a proposal removes the files through the *arr and adds them to its blocklist. It never deletes anything on its own, no Skynet for your Linux ISOs. Unless I made a very stupid bug, but that never happened since May when I started the project (bugs of course, but no deletion), so it should be free of the heaviest bugs.
On AI use: most of this code was written by AI (Claude and others), directed, reviewed and tested by me against my own household's library every day. The README says so at the top. What I can offer instead of authorship is process: 358 (so far) test suites in CI on every push, CodeQL/Bandit/OSV scans, and a changelog that records the failures as thoroughly as the features. What was not made by AI but by a human is my awesome logo/brand design ;) The first 273 commits are in a private repo, the rest is completely visible on GitHub for you to read through if you like. I am still working out a way to keep the changelog, release notes, versions, tags etc. clean but haven't found one that satisfies me yet.
Current version 1.2.1, AGPL-3.0. So far it runs in one household, so I'd especially like to hear from other setups, Jellyfin and AMD most of all.
Screenshots show a demo household; titles, metadata and the curator's text are real output.
