/wt-tracker

High-performance WebTorrent tracker

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Build Status Coverage Status

wt-tracker

High-performance WebTorrent tracker

Features

  • handles 300k peers on single CPU thanks to uWebSockets.js I/O backend
  • handles HTTP and HTTPS connections simultaneously
  • IPv4 and IPv6 support
  • robust and well-tested: CI, unit tests, static code analyzis, 100% TypeScript
  • supports tracker "scrape" extension
  • statistics under /stats.json URL

Related projects

Build instructions

Node.js 10.x or 11.x is required.

npm install
npm run build

Run instructions

./bin/wt-tracker [config.json]

or

node dist/run-uws-tracker.js [config.json]

or

npm start [config.json]

Configuration

See config.json