Charmbracelet/bubbletea: A powerful little TUI framework
github.com
github.com
All in all, I find this trend for fancy applications-as-text to be poisonous & treacherous to what the console is: a highly flexible, dynamic, integrated environment for working systems. An application is a self-contained little microcosm, ignorant & inaccessble to the rest of the system. The application has been a horrific, cruel invention, expedient for mechanizing user behavior & creating happy paths, but robbing us of general systems competency, inflexible, and so so so isolated.
I worry. I worry a lot that projects like this destroy one of the only genuine & authentic computing experiences around, the console. I think there's ways to make sure that all the UI you present can be automated, but I doubt so very much this library nor most of the other ones respect the environment, give a fair shake to genuine users. These are lies.
Creating a powerful library like this but not having built-in machine-accessible interfaces would be deeply dangerous, leaving it to each application to create it's own parallel machine interfaces would be catastrophic.