joewalnes/websocketd
View on GitHub ↗ ★ 17,454 Go
Turn any program that uses STDIN/STDOUT into a WebSocket server. Like inetd, but for WebSockets.
18 mentions on Hacker News by 15 people: 5 stories, 13 comments · first 2013-09-12 · latest 2024-08-23
20082026
-
…find any other simple cli tool that just reads and writes to WebSockets. Maybe just websocketd: https://github.com/joewalnes/websocketd I've used websocat for debugging web projects and remote-controlling OBS. I also have a livereload…
comment by wonger_ · 2024-08-23 · in WebSocat – Like Netcat for WebSockets -
Somewhat related: https://github.com/joewalnes/websocketd > 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.
comment by geon · 2024-03-10 · in Pipexec – Handling pipe of commands like a single command -
…accumulate alerts. Use it only for debugging builds and not for production builds (obviously). [1] https://github.com/joewalnes/websocketd
comment by cookiengineer · 2022-05-04 · in Show HN: How did I live without Pipe Watch? -
…synthetic newline. The FAQ explains how to escape multiline messages (or binary data, presumably). https://github.com/joewalnes/websocketd/wiki/FAQ#how-can-i-s...
comment by mdavidn · 2019-01-26 · in Websocketd -
It's line based. A newline character separates messages. https://github.com/joewalnes/websocketd/wiki/Ten-minute-tuto...
comment by jampekka · 2019-01-26 · in Websocketd -
It looked simple enough, but I was curious about the threading example on https://github.com/joewalnes/websocketd/wiki/CPP-Input-Outpu... The variable `count` appears to be incremented non-atomically from two different threads. Is that…
comment by FullyFunctional · 2019-01-26 · in Websocketd -
…- Turn any command that uses stdin into a web socket server (i.e. connect to it from any browser) https://github.com/joewalnes/websocketd sqlite shell - https://www.sqlite.org/download.html combine the two for a high throughput web app -…
comment by mike_r_parsons · 2018-11-19 · in Ask HN: Best Command-Line Applications? -
…spawns a process of your chioce for each client and pipes the websocket to stdin and vice versa. https://github.com/joewalnes/websocketd Each PHP process looks like it takes about 5 MB of ram on my laptop, so probably not the best method…
comment by geon · 2017-04-17 · in PHP 7 Virtual Machine -
Nice. Always meant to try and do something similar myself using https://github.com/joewalnes/websocketd
comment by gaving · 2015-10-03 · in Using htop to generate a live website background -
What is the difference to using websocketd [1] to stream to a socket.io client? [1] https://github.com/joewalnes/websocketd
comment by rmetzler · 2015-07-08 · in Rtail – Terminal output to the browser using Unix pipes -
…for syntax highlighting the code examples). Just some good old fashioned hand written HTML + CSS. https://github.com/joewalnes/websocketd/tree/gh-pages
comment by joewalnes · 2015-02-15 · in Show HN: A Unixy approach to WebSockets -
…looking at GoByExample, than by browsing the Go docs. Kudos to this site. It helped me build this: https://github.com/joewalnes/websocketd/
comment by joewalnes · 2014-01-18 · in Go by Example -
This: https://github.com/joewalnes/websocketd
comment by joewalnes · 2013-12-30 · in Ask HN: What are you using Go for?