Just playing around with a little Raspberry Pi and Node.js
Raspberry Pi GPIO sample project with web interface and node.js socket.io wrapper for two way communication