# fanpei91/torsniff

torsniff - a sniffer that sniffs torrents from BitTorrent network

Repository: https://github.com/fanpei91/torsniff
Canonical: https://ross.abutalabs.com/products/torsniff
Language: Go
License: MIT
License Family: permissive
Topics: dht, bittorrent-protocol, metadata, bep0005, bep0009, bep0010, bep0003, golang
Archived: true
Last push: 2021-04-26T03:31:06+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3839, "days_push": 1955, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4014, forks 890 (observed 2026-08-28T04:08:32.364547+00:00)

## What it is
torsniff is a Go CLI tool that sniffs torrent metadata from the BitTorrent network by participating in the DHT and connecting to peers to download .torrent files. It can be used to build a torrent database or perform data mining and analysis.

## Use cases
- collect torrent metadata from the bittorrent dht network
- build my own torrent database like the pirate bay
- sniff .torrent files passively from dht traffic
- mine and analyze bittorrent download trends
- capture torrent info hashes and metadata at scale

## When to choose
- you need to passively collect large volumes of torrent metadata
- you want a fast, single-binary Go tool with no dependencies
- you have a host with a public IP or UDP port forwarding

## When to avoid
- you want to download actual torrent content rather than metadata
- your network or ISP blocks BitTorrent traffic
- you need an actively maintained project - the last release was 2021

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: web-scraping, parser, cli, networking, p2p
- domain: networking, crawlers, files
- platform: windows, cli, go
- tags: bittorrent, dht, torrent-sniffer, metadata-crawling, data-mining, data-engineering, linux, macos

## Member repositories
- fanpei91/torsniff (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:32.364547+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:59.930902+00:00, confidence not recorded.
  - readme: https://github.com/fanpei91/torsniff (fetched 2026-08-28T04:08:32.364547+00:00, sha 6e26097cecb0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
