A simple network visualization of cabal peer networks.
npm install
First, run the peer sockets server using:
node peersocket.js --cabal [cabal key]
Or use the included script:
chmod a+x invoke.sh
./invoke.sh
Then, open _site/index.html
in a browser.
cabal-netx leverages:
-
the awesome headless.js code in cabal-crepes by cblgh, in order to connect to a cabal;
-
the tutorial here for web-socket code;
-
and the fantastic jsnetworks library.