This is an old hack I worked on to learn Node. No point giving you directions to run it, because Node's API has changed. Anyhow, you need Socket.IO and MongoDB to get this up and running. Googling will result in better Chat demos in Node.JS