A classification database of torrents seen on the BitTorrent DHT, with a ConnectRPC API
  • Go 94.3%
  • HTML 2.6%
  • CSS 1.6%
  • Go Template 1%
  • Nix 0.2%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-25 22:09:54 +00:00
.beads bd: update sync.remote 2026-11-06 17:41:08 +01:00
.forgejo/workflows Release by one dispatch, with pre-releases, from a VERSION file 2026-11-25 22:02:47 +00:00
.github CONTRIBUTING.md: the way to becoming a maintainer 2026-11-07 11:35:58 +01:00
charts/sniffarr sniff: remove the seeds no connected peer needs, -seed-idle 2026-11-25 21:51:27 +00:00
docs Release by one dispatch, with pre-releases, from a VERSION file 2026-11-25 22:02:47 +00:00
hack nats: fetch orders on FETCH_ORDERS behind IngestService.Fetch; task_queue keeps probes only 2026-11-25 21:51:26 +00:00
internal orders: TestRetryKeepsDiscovery waits for the orders it takes 2026-11-25 22:07:57 +00:00
packaging docs: the classifier named without Jev, its endpoint and key variables 2026-11-07 18:23:59 +01:00
proto/sniffarr/v1 probe: a release's quality, HDR and codec from its video track 2026-11-25 21:51:27 +00:00
tools Move the changelog checks to mikluko/changelog v2 and fragments (#32) 2026-11-25 16:31:55 +00:00
.gitignore Build the image from a Nix flake in place of the Dockerfile (#31) 2026-11-25 16:46:21 +00:00
AGENTS.md CONTRIBUTING.md: the use of AI, disclosed with the model 2026-11-07 17:22:53 +01:00
buf.gen.yaml build: code-generation tools in a module of their own, tools 2026-11-08 11:10:38 +01:00
buf.yaml API: IngestService and SearchService protos, generated with buf 2026-10-19 20:59:44 +02:00
CHANGELOG.md release: 0.47.0 2026-11-25 22:09:54 +00:00
config.go ui: languages through libarr v0.10.0's parser and resolver 2026-11-25 21:51:27 +00:00
config_test.go ui: languages through libarr v0.10.0's parser and resolver 2026-11-25 21:51:27 +00:00
CONTRIBUTING.md CONTRIBUTING.md: the use of AI, disclosed with the model 2026-11-07 17:22:53 +01:00
flake.lock Build the image from a Nix flake in place of the Dockerfile (#31) 2026-11-25 16:46:21 +00:00
flake.nix Release by one dispatch, with pre-releases, from a VERSION file 2026-11-25 22:02:47 +00:00
generate.go build: code-generation tools in a module of their own, tools 2026-11-08 11:10:38 +01:00
go.mod ui: languages through libarr v0.10.0's parser and resolver 2026-11-25 21:51:27 +00:00
go.sum ui: languages through libarr v0.10.0's parser and resolver 2026-11-25 21:51:27 +00:00
install.sh README: what it is and how to install; the rest as pages under docs 2026-11-06 18:15:48 +01:00
LICENSE API: IngestService and SearchService protos, generated with buf 2026-10-19 20:59:44 +02:00
main.go app: -pprof serves the runtime profiles 2026-11-25 21:51:27 +00:00
main_test.go nats: internal to the API, Sight publishes sightings, a leaf uplink 2026-11-25 21:51:14 +00:00
README.md sources: poll Torznab sources for their latest listings 2026-11-25 21:51:27 +00:00
VERSION release: 0.47.0 2026-11-25 22:09:54 +00:00

sniffarr

sniffarr is a private classification database of BitTorrent torrents discovered on the DHT, with an API to search it. Its web UI is a catalogue of movies and series as TMDB knows them, each with the releases of it the DHT carries; a search looks in the database and on TMDB together, so it also finds what has no release yet.

The database and the API are meant to stay private: run them for yourself, not as a public index. Peer IP addresses are never sent to the server or stored: peers are counted in HyperLogLog sketches of keyed hashes, from which no address comes back. The sniffer fetches metadata only: it never downloads pieces, never uploads, and never announces itself into a swarm. The fetcher does so only with -probe: it downloads the first pieces of a stored release's main video file to read its tracks, and seeds them back; see Probes.

The repository is sarak.sh/mikluko/sniffarr, mirrored hourly to github.com/mikluko/sniffarr.

Install

One process on a Linux host, as a systemd service:

curl -fsSL https://sarak.sh/mikluko/sniffarr/raw/branch/main/install.sh | sh

On Debian/Ubuntu the script installs the package from the sarak.sh Debian registry; elsewhere, the release archive. Each way has its guide:

The Compose and systemd guides also give a container or a service per component.

Documentation

  • Components: the -api, -ui, -sniff and -fetch components, what each does and how they fit together
  • Probes: reading the audio tracks of releases from their first pieces, and seeding them back
  • API: the ingest, browse and search services, and calling them from a shell
  • Torznab: the indexer Prowlarr, Radarr and Sonarr search
  • Radarr and Sonarr: their webhook and grab history as demand and as matches
  • Torznab sources: the latest listings of Torznab indexers as a source of releases
  • Web UI: the pages, their parameters and the language
  • Configuration: every flag and variable of every component
  • Telemetry: metrics, traces and logs
  • Helm: the chart, a Deployment per component or one process
  • Development: building the image, generating code and cutting a release

Contributing

Proposals, not code; see CONTRIBUTING.

License

MIT; see LICENSE. The web UI ships JetBrains Mono under the SIL Open Font License 1.1 and Lucide icons under the ISC License, both from libarr's ui package, which carries their license files.