The client code (for both remote rendering & codecasting): https://github.com/remy/jsbin/blob/master/public/js/spike.js
The server side: https://github.com/remy/jsbin/blob/master/lib/spike/index.js
Very simple, but requires an event based server - so Node was the obvious choice for JS Bin.