Thing Tracker Network Client
!!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.
Start a bot node
./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
./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
node js/cli.js(Note: this currently appears to hang the terminal after stopping)
- Clone this project.
npm installto retrieve the relevant node modules. This should also pull in the custom version of Kadoh, directly from the ttn branch of the github repository.