steggy
blessed
steggy | blessed | |
---|---|---|
6 | 22 | |
6 | 11,142 | |
- | - | |
9.0 | 0.0 | |
almost 2 years ago | about 1 month ago | |
TypeScript | JavaScript | |
MIT 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.
steggy
-
My 2022 side project: @steggy/tty. Custom widgets and utilities for building terminal apps on top of NestJS. Looking for testers / feedback
I've been promising myself I'd make a post about my side project all year, and just barely making that goal. Been building out a set of custom libraries on top of the NestJS direct injection tooling, and one of my favorite core libraries is @steggy/tty. It started off as a set of extensions and custom widgets on top of inquirer, but has since gone its own direction with rebuilt internals.
-
@steggy/tty - more advanced terminal apps for NestJS. I built a sampler app to show off some of the configuration and rendering abilities, give it a try!
As I mentioned with the title, @steggy is a wrapper around NestJS. I've taken to the pattern of replacing their annotations, and passing the call along or just doing the same work here. My goal when building the tools was to make it super easy to do very complex looking single file scripts. Here is another script, for more reference of what I was going for (@steggy/config-builder).
-
I built a demo/sample app for the nodejs terminal library I am working on
source for script, all the libraries can be found int eh libs folder at the root of the repo. The sampler app can be directly installed via NPM:
-
Terminal app + no code automations for homeassistant
The backend - dockerized nodejs program that actually processes all the commands. It comes with a web ui (screenshots in the links there), which is used to configure things.
-
Controlling my house from the command line
Been playing around with a little side project this year, link to the repo. It's a server application that sits around running the automations, and a TUI program that interacts with it via http commands.
-
NestJS + NX: Scannable injected configurations - a (mostly) working POC
1) Define a metadata file which describes your configuration variables the library / application consumes. - Matching JSON Shema 2. When defining a new configuration variable, define it first in the metadata file, then make it available inside the application - Nothing complicated here. Duplicating into the config file is technically optional (you could just use the string directly), but I'd recommend it as a good practice anyways 3. Inject the property into your Provider using @InjectConfig
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?
quickscript - An example repository, intended for forking, which has been already set up to work with steggy
vorpal - Node's framework for interactive CLIs
Inquirer.js - A collection of common interactive command line user interfaces.
abb-cli
Ink - 🌈 React for interactive command-line apps
neo-blessed - A drop-in replacement for for Blessed. A high-level terminal interface library for node.js.
KeyboardJS - A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts.
omelette - Omelette is a simple, template based autocompletion tool for Node and Deno projects with super easy API. (For Bash, Zsh and Fish)
terminal-kit - Terminal utilities for node.js
Turbo Vision - A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.