News for hackers. Stuff that matters.
Re:Ask HN: Best Command-Line Applications? by mike_r_parsons on Monday November 19, 2018 @04:25AM (#18485099)
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 - https://hackernoon.com/stream-a-million-websocket-sql-reques...

Re:Ask HN: Best Command-Line Applications? by vram22 on Thursday November 22, 2018 @09:19AM (#18510097)
I had blogged about websocket with an example using Python and JavaScript here:

Use WebSockets and Python for web-based system monitoring:

https://jugad2.blogspot.com/2014/01/use-websockets-and-pytho...

websocketd and Python for system monitoring - the JavaScript WebSocket client:

https://jugad2.blogspot.com/2014/01/websocketd-and-python-fo...

Will check out your hackernoon post, sounds interesting.

Re:Ask HN: Best Command-Line Applications? by vram22 on Friday November 23, 2018 @11:55AM (#18517528)
I read that post. It's impressive that the combination of websocketd and sqlite can be so fast.