nowfound

Life & fun · February 14, 2015

AU

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.

Visit websocketd.com ↗Alternativestop 1% of February 2015

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 →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, February 2015

the whole month →
  • A curated directory of 400 resources & tools for startups

    Life & fun · 2015 · startupstash.com

  • Remote OK▲959

    The biggest remote job board on the web

    Work · 2015 · remoteok.com

  • Create engaging images for your social media posts in 30s

    Growth · 2015 · buffer.com

  • Notify▲791

    Get notified in Slack when your startup is mentioned online

    Growth · 2015 · timer.now

  • Largest and best curated collection of documentaries

    Life & fun · 2015 · documentaryaddict.com

  • Revue▲651

    Easily create an engaging, gorgeous, weekly digest

    Growth · 2015