reflex-vty
blessed
Our great sponsors
reflex-vty | blessed | |
---|---|---|
1 | 22 | |
136 | 11,129 | |
0.7% | - | |
7.8 | 0.0 | |
about 2 months ago | 27 days ago | |
Haskell | JavaScript | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
reflex-vty
-
Building Rich Terminal Dashboards
There's a slick little Haskell library that does something similar called reflex-vty:
https://github.com/reflex-frp/reflex-vty#reflex-vty
One thing neither of these libraries appear to have done yet that I would really like is create a more compact window rendering. Currently each window gets a 1-character border. What I would like is something that saves space by collapsing adjacent windows' borders into a single character instead of having two redundant borders next to each other. Of course I get why they do it the way they do, but terminals are often more constrained for space and with complex UIs you can lose a fair amount due to these unnecessary borders. That would be the next thing I'd hack on to improve these kinds of libraries. But alas...too many fun projects to hack on and not enough hours in the day.
blessed
-
Best Javascript libraries for TUI development?
I found blessed but it seems like it was last updated 8 years ago. So what are my options?
-
good high-level ncurses library
So far I found this library github.com/chjj/blessed which is very powerful, I need to render animated charts and other complex objects and for my purpose it is doing well.
-
Ink: React for interactive command-line apps
Alas https://github.com/chjj/blessed/issues/418#issuecomment-1533...
I considered blessed for a recent project, but ended up just simplifying the approach & making do with Inquirer + Meow instead due to the maintenance status. Haven't found anything else equivalent to blessed, other than Ink.
-
My 2022 side project: @steggy/tty. Custom widgets and utilities for building terminal apps on top of NestJS. Looking for testers / feedback
Inquirer is still probably the library that is most similar, if you are looking for comparisons to existing tools. My goal was to create a set of tools that uses the terminal window for a single operation at a time. The UI providing as much contextual information as possible to the user to know what actions they can perform, and any relevant information. A bit like a "choose your adventure" via terminal app sort of thing. Explicitly trying to stay clear of full screen and dashboard type stuff, like what blessed provides.
-
Like seriously why does not one does it ?
Not exactly a shell scripting framework, but y’all should check out blessed js. Weirdly enough I just found it yesterday and shit goes absolutely wild in the terminal
-
NodeJS Backend with UI Help. New to UI/Frameworks
Perhaps you’d like a terminal based UI? https://github.com/chjj/blessed
-
Command line applications
You can build them from scratch, or use one of many specialized libraries on NPM, like commander, yargs, blessed, terminal kit, prompts, and many more.
-
get input from user while continuously outputting
This is where libraries come in: https://github.com/chjj/blessed - this allows you to manage rendering in the terminal on your own, so you can have a scrolling box of text at the top and a "command line" at the bottom.
-
Hey Rustaceans! Got a question? Ask here! (28/2022)!
I was hoping to write my app in Rust as a learning exercise, but my alternative is https://www.npmjs.com/package/blessed, which is NodeJS. Ah well.
-
How to create terminal GUI?
Using this https://github.com/chjj/blessed
What are some alternatives?
blessed-contrib - Build terminal dashboards using ascii/ansi art and javascript
vorpal - Node's framework for interactive CLIs
turbo - An experimental text editor based on Scintilla and Turbo Vision.
Inquirer.js - A collection of common interactive command line user interfaces.
dashing - Terminal dashboards for Python
Ink - 🌈 React for interactive command-line apps
notcurses - blingful character graphics/TUI library. definitely not curses.
neo-blessed - A drop-in replacement for for Blessed. A high-level terminal interface library for node.js.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
KeyboardJS - A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts.
vty-ui - A terminal user interface programming library similar to graphical interfaces such as GTK and QT. (DEPRECATED, see https://github.com/jtdaugherty/brick)
omelette - Omelette is a simple, template based autocompletion tool for Node and Deno projects with super easy API. (For Bash, Zsh and Fish)