Sure there's plenty of node.js chat systems out there, but this is quite a nice demo of Faye and how easy it is to build with it.
The Node.JS examples shared previously have been more complete systems from what I can tell, this is a very minimal app designed as basis for you to build something bigger and better. Rather than complaining about needing extra features, fork the code and build something fun and worthwhile.
The main reason for using Faye is probably the fact that it can run on Node.JS or Rack. This example is running Node.JS, but where Faye really excels is in a Rack environment - adding asynchronous functionality to Rails/Sinatra without needing an extra server running Node.
I wonder just how many hours have been wasted today by people chatting on this. I'd have added metrics if I wanted to do anything other than show a minimal working example of Faye/NodeJS with source code.
You're right, and I have no idea why a thread like this still makes it to the frontpage. It is unfortunate that you need x karma to downvote threads because even us who have been here for a while still don't have the ability to assist with content control.
I'm guessing if I'd only submitted the source code this would have got just one or two upvotes. And it's really the source code I was wanting to share as a way of showing what you can do with Faye/NodeJS.
yeah, I rather stupidly didn't think to add any XSS protection initially because this was a simple tech demo. And yes, I managed to balls up the regex for a while.
Chat.io, new HTML5 / Node.JS-powered social group, launches http://news.ycombinator.com/item?id=2343840
Show HN: Node.js console chat http://news.ycombinator.com/item?id=2391389
The node.js chat server that was posted earlier http://news.ycombinator.com/item?id=980838
Show HN: Meet the new Ajax IM (with Node.js) http://news.ycombinator.com/item?id=1127654
NodeChat http://news.ycombinator.com/item?id=1866401
Ragechat: http://news.ycombinator.com/item?id=1889883
Using node.js, <blah blah>, to make a real time chat app http://news.ycombinator.com/item?id=2306423
Chat system with WebSocket and node.js http://news.ycombinator.com/item?id=1020577
Hey man, doing anything constructive with your free time is a rare and admirable trait. But really, another Node.js chat application? Really?