macOS
brew install websocketdlocal Homebrew formula metadata
sudo port install websocketdMacPorts ports tree · net/websocketd/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für websocketd in AI-Agent-Workflows.
Installation
brew install websocketdlocal Homebrew formula metadata
sudo port install websocketdMacPorts ports tree · net/websocketd/Portfile · Quelle: api.github.com
sudo apk add websocketdAlpine Linux edge package indexes · websocketd · Quelle: dl-cdn.alpinelinux.org
sudo apt install websocketdDebian stable package indexes · websocketd · Quelle: deb.debian.org
nix profile install nixpkgs#websocketdnixpkgs package indexes · pkgs/by-name/we/websocketd/package.nix · Quelle: api.github.com
Überblick
WebSockets the Unix way
Verlauf
websocketd is Joe Walnes's "WebSockets the Unix way" daemon. Instead of asking every language ecosystem to grow a WebSocket server stack, it launches ordinary programs, wires WebSocket messages to their standard input and output, and lets the operating system process model do the rest.
The repository was created in February 2013, when WebSockets were becoming practical for browser/server applications but many command-line and scripting languages still lacked simple server tooling. websocketd framed the problem as a Unix composition issue: if a program can read stdin and write stdout, it can become a WebSocket endpoint.
The README and man page describe the same core design that made the project notable: websocketd listens on a port, forks a configured process for each connection, sends incoming WebSocket messages to the process with newline framing, and turns lines printed to stdout into outgoing WebSocket messages. The project wiki expanded this idea into language-specific examples for Bash, Python, Ruby, Perl, PHP, C, Rust, Node.js, and other runtimes.
websocketd spread through developer communities as a prototyping and integration tool. Its 2015 Hacker News discussion focused on the exact tradeoff that defined its adoption: process-per-connection overhead is not ideal for every high-scale service, but the model is attractive when rapid composition, debuggability with `ps` and `top`, and reuse of existing scripts matter more than squeezing every byte of memory.
By July 2026, the GitHub repository had accumulated more than seventeen thousand stars and was packaged for multiple Unix-like systems. That longevity reflects a durable niche: websocketd is not a general application framework, but it remains a convenient bridge between browser WebSockets and existing command-line programs.
The canonical example is a short shell script that prints a count once per second, launched with `websocketd --port=8080 ./count.sh`, and consumed from browser JavaScript with `new WebSocket('ws://localhost:8080/')`. The same pattern applies to scripts that stream logs, expose system metrics, wrap REPL-like tools, or create lightweight dashboards.
Because websocketd delegates application logic to child processes, users choose it when they want language neutrality and operational transparency. They avoid it when the application needs shared in-memory state, very high connection density, or a long-running event-loop architecture.
websocketd is significant because it made WebSockets feel like inetd or CGI for the browser era. For package-manager users, it is the archetypal small binary that lets shell scripts and one-off programs cross a protocol boundary without becoming web servers.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
websocketd | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/joewalnes/websocketd
Installationsmetadaten
| Paketschlüssel | brew:websocketd |
|---|---|
| Version | 0.4.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/websocketd |
| Homepage | http://websocketd.com |
| Repository | https://github.com/joewalnes/websocketd |
| Upstream-Dokumentation | http://websocketd.com/ |
| Lizenz | BSD-2-Clause |
| Quellarchiv | https://github.com/joewalnes/websocketd/archive/refs/tags/v0.4.1.tar.gz |
| Zuletzt aktualisiert | 2026-07-25T22:40:19+02:00 |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | websocketd |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
websocketd 0.4.1-1+b23
Turn any program that uses STDIN/STDOUT into a WebSocket server
https://github.com/joewalnes/websocketd
sudo apt install websocketdwebsocketd
nix profile install nixpkgs#websocketdwebsocketd 0.4.1-1build1
Turn any program that uses STDIN/STDOUT into a WebSocket server
https://github.com/joewalnes/websocketd
sudo apt install websocketdwebsocketd 0.4.2-r1
Like inetd, but for WebSockets. Turn any application that uses STDIO/STDOUT into a WebSocket server.
https://github.com/joewalnes/websocketd
sudo apk add websocketdwebsocketd
sudo port install websocketdQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.