Chat experiment with Node.js
JavaScript PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.html
node-tail-server.js
say.php
screenshot.png

README.md

Server

node node-tail-server.js

Client

Listen:

firefox http://localhost:4000/

wget http://localhost:4000 -O /tmp/out
tail -f /tmp/out

Note sure how to iterate through output

curl http://localhost:4000

Say

Goto http://localhost/index.html and fill in the input.

Or:

curl -F "say=hello" http://localhost/say.php

Issues

  • Sockets seems to drop out of a while. Is there a better pubsub model to use?

Ideas