Binary package “websocketd” in ubuntu focal
Turn any program that uses STDIN/STDOUT into a WebSocket server
websocketd is a small command-line tool that will wrap an existing
command-line interface program, and allow it to be accessed
via a WebSocket.
.
WebSocket-capable applications can now be built very easily. As long as
you can write an executable program that reads STDIN and writes to STDOUT,
you can build a WebSocket server. Do it in Python, Ruby, Perl, Bash,
C, Go, PHP, Java, Clojure, Scala, Groovy, Expect, Awk, VBScript,
Haskell, Lua, R, whatever! No networking libraries necessary.
.
websocketd will start a WebSocket server on a specified port, and listen
for connections.
.
Upon a connection, it will fork the appropriate process, and disconnect
the process when the WebSocket connection closes (and vice-versa).
.
Any message sent from the WebSocket client will be piped to the process's
STDIN stream, followed by a \n newline.
Source package
Published versions
- websocketd 0.3.1-3 in amd64 (Proposed)
- websocketd 0.3.1-3 in amd64 (Release)
- websocketd 0.3.1-3 in arm64 (Proposed)
- websocketd 0.3.1-3 in arm64 (Release)
- websocketd 0.3.1-3 in armhf (Proposed)
- websocketd 0.3.1-3 in armhf (Release)
- websocketd 0.3.1-3 in ppc64el (Proposed)
- websocketd 0.3.1-3 in ppc64el (Release)
- websocketd 0.3.1-3 in riscv64 (Release)
- websocketd 0.3.1-3 in s390x (Proposed)
- websocketd 0.3.1-3 in s390x (Release)