p2p messaging app
JavaScript PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Mu @ 3bd7403
ezcrypto-js @ 1342d04
node-sqlite @ 409251a
phpseclib @ 39abe70
templates
.gitmodules
README.md
client.js
client.php
install.sh
server.js
tweets.js

README.md

My code is alpha so use at your own risk.

FIRST THING!
sh install.sh
This automagically installs dependencies and compiles sqlite bindings

To run the webserver:
node server.js
connect to http://localhost:8080/tweets

Example servers are running (may be up or down depending...)
http://www.nostat.us:8080/tweets
http://cowboy.asia:8080/tweets

If you enter a message in the box and press 'send', it will send your message to every other server on the entire network.

To send a message to all webservers from command line:
node client.js "Some interesting message"

The messages from client.js will propagate to every webserver in the network.
It's routed using the Telehash distributed p2p network http://www.telehash.org

I also included a php client:
php client.php "Some interesting message"

Released under MIT
Copyright Tyler Gillies 2011