Seasocks
Simple, small, C++ embeddable webserver with WebSockets support
Install / Use
/learn @mattgodbolt/SeasocksREADME
Seasocks - A tiny embeddable C++ HTTP and WebSocket server
Features
- Simple C++ API
- Serves static content from disk
- API for building WebSocket servers
- Simple command line binary for quick serving of static files only
- Supports newer Hybi-10 and Hybi-16 WebSockets as well as the older Hixie style.
- Supports Linux and Windows
Stuff it doesn't do
- It's not nearly as configurable as Apache, Lighttpd, Nginx, Jetty, etc.
- It provides only limited support for custom content generation (e.g. Servlets).
- It has been designed for WebSocket based control.
- It probably won't work on other systems (patches to support other systems would be welcome, but not a priority for us)
Getting started
Check out the tutorial on the wiki.
See src/app/c/ws_test.cpp for an example.
Related Skills
openhue
346.8kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
346.8kElevenLabs text-to-speech with mac-style say UX.
weather
346.8kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.6kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
