Life & fun · February 14, 2015
A Unixy approach to WebSockets
websocketd is a single binary that wraps a command-line program and serves it over a WebSocket. Your program reads lines from stdin and writes lines to stdout.
A Unixy approach to WebSockets launched on February 14, 2015 with 421 votes, #17 of 1,772 launches that month and more than 99% of that year's launches. The site was still online in September 2026, 11 years on.
In plain words
Websocketd enables developers to build WebSocket applications by connecting standard Unix programs to web clients. It treats WebSockets like Unix pipes, allowing any command-line tool or script to communicate bidirectionally with browsers. The tool is designed for developers who want to leverage existing Unix utilities and simple scripts for real-time web communication without writing complex server code.
written from the facts on this page · September 2026
From the sources
websocketd is a single binary that wraps a command-line program and serves it over a WebSocket. Your program reads lines from stdin and writes lines to stdout. No library, no framework, no change to your code. It reads lines from stdin and writes lines to stdout. It does not import anything and it does not know a WebSocket exists. Every browser that connects gets its own copy of your program. Connections are fully isolated and share nothing. Bash, Python, Ruby, Node, PHP, Perl, C, Go. If you can run it from a shell, you can serve it. Examples in every language → It is CGI’s idea, applied to WebSockets. How the process model works → Start the server with --devconsole and open…from websocketd.com
Does a similar job
all alternatives →
WebSocket-first development2017 · github.com · ▲120An demo app for lattice-core. Contribute to jasonl99/card_game development by creating an account on GitHub.

- SPSeashells – Pipe output from CLI apps to the web in real time2017 · seashells.io · ▲356
Wsta – a CLI for working with WebSockets written in Rust2016 · github.com · ▲85A CLI development tool for WebSocket APIs. Contribute to eliihen/wsta development by creating an account on GitHub.
- DADriftDB – an open source WebSocket backend for real-time apps2023 · driftdb.com · ▲367
Hey HN! I’ve written a bunch of WebSocket servers over the years to do simple things like state synchronization, WebRTC signaling, and notifying a client when a backend job was run. I realized that if I had a simple way to create a private, temporary, mini-redis that the client could talk to directly, it would save a lot of time. So we created DriftDB. In addition to the open source server that you can run yourself, we also provide https://jamsocket.live where you can use an instance we host on Cloudflare’s edge (~13ms round trip latency from my home in NY). You may have seen my…
- WUWebSocket.us - an informational website about WebSocket2012 · websockets.us · ▲42
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, February 2015
the whole month →
Startup Stash▲3,255A curated directory of 400 resources & tools for startups
Life & fun · 2015 · startupstash.com

Pablo by Buffer▲905Create engaging images for your social media posts in 30s
Growth · 2015 · buffer.com


Largest and best curated collection of documentaries
Life & fun · 2015 · documentaryaddict.com
