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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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