websocketd is the WebSocket daemon. It takes care of handling the WebSocket connections, launching your programs to handle the WebSockets, and passing messages between programs and web-browser. If you can run your program from the command line, you can write WebSocket endpoints. Just read incoming text from stdin and write outgoing text to stdout. Messaging is simple. Each inbound WebSocket connection runs your program in a dedicated process. Connections are isolated by process. Available for Linux, OSX, Windows, FreeBSD, OpenBSD and Solaris. Serves your static HTML, JavaScript, etc. Route different URLs to different programs. Dynamic generate content over HTTP too. Out-of-the-box support for serving content using HTTPS and WSS. Restrict which pages can make WebSocket connections. Interact with your WebSocket programs before you've built your frontend.

Features

  • Full duplex messaging between web browsers and servers
  • Language agnostic with development console
  • No libraries required
  • Avoid threading headaches
  • Write programs to work together
  • Write programs to handle text streams

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow websocketd

websocketd Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of websocketd!

Additional Project Details

Operating Systems

FreeBSD, Linux, Mac, OpenBSD, Solaris, Windows

Programming Language

Go

Related Categories

Go Proxy Servers, Go WebSocket Servers

Registered

2021-03-26