websocketd | Mac Developer | Scoop.it
websocketd - Like inetd, but for WebSockets. Turn any application that uses STDIN/STDOUT into a WebSocket server.

Via Srdjan Strbanovic