VibeHunt
Back to browse

bittorrent-tracker

Simple, robust, BitTorrent tracker (client and server) implementation.

The package provides a Node.js implementation of a BitTorrent tracker that can act as both client and server. It handles the HTTP, UDP, and WebTorrent tracker protocols, supports IPv4 and IPv6, and includes the scrape extension for retrieving torrent statistics. The server exposes a web interface at /stats and a JSON endpoint at /stats.json for monitoring swarm data.

Clients can be instantiated with required options such as the torrent’s info‑hash, peer identifier, and announce URLs, and may be configured for browser or Node environments with custom RTC settings, proxy agents, and additional announce parameters. Event callbacks report errors, warnings, peer discovery, and tracker updates, allowing applications to react to changes in swarm composition.

The module is used by popular BitTorrent‑based tools, has a comprehensive offline test suite, and is released under the MIT license as a stable, self‑hostable, open‑source utility without subscription or tier restrictions.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps