Hacker GitHub

← All repos

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

Mentions per year 18 mentions · busiest year 2019 (5)
20082026
  1. …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
  2. 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.
  3. ▲ 1
    Ask HN: WebSocket server transforming channel subscriptions to gRPC streams
    story by FZambia · 2023-08-15 · 0 comments
  4. …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?
  5. ▲ 1
    Joewalnes/websocketd: Inetd for WebSockets [Golang]
    story by pjf · 2019-01-30 · 0 comments
  6. ▲ 34
    Turn any program that uses stdin/stdout into a WebSocket server
    story by feross · 2019-01-29 · 7 comments
  7. …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
  8. 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
  9. 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
  10. …- 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?
  11. …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
  12. Nice. Always meant to try and do something similar myself using https://github.com/joewalnes/websocketd
  13. What is the difference to using websocketd [1] to stream to a socket.io client? [1] https://github.com/joewalnes/websocketd
  14. …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
  15. …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
  16. This: https://github.com/joewalnes/websocketd
    comment by joewalnes · 2013-12-30 · in Ask HN: What are you using Go for?
  17. ▲ 311
    Turn any application that uses stdin/stdout into a WebSocket server
    story by adito · 2013-12-10 · 88 comments
  18. ▲ 3
    Turn any CLI into a websocket with websocketd
    story by bguthrie · 2013-09-12 · 0 comments