A p2p client for the ThingTracker Network.
JavaScript CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
css
data/tracker/966e38a96fa6bbd3c070ec50b5154f7647e48dad
docs
img
js
node_modules
views
.gitignore
LICENSE
README.md
index.html
makedist.sh
package.json
tracker_test.js
ttn-config.json
useful_cli_statements.txt

README.md

Thing Tracker Network Client

A p2p client for the ThingTracker Network


!!WORK IN PROGRESS!!

A node-webkit/node.js client to interact with a DHT p2p network based on KadOH.

Some background can be found in this Google+ post.

Running

Start a bot node

  • Run ./bin/ttnbot -b 127.0.0.1:3001 -l debug --cli
Usage: ./bin/ttnbot -b 127.0.0.1:3001 -l debug --cli

Options:
  -b, --bootstraps  comma separated list of bootstraps
  -l, --log         log level (debug, info, warn, error, fatal)
  -c, --cli         start repl
  -h, --help        help

(Note: press enter after startup if running with the cli option to bring focus to the repl console.)

Start the client

  • Configure the client to reference a bootstrap node (such as the bot above)
  • Assuming node-webkit is installed, run ./bin/start-client (which is a shortcut to calling nw . in the project folder).

Start a pool of bots

  • Run ./bin/dht udp.small, where 'udp.small' is the name of a config file in bin/config (without the .json extension).

Starting in command line mode

  • Run node js/cli.js (Note: this currently appears to hang the terminal after stopping)

Developing

  • Clone this project.
  • Run npm install to retrieve the relevant node modules. This should also pull in the custom version of Kadoh, directly from the ttn branch of the github repository.

License

MIT