# bittorrent-tracker

bittorrent-tracker is a simple, robust BitTorrent tracker implementation for Node.js, usable as both a client and a server.

Canonical page: https://ourlocalhost.com/app/8333/bittorrent-tracker

## Description

BitTorrent-tracker is a simple, robust BitTorrent tracker implementation for Node.js, usable as both a client and a server. It speaks the BitTorrent tracker HTTP and WebSocket protocols, letting peers discover each other for file sharing, and can be self-hosted to run your own tracker for private or public torrents. It's aimed at developers and homelabbers who need a lightweight tracker to support their torrent swarms.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

71/100 (Good), based on 4 of 5 factors.
- Maintained: 93 (last commit 5 days ago)
- Popular: 66 (1,941 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 77 (no serious findings, CI, tests, OpenSSF Scorecard 5/10)

## Links

- Official website: https://webtorrent.io/
- GitHub: https://github.com/webtorrent/bittorrent-tracker
- Documentation: https://webtorrent.io/docs

## Common questions

### How do I install and run bittorrent-tracker?

It's an npm package for Node.js: install it in your project with 'npm install bittorrent-tracker'. You can then use it as a client library to announce to existing trackers, or as a server to run your own tracker via the JavaScript API.

### Which tracker protocols does it support?

It supports HTTP trackers, UDP trackers (BEP 15), and WebTorrent trackers over WebSocket, with both IPv4 and IPv6. It also supports the tracker scrape extension.

### Can I see statistics for my running tracker?

Yes. Tracker statistics are available through a web interface at /stats, or as JSON data at /stats.json.

### Can I add custom parameters to announce requests?

Yes. The client supports a getAnnounceOpts callback that runs whenever announce() is called, letting you return custom parameters along with uploaded/downloaded/left metrics.

### Do I need a WebRTC implementation to use WebTorrent tracker peers in Node?

Yes, you can supply a custom WebRTC implementation such as the wrtc npm package in the client options, which is useful when running in Node rather than a browser.

## Alternatives

- Ace Stream: Ace Stream is multimedia platform for video streaming.
- BitChute: BitChute is a peer to peer video sharing platform.
- DTube: DTube is the first crypto-decentralized video platform, built on top of the Steemit and the IPFS peer-to-peer network.
- Distribyted: Distribyted tries to make easier integrations with other applications among torrent files, presenting them as a standard filesystem.
- Frames: Frames is a modern SVOD (Streaming Video on Demand) streaming service built with React and NestJS.
- HydraHD: Browse a huge library of over 60,000 movies and series.
- Peerflix: Streaming torrent client for Node.js.
- SeedBox Lite: Streams torrents instantly with a Netflix-like interface using modern web tech, supports popular video formats, password protection, and ad…
- Stremio: Stremio is a free media streaming client that lets you watch your favorite shows and movies by combining your local files with online addon…
- Tribler: Tribler is an application that enables its users to find, enjoy and share content.
- Webtor: Webtor is a self-hosted torrent streaming and download service, packaged as an all-in-one Docker image.

---
Source: Our Local Host (https://ourlocalhost.com/app/8333/bittorrent-tracker), the self-hosted and open-source app directory.
