wupg98 / zeronet-tracker

Simple, robust, ZeroNet tracker (client & server) implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zeronet-tracker travis npm downloads javascript style guide Greenkeeper badge

Simple, robust, ZeroNet tracker (client & server) implementation

Basically I've slaped both the functionalities of a regular Bittorrent Tracker and a ZeroNet Tracker into one server and made it easily usable

tracker

Node.js implementation of a ZeroNet Tracker (which is a BitTorrent tracker that has support for the ZeroProtocol and .onion addresses)

A ZeroNet tracker is a web service which responds to requests from ZeroNet clients. The requests include metrics from clients that help the tracker keep overall statistics about the torrent. The response includes a peer list that helps the client participate in the torrent swarm.

This module is used by ZeroNetJS.

features

  • Includes client & server implementations
  • Supports all mainstream tracker types:
  • Supports ipv4 & ipv6 & onion
  • Supports tracker "scrape" extension
  • Robust and well-tested
    • Comprehensive test suite (runs entirely offline, so it's reliable)
  • Tracker statistics available via web interface at /stats or JSON data at /stats.json

Also see zeronet-swarm.

Tracker stats

Screenshot

install

npm install zeronet-tracker

command line

Install zeronet-tracker globally:

$ npm install -g zeronet-tracker

Easily start a tracker server:

$ zeronet-tracker
http server listening on 8000
udp server listening on 8000
ws server listening on 8000

Lots of options:

$ zeronet-tracker --help
  zeronet-tracker - Start a bittorrent tracker server

  Usage:
    zeronet-tracker [OPTIONS]

  If no --http, --udp, or --ws option is supplied, all tracker types will be started.

  Options:
    -p, --port [number]  change the port [default: 8000]
        --trust-proxy    trust 'x-forwarded-for' header from reverse proxy
        --interval       client announce interval (ms) [default: 600000]
        --http           enable http server
        --udp            enable udp server
        --ws             enable websocket server
        --zero           enable zeronet server
    -q, --quiet          only show error output
    -s, --silent         show no output
    -v, --version        print the current version

license

MIT. Copyright (c) Feross Aboukhadijeh, WebTorrent, LLC and Maciej Krüger.

About

Simple, robust, ZeroNet tracker (client & server) implementation

License:MIT License


Languages

Language:JavaScript 99.6%Language:Shell 0.4%