Re:Show HN: Texttop – Interactive desktop rendered in TTY wi...
by StavrosK on Saturday May 21, 2016 @12:18PM
(#11745181)
Aw, this is great but node.js is putting me off it :/ I was hoping I wouldn't have to install something so heavy for such a small utility...
Re:Show HN: Texttop – Interactive desktop rendered in TTY wi...
by StavrosK on Saturday May 21, 2016 @02:12PM
(#11745566)
That's interesting, but not very well-suited to real-time dashboards, is it? Seems to be for one-offs.
Re:Show HN: Texttop – Interactive desktop rendered in TTY wi...
by yaronn01 on Saturday May 21, 2016 @02:27PM
(#11745626)
curling the markup is not for realtime. sometimes you can get away with curling in a loop with some sleep, and depending on the latency / scale you will get the same effect. however blessed-contrib can also be used as a server side component where clients curl for its endpoint (which is different than curling a static markup). that way it can return a live stream of data. you would use the same approach as https://github.com/yaronn/wopr/blob/master/server/server.js#... where your present method implementation will run in some loop / timeout and keep sending data (by calling screen.render).
Re:Show HN: Texttop – Interactive desktop rendered in TTY wi...
by tombh on Saturday May 21, 2016 @08:39AM
(#11744480)
Wow, that world map looks really good. Good suggestion, thanks.
Re:Show HN: Texttop – Interactive desktop rendered in TTY wi...
by geographomics on Monday May 23, 2016 @07:57AM
(#11753258)
Looks rather nice, reminiscent of drawing using Teletext (e.g. http://teletextart.co.uk/, http://www.bbcbasic.co.uk/bbcwin/manual/bbcwinh.html).
Re:Show HN: Texttop – Interactive desktop rendered in TTY wi...
by TazeTSchnitzel on Saturday May 21, 2016 @07:18PM
(#11746645)
You don't even need to do that, just using a box-drawing character where half the character is black (U+2580 or U+2584) would double your vertical resolution.
Re:Show HN: Texttop – Interactive desktop rendered in TTY wi...
by tombh on Saturday May 21, 2016 @07:58PM
(#11746792)
Hiptext supports this: https://github.com/jart/hiptext/blob/d50329e3b975ffac0209c0a... But it's crashing when I run in Alpine :/
Re:Show HN: Texttop – Interactive desktop rendered in TTY wi...
by jaimehrubiks on Saturday May 21, 2016 @01:00PM
(#11745312)
well, if you keep adding characters it won't be worth the effort, just sending pixels (or pixel groups) would be cheaper.
[1] https://github.com/yaronn/blessed-contrib