Git Product home page Git Product logo

zeronet-tracker's Introduction

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.

zeronet-tracker's People

Contributors

alxhotel avatar asapach avatar astro avatar buptsb avatar devsnek avatar diegorbaquero avatar fanatid avatar feross avatar gmbuell avatar greenkeeper[bot] avatar greenkeeperio-bot avatar harshjv avatar hrafnkellos avatar jakefb avatar jhiesey avatar linusu avatar lpinca avatar mafintosh avatar mappum avatar max-mapper avatar mkg20001 avatar n1t0 avatar qgustavor avatar sidd avatar slashnick avatar theadd avatar thermatk avatar transitive-bullshit avatar yciabaud avatar zunsthy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

zeronet-tracker's Issues

zero:// client

Currently only the server implementation supports the zero:// protocol.
The required client is missing

Can't rum this tracker

I can't rum it rightly, how do i run?this is my err log:
ubuntu@ip-172-31-28-70:~$ sudo zeronet-tracker
/usr/local/lib/node_modules/zeronet-tracker/lib/server/parse-zero.js:4
const {parallel} = require('async')
^

SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/zeronet-tracker/server.js:22:17)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)

Full onion support

Currently onion addresses are getting ignored.
The necessary placeholder code is in place but it's empty.

Usage case of the "zeronet-tracker" comparing to running zeronet with bootstrapper plugin?

Hello, i assume this software is good if one have low RAM, CPU, disk server (i mean like 300Mhz, 128MB RAM, 3GB disk VPS).
One can also run Zeronet with enabled bootstrapper plugin + Tor to achieve being a Zeronet tracker..
But this software is also useful for classic torrent trackers, even web torrent and also has /stats page...

As a mere user i do not understand README part "usage". It shows some strange code "var Client = " etc. can you edit README to better describe on how to use that code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.