Automic VaultAutomic Vault

brew

websocketd mit Homebrew, apk, apt, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für websocketd in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install websocketd

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install websocketd

MacPorts ports tree · net/websocketd/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add websocketd

Alpine Linux edge package indexes · websocketd · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install websocketd

Debian stable package indexes · websocketd · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#websocketd

nixpkgs package indexes · pkgs/by-name/we/websocketd/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

WebSockets the Unix way

Befehle und Aliase

  • websocketd

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2013-02: GitHub repository created.
  • 2014-05: v0.2.9 release published.
  • 2014-07: Official wiki tutorial pages edited with quick-start examples.
  • 2015-02: Public Hacker News discussion highlights the Unix-process model and scaling tradeoffs.
  • 2021-01: v0.4.1 release published.

Related projects

  • websocketd belongs with inetd, CGI-style process launchers, and WebSocket CLIs such as websocat and wscat. Its closest conceptual ancestor is inetd: a small daemon accepts network connections and delegates each session to a normal executable.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 13 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
websocketdcliglobales Executable

Aktualität

Version und 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.

Seite generiert2026-07-26
Manager-Version0.4.1
Manager aktualisiert2026-07-25
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv0.4.1

https://github.com/joewalnes/websocketd

  • OKEs wurden keine Aktualitätswarnungen generiert.

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:websocketd
Version0.4.1
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/websocketd
Homepagehttp://websocketd.com
Repositoryhttps://github.com/joewalnes/websocketd
Upstream-Dokumentationhttp://websocketd.com/
LizenzBSD-2-Clause
Quellarchivhttps://github.com/joewalnes/websocketd/archive/refs/tags/v0.4.1.tar.gz
Zuletzt aktualisiert2026-07-25T22:40:19+02:00
Pulseupdated
Build-Abhängigkeitengo
Bottleverfü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-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namewebsocketd
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

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 websocketd
  • Section: web
  • Architecture: amd64
  • Source Package: websocketd
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Websocketd
Debian stable package indexes · deb.debian.org · Debian stable package indexes: websocketd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

websocketd

nix profile install nixpkgs#websocketd
  • normalized package name match
  • Abgeglichen nach: Websocketd
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/we/websocketd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

websocketd 0.4.1-1build1

Turn any program that uses STDIN/STDOUT into a WebSocket server

https://github.com/joewalnes/websocketd

sudo apt install websocketd
  • Section: universe/web
  • Architecture: amd64
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Websocketd
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: websocketd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

websocketd 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 websocketd
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: websocketd
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Websocketd
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: websocketd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

websocketd

sudo port install websocketd
  • normalized package name match
  • Abgeglichen nach: Websocketd
MacPorts ports tree · api.github.com · MacPorts ports tree: net/websocketd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment