Live data from Hacker News

Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript

github.com

11–20 of 56 posts

Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript

#11

Hi everyone, I am the author. Let me know if you have any questions or ideas.

How much time you spent to do this project. And for what reason you did it? To solve some personal problem?

I really enjoyed it, mostly the world map. Once I was thinking in something similar, I was thinking in create a terminal software to monitor my small portfolio of stocks, and tell me about opportunities on the market. The reason to be on terminal was because I was looking for a more discreet interface running locally.

Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript

#13
post #9

It's not 100% clear unless you can read the code. Where is the data coming from? Seems like a lot of animated data with limited data points specified.

I'm the Author. Yes, data in this sample is random or hard coded.

Great work! I would request a simple blink control, maybe for a DiskLED display.

Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript

#14

Hi everyone, I am the author. Let me know if you have any questions or ideas.

How much time you spent to do this project. And for what reason you did it? To solve some personal problem? I really enjoyed it, mostly the world map. Once I was thinking in something similar, I was thinking in create a terminal software to monitor my small portfolio of stocks, and tell me about opportunities on the market. The reason to be on terminal was because I was looking for a more discreet interface running l…

It took me a few weeks, one of them was fully on this project. Most of the time was spent on investigating and improving the different canvas implementations (map and charts work on an html5 canvas abstraction). A lot of the time was spent on false directions but this is expected. One particular direction was reusing Web js libs to do the charting logic but it turned that it is easy enough to implement on my own.

In my day job I author web dashboards (working in HP on performance testing tools) so I thought it would be cool to have those dashboards directly in the terminal. But I would have done it even without this incentive. I do a lot of projects just because they inspire me, check out GifW00t! https://github.com/yaronn/GifW00t

Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript

#16
post #9

Earlier quoted context omitted.

I'm the Author. Yes, data in this sample is random or hard coded.

Great work! I would request a simple blink control, maybe for a DiskLED display.

Great idea, I will add it to the list.

Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript

#18
Along with using Tmux as your login shell [1], this would be a nice equivalent to something like Conky [2].

Or, replacing `top` with sparklines, say.

[1]: https://bbs.archlinux.org/viewtopic.php?pid=935588#p935588 [2]: http://conky.sourceforge.net/screenshots.html

Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript

#19
How difficult would it be to split the widgets off into their own independent/standalone terminal applications? I like the idea, but I'd rather lay things out myself with tmux (thus incorporating it into my existing workflow) rather than using the included layout system.

Sorry if this seems like a dumb question; I'm not particularly familiar with Node.js, let alone this particular codebase, so the answer isn't particularly obvious to me.

Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript

#20

How difficult would it be to split the widgets off into their own independent/standalone terminal applications? I like the idea, but I'd rather lay things out myself with tmux (thus incorporating it into my existing workflow) rather than using the included layout system. Sorry if this seems like a dumb question; I'm not particularly familiar with Node.js, let alone this particular codebase, so the answer isn't partic…

This is a library, those are examples, not complete applications. You can make any application you want with any layout you want using these tools.
Post reply on HN