websocketd

WebSockets the UNIX way

About Me

  • Robert Axelsen
  • Twitter: @Robert_Axelsen
  • More: http://rob.ee/

"WebSockets is an advanced technology that makes it possible to open an interactive communication session between the user's browser and a server.

With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply."

- MDN web docs

Example usage

  • Social feeds
  • Multiplayer games
  • Collaborative editing
  • Realtime dashboards
  • Chat apps

websocketd

  • websocketd is the WebSocket daemon
  • Full duplex messaging between web browsers and servers
  • Turn any program that uses STDIN/STDOUT into a WebSocket server
  • It's like CGI, twenty years later, for WebSockets
  • Includes a static file server for convenience

Demo Time

Made with Slides.com