Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
31–40 of 56 posts
Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#32So bringing some of the web designers into the terminal isn't such a bad thing after all, they have great taste. I'm partially sad its written in nodejs, but I can't really think of what else it should have been written in. I think clojurescript bindings would be awesome. The dashboard can be rendered from an immutable app state om style. dnolen, I'm looking at you :).
quality comment. shit on node for no reason and ask the author of another project to rewrite it for you. node is actually really good at working with streams, which are a reasonable expectation for streaming logs e.g. to be in.
Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#33Earlier quoted context omitted.
quality comment. shit on node for no reason and ask the author of another project to rewrite it for you. node is actually really good at working with streams, which are a reasonable expectation for streaming logs e.g. to be in.
I don't think you understand, clojurescript interfaces with javascript, it wouldn't be a rewrite. Nodejs has many debated problems, I can shit on it if I want. This project rocks though.
Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#34Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#35Earlier quoted context omitted.
I don't think you understand, clojurescript interfaces with javascript, it wouldn't be a rewrite. Nodejs has many debated problems, I can shit on it if I want. This project rocks though.
I know what clojurescript is. What I don't understand is why you can't write an externs file.
Regardless, the smiley in my original post indicates I was just teasing. I think you need to calm yourself down.
Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#36This is really nice! Just built something quick with it and I find it way easier to work with than something like ncurses, though that might just be because I work with javascript alot. Sorta feels like a terminal based d3 in a way, though not as atomic. Not a huge fan of Node for terminal applications (I'd sooner use Go or Ruby), but this alone might make me use it for things people other than me will use. Do you pl…
Pull requests are more than welcome!
Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#37Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#38Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#39How 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…
It's easy to do. The grid layout is optional. You can give relative and absolute positions. The first code sample in the readme shows something like this (though position is implicit there). You can also read about blessed (=ncurses for node) which this project is implemented as an extention of.
Blessed is great, but I had some performance issues with really fast updates, so I made OhUI, which tries to minimize as much as possible the repaint zones. I think it is pretty efficient at this regard.
Re: Show HN: Building terminal dashboards using ASCII/ANSI art and JavaScript
#40Hi everyone, I am the author. Let me know if you have any questions or ideas.