bittorrent-tracker

bittorrent-tracker

BitTorrent tracker client and server for HTTP, UDP, and WebSockets

1.9kstars
335forks
Last commit: 4mo ago
Repo age: 12y old
bittorrent-tracker screenshot

bittorrent-tracker is a Node.js implementation of a BitTorrent tracker, providing both client and server components. It handles announce and scrape requests to help BitTorrent clients discover peers and track swarm statistics across supported tracker protocols.

Key Features

  • Client and server implementations in one package
  • Supports HTTP/HTTPS trackers, UDP trackers (BEP 15), and WebSocket-based trackers used by WebTorrent
  • Announce and scrape support, including multi-scrape
  • IPv4 and IPv6 support
  • Optional web-based tracker statistics with JSON output endpoints
  • Server-side filtering hook for allow/deny logic (e.g., private tracker behavior)
  • Command-line interface to run a tracker server

Use Cases

  • Running a public or private tracker for distributing torrents within a community or organization
  • Powering WebRTC-friendly tracker infrastructure for WebTorrent browser swarms
  • Integrating tracker client functionality into custom Node.js BitTorrent tooling

Limitations and Considerations

  • Tracker state is primarily in-memory by default, so persistence and horizontal scaling require external design decisions
  • WebSocket tracking is primarily aimed at WebTorrent/WebRTC clients and may not be relevant for all BitTorrent ecosystems

bittorrent-tracker is a practical choice when you need a lightweight, well-tested tracker stack in JavaScript, with support for mainstream tracker protocols and straightforward operational tooling. It fits both standalone tracker deployments and programmatic embedding into other BitTorrent applications.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Pi-hole

Pi-hole

Network-wide DNS sinkhole for ad and tracker blocking

55.3k
3k
Last commit: 1mo ago

Pi-hole is a network-wide DNS sinkhole that blocks ads and trackers for all devices on your network, with a web dashboard, query logs, and optional DHCP server.

Alternative to:
AdGuard
AdGuard
+7
AdGuard Home

AdGuard Home

Network-wide DNS server that blocks ads, trackers, phishing and malware

32.1k
2.2k
Last commit: 1d ago

Open-source DNS-based ad & tracker blocking server for networks. Offers per-device rules, parental controls, encrypted upstream DNS (DoH/DoT/DNSCrypt), web UI and API.

Alternative to:
AdGuard
AdGuard
+5
MyIP (IPCheck.ing)

MyIP (IPCheck.ing)

Open-source IP toolbox for IP, DNS, WebRTC and network diagnostics

9.6k
1.1k
Last commit: 12d ago

MyIP (IPCheck.ing) is an open-source web IP toolbox that detects local/public IPs, runs DNS leak and WebRTC checks, speed/latency/MTR tests, availability and whois lookup...

Alternative to:
WhatIsMyIPAddress.com
WhatIsMyIPAddress.com
+10
Technitium DNS Server

Technitium DNS Server

Authoritative and recursive DNS server with web console

7.3k
616
Last commit: 28d ago

Cross-platform DNS server with authoritative/recursive modes, encrypted DNS (DoH/DoT/DoQ), DNSSEC, ad/malware blocking, DHCP, and an HTTP API with web admin UI.

Alternative to:
Cloudflare DNS
Cloudflare DNS
+10
Blocky

Blocky

Fast, lightweight DNS proxy and ad-blocker in Go

5.9k
257
Last commit: 1d ago

Open-source DNS proxy and network-wide ad-blocker for local networks. Supports DoH/DoT, per-client rules, caching, deep CNAME inspection, Prometheus metrics, Docker and H...

Alternative to:
NextDNS
NextDNS
+7
Unbound

Unbound

Validating, recursive, caching DNS resolver

4.2k
421
Last commit: 2d ago

Standards-based validating recursive DNS resolver with DNSSEC validation, DNS-over-TLS/HTTPS support and configurable caching for privacy and performance.

Alternative to:
Cloudflare DNS
Cloudflare DNS
+9