Skip to content
프로젝트

소개

Find out which Usenet indexers are worth keeping. Watches your Radarr/Sonarr grabs, compares what each indexer offered, and flags redundant ones. Self-hosted, Docker, home-network only.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

IndexWatch

Find out which of your Usenet indexers actually earn their keep.

IndexWatch watches your Radarr and Sonarr. After every grab it asks them to search again and records what each indexer offered, then tells you which indexers are decisive (the only one with the best release), which are redundant, and which are candidates to cancel, so you can stop paying for subscriptions you don't need.

Try the live demo (sample data, read-only; it sleeps when idle, so the first load can take about a minute).

The Indexers page: one row per indexer with grabs, import rate, decisive counts and a Keep / Drop candidate verdict

[!WARNING] IndexWatch is for your home network only. Do not expose it to the public internet. It has one shared password, no HTTPS and no two-factor sign-in, it stores your Radarr/Sonarr API keys, and a stranger who can reach the login page can lock you out by guessing wrong. Do not port-forward it. To reach it away from home, connect to your network with a VPN (WireGuard, Tailscale or similar). Details are in Security and privacy.

What it tells you

  • Decisive: this indexer was the only one offering the top-ranked release. Zero over many grabs suggests it is redundant.
  • Joint redundancy: two indexers that always offer the same release each look unnecessary alone, but dropping both loses it. Tick the ones you are thinking of cancelling and see what you would have lost.
  • Import and failure rates per indexer, and a plain-language Keep / Drop candidate verdict.
  • Every grab, searchable: what was offered by whom, and why anything was rejected.
  • Anonymised export for asking an AI or a friend for a second opinion. Nothing that says what you download is included.

It defers to Radarr/Sonarr entirely. IndexWatch applies no size, quality or language rules of its own, so anything they rejected for a real reason is ignored.

Screenshots

Joint redundancy: tick indexers to drop and see what would be lost Grabs: search, filter and sort every grab
Joint redundancy. What you would lose by dropping indexers together. Grabs. Search, filter, sort and page through the whole history.
First-start setup guide Settings in dark mode
Setup guide. Walks you through the first start. Settings, dark mode. Follows your system theme.

The Indexers page on a phone

How the checks work

IndexWatch talks to your Radarr and Sonarr. It never contacts your indexers and never holds their API keys. The only other thing it talks to is GitHub, about once a day, to see whether a newer version is available (see Backups and upgrading). That can be switched off.

After a grab, at your check times (5 minutes and 24 hours by default), IndexWatch asks Radarr/Sonarr to run the same search as Interactive Search for that movie or episode and reads the ranked results back. Radarr and Sonarr make the actual indexer API calls (directly, or through Prowlarr or NZBHydra2 if those sit in between). To an indexer, a check looks like any other search from your *arr.

Why search again instead of reading it from Radarr/Sonarr? Their history only records the release they grabbed, not what the other indexers offered at that moment, and a grab often comes from an RSS feed that never asks every indexer.

API limits: each check is roughly one search per indexer, so each check time multiplies the number of API hits. If your indexers have daily limits, you can leave the early check empty and search only once per grab (Settings, Checks).

How is this different from Prowlarr and NZBHydra2 stats?

Prowlarr and NZBHydra2 show how each indexer behaved: how many searches and grabs it handled, how fast it answered, how often it failed. That tells you an indexer is busy or reliable. It doesn't tell you whether you needed it.

IndexWatch asks that question about each grab. After a grab it searches again and records what every indexer offered, ranked the way Radarr/Sonarr rank releases. An indexer that was the only one with the best release is decisive; one whose best release was always matched by another is a candidate to drop. It also shows which indexers you'd lose together, and what would have happened to your actual grabs without them. The two are complementary: use Prowlarr or NZBHydra2 for response times and errors, and IndexWatch to decide which indexers are worth keeping.

What you need

  • Radarr and/or Sonarr (any current version; IndexWatch uses the v3 API they all share).

  • Your indexers added to Radarr/Sonarr as separate entries, one per indexer. This is the key requirement, because IndexWatch compares indexers by the names Radarr/Sonarr report. Any of these works:

    • Prowlarr: Settings, Apps, add Radarr/Sonarr with Full Sync. Each indexer becomes its own entry and priorities carry over.
    • NZBHydra2: in its config, use the button that configures NZBHydra in Radarr/Sonarr and choose one entry for every configured indexer (not a single entry).
    • Directly: Radarr/Sonarr, Settings, Indexers, add each indexer yourself.

    Avoid a single combined entry (for example NZBHydra2 added once for all indexers). Radarr/Sonarr may then not report which indexer a release came from, and Hydra may merge identical releases before IndexWatch sees them.

  • Optional: priorities, cheapest first. Radarr/Sonarr use an indexer's priority only as a tiebreaker (1 is highest, 50 lowest, 25 default). If your cheapest indexer has the best priority, the Grabs and Import rate columns show what each indexer delivers when it is not the cheaper choice. IndexWatch works without it, and the check-based columns do not depend on it.

  • Optional: quality profiles and custom formats. IndexWatch ranks the releases an indexer offered the way Radarr/Sonarr do (quality first, then custom format score), so its verdicts are only as meaningful as your profiles. If yours aren't set up yet, the TRaSH Guides explain quality profiles, custom formats and scoring for Radarr and Sonarr.

  • A machine that runs Docker, on the same network as Radarr/Sonarr.

Quick start

Save this as docker-compose.yml (or paste it into a Portainer stack's web editor):

services:
  indexwatch:
    image: ghcr.io/electrobento/indexwatch:latest   # or pin a version, for example :0.1.0
    container_name: indexwatch
    restart: unless-stopped
    ports:
      - "8088:8080"            # to allow only this machine: "127.0.0.1:8088:8080"
    volumes:
      - indexwatch_data:/data
    # To reach Radarr/Sonarr by container name, join their Docker network:
    # networks: [arr]

volumes:
  indexwatch_data:

# networks:
#   arr:
#     external: true
#     name: YOUR_RADARR_NETWORK_NAME
docker compose up -d

Open http://your-docker-host:8088. A short setup guide takes it from there: choose a password, check your indexer setup, connect Radarr/Sonarr (with a Test button, and how many days of history to read), add the webhooks (it confirms when a test arrives) and pick your timezone. Every step after the password can be skipped, and you can run the guide again any time from Settings, Setup guide in the menu on the left. No environment variables are needed.

If Radarr/Sonarr can't be reached by name, use the host's IP (http://192.168.x.x:7878) or join their Docker network (the commented networks lines above).

Images: latest follows the newest release; 0.1.0 and 0.1 are pinned. Images are built for amd64 and arm64.

Build it yourself: clone this repository and run docker compose -f docker-compose.build.yml up -d --build.

Verdicts take time. A verdict needs a minimum number of final checks (30 by default), and checks happen 5 minutes and 24 hours after each grab, so expect "Not enough data" for a while, depending on how much you download.

First start, login and where settings live

  • Password: the first time you open the dashboard it asks you to choose one (at least 8 characters, no username). After that every page, the JSON endpoints and the exports need it. /health and the webhooks do not (webhooks use their own token). After five wrong guesses in a row, logins are locked for 30 seconds, doubling each time up to 15 minutes.
  • Forgot it? docker exec -it indexwatch python -m app.reset_password sets a new one and signs everyone out.
  • Settings live in the database, edited on the Settings page, and take effect at once. A brand-new install starts with no instances and a random webhook token.

Instances (Radarr and Sonarr, one or many)

The Instances page lists every Radarr and Sonarr IndexWatch watches. For each one you can:

  • Add: choose Radarr or Sonarr, give it a name (any text, just a label), its address (http://host:7878) and API key. Test connection asks the instance who it is and shows its version; it also catches a Sonarr address entered as Radarr, a rejected key, or a wrong port. Saving requires a passing test (with a Save anyway button if you know better). The instance starts working at once and its recent history is read straight away (90 days by default; the setup guide asks, and it is under Settings, Syncing).
  • Edit: change the name, address or key (leave the key blank to keep it). History stays attached.
  • Disable / enable: a disabled instance stops syncing and checking, and nothing is lost. Checks that fell due while it was off are skipped when it comes back, because running them hours late would record them wrongly as "5m" checks.
  • Remove: forgets the address and key. The history and the name stay in your data and exports. Adding the same Radarr again creates a new instance.
  • Webhook address: shown for each instance with a Copy button. It is built from the address saved in Settings, Webhooks (blank means the address from your browser). If Radarr/Sonarr reach IndexWatch differently from your browser (usually http://indexwatch:8080 on a shared Docker network), set that address there.

In Radarr/Sonarr add the webhook under Settings, Connect, +, Webhook, method POST, trigger On Grab only, and use Test to confirm. Without the webhook, grabs are found by polling history every sync interval, which still works but can miss the early check.

Single-episode Sonarr grabs get the same re-search and comparison as movies. Season packs and multi-episode releases are recorded (outcome and import rate, shown under Packs) but not compared, and pack results in the search are excluded when comparing single episodes.

Each instance has an ID (radarr, radarr2, sonarr, ...), its permanent identity, and a name, which is only a label.

  • History and webhook addresses belong to the ID. Renaming changes only the label: nothing is re-imported or split.
  • IDs are never reused, not even after a removal, so old history can never be attributed to a different client.
  • Client filter. Instances that share a name are grouped, so naming a client's Radarr and Sonarr the same lets the dropdown show both together.
  • The older webhook form /webhook/radarr/NAME still works (it matches the ID or the name).

Per-indexer numbers pool all instances by default; use the dropdowns to filter by app or client. Indexer names must match across instances to pool, which they do when the same Prowlarr or NZBHydra feeds all of them.

Merging indexers. IndexWatch identifies an indexer by its name. If you rename one, or the same indexer appears under two names, open Merge two indexers (the note under the table on the Indexers page): pick the old and the new name, check the numbers on the next screen and confirm, and everything recorded under the old name moves to the new one (a merge can't be undone automatically, and Stop mapping only affects what arrives later). IndexWatch also remembers the id Radarr and Sonarr give each indexer. When an id comes back under a new name, the Indexers page offers a prefilled merge. It is only a suggestion, never an automatic merge, because ids can be reused (for example after restoring a backup or reinstalling) and two different indexers must not be combined by accident. NZBHydra2 gives a renamed indexer a new id, so a rename there is always a manual merge.

Grabs page

Every grab IndexWatch has recorded, newest first, in pages of 50 (or 100 / 250). Search by title, release name or indexer (every word must match); open Filters for outcome, indexer, instance and date range (days follow your timezone setting); sort by any column heading, or with the Sort by / Order boxes on a phone. Everything is in the page address, so a filtered view can be bookmarked. "Entire history" means what IndexWatch has stored: an instance's older history is only read back as far as the "days of history" setting when it was added.

Excluding a grab. If something went wrong at the time of a grab, for example an indexer was unreachable during a check so the search came back incomplete, open the grab and choose Exclude from statistics. An excluded grab stays in the Grabs list (tagged, and filterable under Filters, Statistics) but is left out of every count, the Redundancy page and exports. Nothing is deleted, and Include in statistics again on the same page undoes it. The Indexers page says how many grabs are excluded and links to them. When the indexer a grab came from returned nothing at a check, the grab page says so in a note, as a hint that the search may have failed. The check still counts unless you exclude the grab, because IndexWatch cannot tell an unreachable indexer from one that removed the release.

Settings

The list on the left switches between sections (Checks, Syncing, Display, Updates, Rejections to ignore, Webhooks, Webhook token, Restore defaults); All settings at the bottom shows them all on one page. Each section has its own Save button and saves independently.

Setting Default Meaning
Early check 5m Optional. When to search the first time after a grab (m/h/d), to see how fast each indexer is. Leave empty to skip it.
Final check 24h The second search, and the one the verdicts use. Must be longer than the early check. Only new grabs use new times: a grab keeps the checks it was created with.
Minimum checks 30 Final checks needed before verdicts show
Sync interval 5 min How often Radarr/Sonarr history is read
Backfill days 90 History read when an instance is first added
Timezone UTC Times on the pages and in the log (the database always stays UTC)
Update notice on About once a day, asks GitHub whether a newer version exists and shows a notice at the top of every page. Off means IndexWatch makes no internet connections at all.
Rejections to ignore library-state phrases Rejections that only describe your library (already in the queue, file already on disk) and don't disqualify a result. Leave these alone unless you understand the impact.
Address for webhooks browser address Used to build the webhook addresses on the Instances page
Webhook token random Sent with every webhook; can be regenerated (then update the webhook in each Radarr/Sonarr)

Restore defaults resets the first five rows and leaves timezone, update notice, address and token alone.

Joint redundancy

The Redundancy page answers "what would I lose if I dropped these indexers together?". The Indexers page judges each indexer alone, so two indexers that always offer the same release both look unnecessary, yet dropping both loses it.

Tick the indexers you are thinking of dropping and click Show what I would lose. The result is in plain language: how many grabs would still have had their best release, how many would get a worse one (and how much worse), which dropped indexers had offered the lost releases, and whether the loss comes from ties among the dropped ones (each alone covered, the combination not). A line above the picker lists a set that can be dropped together with no measured loss.

It uses each grab's final check and the same filters as the dashboard (apps, client, window). Season packs and failed downloads are not included: a failed grab earns no credit, and the retry (a new grab) stands for the episode. Failed grabs stay in the Grabs, Failed and Import rate columns, and in the export with their outcome. Below the summary, the grabs that would have gotten a worse release are listed with the best release that was offered and the one you would get instead, each with its quality and score, worst losses first. A JSON version is at /api/redundancy.json (it includes the list without titles or release names, like the exports) (repeat drop=NAME for each indexer). As with the verdicts, treat small samples (under the minimum-checks setting) as rough.

Exporting data for analysis

Export in the menu downloads grabs.csv, candidates.csv, indexers.csv, a plain-language dictionary.txt, or everything as one .zip. The same app, client and window filters apply. By default nothing that says what was downloaded is exported: no movie or show names, release names, filenames, GUIDs, download ids or Radarr/Sonarr ids. Rows use an anonymous grab_id. Releases offered by several indexers are linked by a salted one-way release_key, and raw rejection text is reduced to categories. If you want names (for your own analysis), tick Include show/movie and release names on the Export page: that download then also has the show or movie title, the release names and the full rejection text. The box is never remembered, so every download is anonymous unless you tick it, and the files are named ...-with-names-... so you can tell them apart. GUIDs, download ids and Radarr/Sonarr ids are never exported. Instance names are exported as you named them, so use neutral names if client identity matters. API keys are never exported. Give an AI the .zip (or the CSVs plus dictionary.txt) for a second opinion.

Reading the dashboard

Hover, tap or keyboard-focus any column heading for an explanation of it. On phones each indexer appears as a card.

  • Decisive (final): this indexer alone offered the top-ranked release. Zero over many grabs suggests it's redundant.
  • Decisive (early) but not final: the indexer was fast, not unique. Other indexers caught up.
  • Top-ranked: offered the best release, possibly sharing it with others.
  • Avg score lead: how many custom format points it beat the next-best indexer by when decisive.
  • Two time spans: Grabs, Packs, Imported, Failed and Import rate cover every grab in the window, including history read when the app was set up. The check-based columns (Decisive, Top-ranked, Offered results, Avg score lead) only exist for grabs made while IndexWatch was running, because old search results can't be re-run.
  • Grab page: the top shows the result of every check (5m, 24h) in one place; the full result tables follow.
  • Click a number (Grabs, Imported, Failed, Decisive, Top-ranked, Offered results) to see exactly the grabs behind it, in the same window and filters. A decisive grab is credited to the indexer that was the only source of the best release, which can differ from the one the grab actually came from; the Indexer column shows where it came from.
  • Verdicts are a prompt to look, not a command. Check the Grabs pages before dropping anything.

Security and privacy

Internal use only. IndexWatch is designed for a trusted home network. Do not expose it to the public internet, with or without a reverse proxy in front. Reasons: a single shared password, no two-factor sign-in, no HTTPS of its own, and a login lockout that is global (anyone who can reach the login page can keep you locked out by guessing wrong). To use it away from home, connect to your network with a VPN. A reverse proxy with HTTPS on your own LAN is fine.

  • What is stored, and where: everything lives in the data volume (/data). It holds your Radarr/Sonarr API keys in plain text (IndexWatch has to send them), the dashboard password as a salted scrypt hash, and the webhook token. Treat the volume and any backup of it like a password file. The CSV exports never contain API keys, and API keys are never written to the logs.
  • Logs: the webhook token is part of the webhook address, so it would appear in the container's access log. IndexWatch masks it (token=***). Even so, read your logs before pasting them into a bug report.
  • Cookies: the session cookie is marked Secure automatically when served over HTTPS (including X-Forwarded-Proto: https from your proxy).
  • Webhooks: anyone who knows the webhook token can send fake events to IndexWatch. If it leaks, create a new one on Settings, Webhook token, and update the webhook address in each Radarr/Sonarr.
  • No telemetry: apart from your Radarr and Sonarr, the only thing IndexWatch contacts is GitHub, about once a day, to see whether a newer version is available. That request carries nothing about your setup, only the app name and version. Turn it off under Settings, Updates and IndexWatch has no internet features at all. The pages load no outside fonts, scripts or images.

To report a security problem, see SECURITY.md.

Backups and upgrading

The database runs in WAL mode, so indexwatch.db alone can be incomplete while the app is running. Stop the container first and copy the whole data volume, or copy indexwatch.db, indexwatch.db-wal and indexwatch.db-shm together. A clean stop folds everything into the main file.

To upgrade, back up first, then docker compose pull && docker compose up -d. The database is upgraded in place on start. Changes between versions are listed in CHANGELOG.md.

Update notice: about once a day IndexWatch asks GitHub for the latest release. When yours is older, a notice at the top of every page says so, with a link to what's new and the command above (you can hide it for that version). The check can be turned off under Settings, Updates, and it never runs in demo mode or in an image you built yourself. The update itself is always done in Docker.

Known limits

  • Rank is (quality, custom format score). Releases of the same quality (for example Bluray-1080p Remux) are one tier, so a PROPER/REPACK does not outrank another release of that quality; the custom format score decides. (Radarr/Sonarr add a small bump to a PROPER/REPACK's quality weight; IndexWatch ignores it.) Candidates rejected for reasons other than library state (blocklisted, wrong language, below minimum score) are excluded.
  • Failed downloads often come from your Usenet provider's retention or completion rather than the indexer.
  • Each check is a full multi-indexer search. Watch your indexers' API limits; the early check is optional.
  • If the database can't be read at start (disk full, wrong permissions, damage), IndexWatch refuses to start and says why. It never moves or replaces the file. Free the disk space or fix the permissions and restart.
  • One shared dashboard password, no usernames and no HTTPS of its own: internal use only (see above).

Demo mode

DEMO_MODE=1 runs IndexWatch with invented sample data, read-only and without a login, so you can show the interface on a public page without exposing anything real. It is for a separate deployment only and refuses to start next to a real database. See docs/DEMO.md, including how to host it for free on Render.

Look and feel

The pages use a calm "ledger" style with a light and a dark theme. IndexWatch follows your browser or system setting; the moon/sun button in the top bar switches it, and the choice is remembered in that browser. Everything is self-contained: the fonts and icons are bundled and no page loads anything from the internet.

Development

Python 3.12, FastAPI, Jinja2 and SQLite; no front-end build step. To run the tests, install requirements.txt and run each file in tests/ with python tests/<name>.py: test_analysis, test_export, test_redundancy, test_revision (a PROPER/REPACK does not outrank the same quality), test_grabpage (the Top badge and Not counted tags), test_exportnames (names in exports only when asked), test_updates (the update notice), test_exclude (excluding a grab, and the note when its own indexer returned nothing), test_scheduling (new check times only affect new grabs), test_indexers (merging indexers and the rename hint), test_favicon, test_auth (login, first-run setup, one-time import of the environment), test_instances (the Instances page), test_settings (the Settings page), test_grabs (search, filters, sorting and pages on the Grabs page), test_wizard (the setup guide), test_logging (the webhook token never appears in logs), test_dbsafety (a database that can't be read is never moved or replaced), test_demo (demo mode is read-only and refuses real data). tests/mock_radarr.py and tests/mock_sonarr.py are fake servers for trying the app without a real Radarr/Sonarr. See CONTRIBUTING.md before opening a pull request.

About this project

IndexWatch was written almost entirely by AI (Anthropic's Claude), working from my requirements, design decisions and testing against my own Radarr/Sonarr/NZBHydra setup. I review what it produces and run it myself, but it has not had an independent code audit. Keep that in mind, especially around the security notes, and please report anything that looks wrong.

License

IndexWatch is free software, released under the GNU General Public License v3.0 only (SPDX: GPL-3.0-only). The full text is in LICENSE.

Third-party notices

The interface bundles these, each with its own license text in this repository:

  • Commissioner typeface, copyright 2019 The Commissioner Project Authors, SIL Open Font License 1.1 (app/static/fonts/Commissioner-OFL.txt).
  • Spline Sans Mono typeface, copyright 2022 The Spline Sans Mono Project Authors, SIL Open Font License 1.1 (app/static/fonts/SplineSansMono-OFL.txt).
  • Lucide icons, copyright 2026 Lucide Icons and Contributors, ISC License (app/static/Lucide-ISC-LICENSE.txt).

Python dependencies (FastAPI, Uvicorn, HTTPX, Jinja2, tzdata) are installed from PyPI at build time under their own licenses, all compatible with the GPL.

관련 프로젝트 살펴보기

불러오는 중…