4 ms·
Great work. Based on your experience, how difficult do you think it would be to create a library that does does terminal UI rendering, but declaratively? Some
by hannofcart 6y ago
Great work.
Based on your experience, how difficult do you think it would be to create a library that does does terminal UI rendering, but declaratively?
Something like this for eg: https://github.com/jtdaugherty/brick https://github.com/jtdaugherty/brick
- pests 6y agoI've been a fan of https://github.com/vadimdemedes/ink https://github.com/vadimdemedes/ink for awhile. Its based off React with a custom renderer. I like it a lot and find it pretty easy to use.
- drran 6y agoTekUI does that, see http://tekui.neoscientists.org/tutorials.html http://tekui.neoscientists.org/tutorials.html ui = require "tek.ui" ui.Application:new { Children = { ui.Window:new { Title = "Hello", Children = { ui.Text:new { Text = "Hello, World!", Class = "button", Mode = "button", Width = "auto" } } } } }:run()
- renke1 6y agoA few years ago I build a small application [1] using react-blessed [0] which is a React renderer for blessed which is similar to ncurses. I think it was pretty easy to create an terminal-based application with it. [0]: https://github.com/Yomguithereal/react-blessed https://github.com/Yomguithereal/react-blessed [1]: https://github.com/renke/overviewer https://github.com/renke/overviewer