Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new version includes the field test app and more docs
- Loading branch information
Showing
7 changed files
with
170 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
node_modules | ||
npm-debug.log | ||
seed/*.json | ||
fieldtest/*.json | ||
fieldtest/debug.log | ||
*.json | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Command-line telehash fieldtest utility | ||
======================================= | ||
|
||
Just run `node tft.js` and the first time it runs it will ask you for a nickname and store your identity in ./id.json (which can be overridden with `--id ./foo.json`). | ||
|
||
Once running you will have a command line to look at the DHT, seek, ping, send test messages to other instances, create groups, etc. Type `help` to see a list of commands. All debug output is saved in ./debug.log. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
hash-seed | ||
======= | ||
A minimal telehash seed | ||
======================= | ||
|
||
A minimal [telehash](http://telehash.org) seed. | ||
Just run `node seed.js` to start it, and it will give you a JSON entry of it's information. | ||
|
||
``` | ||
npm install | ||
npm start | ||
``` | ||
To be a seed you need a well-known / accessible IP address and port, so it tries to guess your network address and use that by default. To manually set either use `--ip 1.2.3.4 --port 5678`. | ||
|
||
You can also do a `node seed.js -v` to see debug output, and `--seeds ./seeds.json` to have this seed connect/mesh with others. | ||
You can also do a `-v` to see debug output. |