3 ms·
Show HN: Gotui – a modern Go terminal dashboard library
I’ve been working on gotui, a modern fork of the unmaintained termui, rebuilt on top of tcell for TrueColor, mouse support, and proper resize handling. It keeps the simple termui-style API, but adds a bunch of new widgets (charts, gauges, world map, etc.), nicer visuals (collapsed borders, rounded corners), and input components for building real dashboards and tools. Under the hood the renderer’s been reworked for much better performance, and I’d love feedback on what’s missing for you to use it in production.
- biomcgary 10mo agoThe Readme for a UI library benefits enormously from screenshots, even terminal based UIs.
- keyle 10mo agoI second that, even better would be if every type chart would be a folder, with a readme containing a screenshot and the code example. That would be top notch. PS: looks great on the surface!
- carsenk 10mo agoNext updates will include better docs and many screenshots/examples, thanks!
- ciarand 10mo agoIf you don’t already have a preferred workflow for autogenerating these, you might be interested in vhs https://github.com/charmbracelet/vhs https://github.com/charmbracelet/vhs I am not affiliated, I just think it’s a neat tool
- carsenk 10mo agoScreenshots added for all widgets :) Flex layouts were added too!
- tigranbs 10mo agoIt is interesting that suddenly the Terminal UI became popular. I am super happy to see this kind of thing pop up.
- unsnap_biceps 10mo agoAs a FYI, you removed the original author's name from your license information. Per the MIT license, you need to preserve their copyright in your fork
- carsenk 10mo agoWill fix, thanks
- porridgeraisin 10mo agoGenuinely curious. Do you actually open the license file on all repos posted to HN?
- unsnap_biceps 10mo agoNot every one, but if it looks like something I might use, I do take a quick look at it and any upstream it came from. It keeps me from using something when I shouldn't and have to rip it out later.
- Evidlo 10mo agoThink tabs widget would look better if it was more like a text area in appearance. Tab title should be connected to its content.
- carsenk 10mo agoAgreed, tabs widget needs work, I will try to get into the next release! Thanks!
- smaughk 10mo agoThis project has made me think about more about the difference between TUI's and "command-line" (CLI) apps as categories. Traditionally CLIs were kind of run-and-exit tools, and "real" TUIs were long-running, stateful apps, but what we're creating seems to sit somewhere in between the to. With richer terminals and libraries like this, the distinction feels more about interaction style than environment. Curious how others think about that boundary when designing tools that work in terminals.
- hilti 10mo agoI will definitely give it a try. Terminal UI‘s are super interesting in my opinion, because I feel like they can improve productivity. Hopefully this library can be compiled into a single binary that exposes an application icon. That’s one of the biggest hurdles I experienced with „GUI only“ users - they want something to double click on to start.