Top
Best
New

Posted by mipselaer 12 hours ago

TUI Studio – visual terminal UI design tool(tui.studio)
485 points | 262 commentspage 3
jiehong 9 hours ago|
The lack of accessibility of TUIs is not great in general.

I'd much rather terminals emulator provide a webview directly, and maybe use https://webtui.ironclad.sh/ if you really want the look.

I think it makes more sense for a cli to offer a mini webserver instead.

Think `fish_config`, but opened in the terminal directly [0].

[0]: like https://iterm2.com/browser-plugin.html

xwiz 8 hours ago|
> The lack of accessibility of TUIs is not great in general.

Interesting. In what ways? I haven't heard anyone express this concern before.

jiehong 8 hours ago||
Depending on how the TUI is made, it can be very visual, but lacks structure for a screen reader (unless you stay in the very simple "input field: value" kind of prompt, but even then auto completion is tricky).

Web browsers offer the DOM to tools such as screen readers (OSs offer their own accessibility sdks). Someday perhaps the TUI application could talk to the terminal emulator that would itself talk to the accessibility sdk of the OS and that info would somehow then be accessible.

There was a beginning of discussion at bubble tea[0] about this for example.

[0]: https://github.com/charmbracelet/bubbletea/issues/780

duskdozer 7 hours ago|||
TUIs seem like they should be well-suited to screen readers, but yeah accessibility is often unfortunately far down the list on average project priorities.
BoredomIsFun 6 hours ago|||
TUIs sadly have become niche tech, and accessibility is rarely a concern for niche things.
TrevorFSmith 7 hours ago||
This is a vibe coded app and isn't what I'd want but still, it's interesting to consider what a good implementation of "Figma for TUIs" could be, especially if it avoids the trap of simply treating the console as a crude raster instead of taking advantage of text and keyboards. IMO we don't need WIMP GUI shoved into terminal emulators.
tracker1 7 hours ago||
Half surprised there's no raratui export with the other options. That said, probably lends itself more to Ink and @opentui/react. Also slightly disappointed at the lack of a direct Linux build for AppImage and/or Flathub. Also not using Github's releases which is a little curious.
seertaak 9 hours ago||
A UI design tool for TUIs -- made with Electron?... fun times!
corysama 6 hours ago||
I give it a month before someone launches a TUI-TUI.
elxr 9 hours ago|||
You can run it as a web app, no need for electron.

Just `bun run dev`

rvz 8 hours ago||
That is concerning.
gattilorenz 10 hours ago||
Look up Visual Basic for Dos for a surprisingly good TUI editor!
dormento 5 hours ago||
Old VB is still king for laying out interfaces, for the narrowest of use cases today, bu still... Makes me sad how much we regressed due to the web.
quotemstr 6 hours ago||
Yes!
SvenL 9 hours ago||
So we’re going full circle here right? Can’t wait for the first TUI MVC/MVVM/MVP/M-whatever framework to show up.
binary132 2 hours ago||
The fact that this app isn’t itself a TUI is kinda telling, tbh.
tim-projects 10 hours ago||
This is so cool I immediately wanted to convert my apps. But then when I thought about it, well it's trying to recreate CSS but in a majorly worse way.

Browsers are ubiquitous and I can just tell ai to build a web page. I can't really see a use case other than novelty.

hrmtst93837 5 hours ago||
If you need a UI over SSH or inside tmux, skipping browsers and CSS isn't just a novelty, it's essential since HTML can't touch that territory. TS-based layout in terminals can be ugly but it also dodges a pile of accessibility, latency and bloat issues you get by default with anything running in Chrome.
purerandomness 10 hours ago||
k9s, ncdu, htop, powertop are good showcases how a TUI reduces mental load and are superior to browsers and / or other GUI tools
xvilka 8 hours ago||
More importantly, it also reduces CPU and memory load.
NSPG911 9 hours ago||
Nope, check out something like wiretext, look at this example I put together very quickly

https://wiretext.app/w/WUtjS1bk

Myrmornis 7 hours ago|
TUIs built today should be usable by AI agents. I'm not sure exactly what it looks like but I'm imagining that every UI view has an associated CLI command that can yield precisely that view. Maybe like formally structured breadcrumbs, or maybe like Emacs "keyboard macros".
apitman 3 hours ago||
I've found agents effective using GUI apps with nothing but the ability to take screenshots and send mouse and keyboard commands. I imagine they'd work even better with a TUI, even if it's not designed with agents in mind at all.
kees99 7 hours ago||
Agents excel at using CLI tools with well-written "--help". So maybe consider that instead of TUI.
Myrmornis 6 hours ago||
Yes, they do, but the premise in my comment (and this discussion) is that a TUI is being written today.
More comments...