macOS
brew install websocketdlocal Homebrew formula metadata
sudo port install websocketdMacPorts ports tree · net/websocketd/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de websocketd pour les workflows d'agents IA.
installation
brew install websocketdlocal Homebrew formula metadata
sudo port install websocketdMacPorts ports tree · net/websocketd/Portfile · Source: api.github.com
sudo apk add websocketdAlpine Linux edge package indexes · websocketd · Source: dl-cdn.alpinelinux.org
sudo apt install websocketdDebian stable package indexes · websocketd · Source: deb.debian.org
nix profile install nixpkgs#websocketdnixpkgs package indexes · pkgs/by-name/we/websocketd/package.nix · Source: api.github.com
aperçu
WebSockets the Unix way
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
websocketd | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/joewalnes/websocketd
métadonnées d'installation
| Clé du paquet | brew:websocketd |
|---|---|
| Version | 0.4.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/websocketd |
| Page d'accueil | http://websocketd.com |
| Dépôt | https://github.com/joewalnes/websocketd |
| Docs amont | http://websocketd.com/ |
| Licence | BSD-2-Clause |
| Archive source | https://github.com/joewalnes/websocketd/archive/refs/tags/v0.4.1.tar.gz |
| Dernière mise à jour | 2026-07-25T22:40:19+02:00 |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 websocketdpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.