by goldfeld · 11y ago · 0 comments
https://github.com/goldfeld/i9n
I'm going for simple and declarative, especially for common terminal interface navigation, such as menus, lists and dashboards. Now I'm working on a built-in tiling/split windowing system and on to become a terminal multiplexer toolkit builder of sorts I guess. The whole motivation behind this work is automation of developer environments through an efficient interface (inspired by vim and implementing its command mode).
[1] There's still quite some state from blessed to abstract out.
I would love to see higher level frameworks wrapping blessed. Blessed gives you the API and some fancy widgets/elements: it's the (nicer) DOM for the terminal.
This guy already started an XML-based markup language for blessed: https://github.com/kevinhikaruevans/blessedoo. That's the kind of stuff I love to see as the author of blessed.
If you could take something like JSDOM (combined with a CSSOM node module), and make blessed the backend rendering engine, you could practically just use React, Angular, or any of the high level web frameworks. Or you could just make a kickass terminal web browser with just the DOM/CSSOM wrapper.
Blessed has everything you need to make a terminal a browser-like environment: overlay images, ansi images, element transparency, every mouse protocol still in use, hover effects, forms, dynamic layout positioning, etc.
I really want to see someone do this. If not, I might have to do it some day.
Also, the first person to create a terminal-based MMORPG gets a satoshi.