Remix.run Logo
Why TUIs are back(wiki.alcidesfonseca.com)
270 points by rickcarlino 8 hours ago | 292 comments
qudat 7 hours ago | parent | next [-]

I think if you look purely at the numbers, the real reason TUIs are popular is claude code, everything else is background noise compared to it.

What originally got me excited to build TUIs was the concept of delivering apps over the wire via SSH. SSH apps resemble a browser in that way: no local installs required.

It's a major reason why I enjoy hacking on https://pico.sh -- deploying the TUI requires zero user involvement.

_jackdk_ 7 hours ago | parent | next [-]

I don't think that's true, because it appears to me that the upswing in new TUI programs predates Claude Code's takeoff.

criley2 6 hours ago | parent [-]

Claude Code uses Ink, a react library in javascript for UI. The upswing is probably stuff like this making it super easy to write a TUI.

_jackdk_ 6 hours ago | parent [-]

What a fascinating modern age we live in.

ctippett 5 hours ago | parent | prev | next [-]

I'm still motivated to adopt a TUI application in lieu of a pure CLI or GUI because of the ability to use it over SSH.

insane_dreamer 21 minutes ago | parent | prev | next [-]

Disagree; TUIs were already gaining steam before that.

I think the main driver was frameworks, available for a range of languages, that make it easy to create nice-looking TUIs (ratatui, textual, ink, etc.)

1123581321 3 hours ago | parent | prev | next [-]

That's why I started creating TUI apps. The cli was increasingly becoming a main view for daily work. I was using shortcuts to put the terminal side by side with other desktop apps or browser windows for context, but it was nicer to just write something that could sit in a tmux or zellij session next to claude or opencode.

It's also nice to have a little less to worry about as a desktop application developer, to be honest. The display is less nice (low text density especially) in exchange.

agumonkey 5 hours ago | parent | prev | next [-]

Claude code amplified the trend hundred fold but there was already a significant increase of TUI since the days of go fzf, rust ratatui and python rich.

My bet would be a desire to do away with heavy browser based UI and the curiosity of trying to test the limits of terminal based rendering.

orbital-decay 5 hours ago | parent [-]

TUI is popular because a) there are no native GUI frameworks for simple tools that are easy, fast, and simple to develop in at the same time, and b) low fidelity lets you pretend being a UI/UX developer without really being one. The rest is abysmal. It's not automatable at all (the article is wrong on that point), less readable (monospace/no images), very limited (try making a DAW in it...), relies on a ton of ancient cruft in Unix-related terminals, it's not really portable etc etc.

agumonkey 4 hours ago | parent [-]

I'd argue that UX these days jumped the shark and that TUI constraints brings back some desirable simplicity, although I agree that they like automation.. but I would bet a few dollars that it's far from impossible (and a fun challenge). People are creative, I wouldn't be surprised if someone made a fun miniDAW in a TUI.

hsn915 5 hours ago | parent | prev [-]

The TUI version of ClaudeCode is not even that good compared even to the VSCode plugin.

dnnddidiej 5 hours ago | parent [-]

How come?

cassepipe 7 hours ago | parent | prev | next [-]

> The hardcore, moved to vim or emacs, trading immediate feedback and higher usability for the steepest learning curve I’ve seen

The only hard part about vim is to be forced to strecth the finger up to Escape for what is essentially the most essential function in a modal editor: Going back to command mode. The ideal workflow is do a quick edit and go back to command ("normal") mode instantly. The fact that Escape is used is a historical artifact that needs to be called out.

So just remap CapsLock to escape, it system-wide, it's not that hard and it's nice to have Escape there generally. In Linux and MacOS it's just a GUI setting away and in windows you just have to edit (create?) a registry key. Can be done on any machine under a minute.

Apart from that I don't see where the learning curve is since you can just start with the basics from vim-tutor and look up for more when you feel you're spending too much time on something. I already felt faster than in any other editor when I just knew the basics. The real problem of vim is that you get used to modal editing very quickly and it feels like the stone age when you don't have it.

mr_mitm 7 hours ago | parent | next [-]

Unfortunately, remapping escape to caps lock can lead to serious friction if you have to work with different laptops a lot, like I do. The muscle memory gets in the way a lot.

cassepipe 6 hours ago | parent | next [-]

Which is why I never went with CapsLock being both Ctrl and Escape depending of whether it's part of a key combo because it's whole setup. On the contrary, whenever I use someone else's machine I can quickly go in the settings, set the option and then set it off after I am done.

lucasoshiro 6 hours ago | parent | prev | next [-]

I always remap Caps Lock to Ctrl. I understand that Caps Lock needed to be next to Shift in typewriters, but in computers it seems like it is wasting a key in the home row for only be used sometimes for screaming (which can be done by holding shift...)

IBCNU 23 minutes ago | parent [-]

fellow Caps Lock to Ctrl remapper (and neovim) here...

bonsai_spool 5 hours ago | parent | prev | next [-]

Ctrl-[ is accepted across Vim installs

thayne 7 hours ago | parent | prev | next [-]

If only keyboard makers would just always put escape there.

wtetzner 6 hours ago | parent [-]

It should always be "hold for control" and "tap for esc".

jolmg 4 hours ago | parent | prev [-]

Ctrl-C also works.

pilgrim0 7 hours ago | parent | prev | next [-]

remapping capslock to esc is something nobody whom i've shamed into doing can go back from. it's just night and day. i've been thinking lately that the reason we need hjkl is vim is because the keyboard layout is actually bad for arrows. on typewriters there was no arrows, but on a computer arrows are of primary importance. i think the spacebar doesn't need to be so big, there's no reason for it to be available to both thumbs, and i think moving the small set of arrows into the left or right part of the spacebar position would be so much better for typing because the hjkl hack only work in hacker editors, but we need to use arrows a lot on normal software and it's super bad for your hand if you use it a lot. i started developing inflamations because of the way i fold my thumb to reach for the arrows without moving my entire hand.

MarsIronPI 7 hours ago | parent [-]

> i think the spacebar doesn't need to be so big, there's no reason for it to be available to both thumbs

This is why I love JIS, even though I don't actually need the Japanese keys. That small spacebar is so much better, and you get three extra keys (Henkan, Muhenkan and Kana) along the bottom row. As an Emacs user, I bind Henkan and Muhenkan to be Control keys. It's very comfortable.

wpm 5 hours ago | parent [-]

I was just thinking this today tweaking the layout on my lilypad58, a layout I don't love and kept arriving at, "I just want more modifiers". Using JIS is genius.

MarsIronPI 2 hours ago | parent [-]

My JIS bottom row is currently:

<Meta> <Super> <Alt> <Control> <Space> <Control> <Alt> <Super> <Compose/Meta> <Greek>

I have left Control mapped to Meta, {,Mu}Henkan mapped to Control, Kana to right Alt, right Alt to Super, Menu to Compose/Meta (tap/hold) and right Control mapped to Greek.

I use keymapper[0] to do low-level remapping and tap/hold, and a custom XKB layout for the Greek modifier. I highly recommend this setup.

[0]: https://github.com/houmain/keymapper

saratogacx 5 hours ago | parent | prev | next [-]

Weirdly enough I actually like that Esc is so far away and it is not for efficiency but for ergonomics. It forces me to lift my hand up and reposition it away from the home row and back so I'm forced to move muscles that would otherwise just wait around and collect RSI points. I tend to use the arrow keys often as well for the same reason on the other hand (although I do still use hjkl quite a bit still)

tommy_axle 6 hours ago | parent | prev | next [-]

Map to "jj" and call it a day since your finger is already on the home row

Also ctrl + [ is standard terminal/ascii for esc so that might be a bit more ergonomic than reaching for esc

cassepipe 6 hours ago | parent | next [-]

Yes but then you get used to jj (or jk) which might not be available on other vi modes (shells vi modes, gdb, glide browser ?) and it's overall quite nice to quickly escape any situation by having the key be closer.

Ctrl + [ would be acceptable if it wasn't, imo, the most important function of the editor.

EDIT: My bad, you can do it with Glide apparently

tern 6 hours ago | parent [-]

I've yet to come across something with vim bindings that lacks a .vimrc where you can map 'jk'. Either way, switching back to ESC is as annoying as it is in the first place.

cassepipe 5 hours ago | parent [-]

Well I have given at least one example. Do you not use bash/zsh/fish/nushell vi modes ?

jeremyjh 5 hours ago | parent [-]

Do you not use web search to verify assumptions ?

cassepipe 4 hours ago | parent [-]

I should have. I don't why I assumed the line editors couldn't handle two keys in a row.

tern 6 hours ago | parent | prev [-]

"jk" is even faster (you get to "roll" your fingers)

tuvix 6 hours ago | parent | prev | next [-]

Not sure if this is bad form but i’ve always loved using jk for escape. It feels so natural to roll your index and middle fingers to get back to normal mode.

I agree, too, besides reminding myself to use numbers before movement commands there was really nothing that felt super hard about vim. It almost disappointed me, I always heard the jokes about not being able to quit it!

cassepipe 6 hours ago | parent [-]

Yes but jk does not work in other contexts (shell vi modes at least for me) and it's actually to have Escape closer to home to quickly get out of a situation

To be fair I mostly use `/` + (n/N) + Enter with `incsearch` on (by default in nvim), I feel it's really the superior way to move around and it has deprecated a lot of my vim-fu.

In the same way, apart from occasinal `ciw` (or other text-objects), I do most of my edits with `:s/old/new`. I don't even use a complicated regex as sometimes it's just easier to write one or two simpler ones. It's just faster to not have to go to a specific location before you make an edit.

jeremyjh 5 hours ago | parent [-]

It works in bash and zsh at least.

cassepipe 4 hours ago | parent [-]

I stand corrected

lucasoshiro 6 hours ago | parent | prev | next [-]

> The only hard part about vim is to be forced to strecth the finger up to Escape

I still don't understand why people keep mentioning this, ctrl-c works as well to go back to the normal mode.

> windows you just have to edit (create?) a registry key

Or use Powertoys, which I don't know why it isn't a setting.

(saying as a Mac, Linux and Emacs user, although I still use Vim in the terminal)

cassepipe 6 hours ago | parent [-]

Because Ctrl+C for the most important function of you editor kinda sucks ? I mean you can get used to it, but you can get used to anything. Maybe we can have nice things ?

Also just to be pedantic: https://stackoverflow.com/a/5036294/10469162

redlewel 5 hours ago | parent | prev [-]

You know that CTRL + [ functions same as ESC right? Sr. dev at my job told me about this a year ago and it made vim SIGNIFICANTLY more comfortable to use day to day.

maccard 5 hours ago | parent [-]

I’ve been using vim bindings for a decade and never knew this…

skydhash 4 hours ago | parent [-]

It's about the ascii code and terminal code. (Almost?) Every non-printing character can be entered with Ctrl+<some keyboard key>. With Control pressed, D is eot (end of transmission), G is bell, H is backspace, I is line feed (next line), L is form feed (new page), M is carriage return (start of line), Z is substitute, and [ is escape.

danpalmer 4 hours ago | parent | prev | next [-]

I wish TUIs weren't back. I'll take a web interface over a TUI any day. No installing fonts that are too clever, no tweaking my terminal config to get it to display right, no guessing the navigation shortcuts that person thought was best, real text editing with OS standard text navigation, better integration with my password manager, text expander, etc...

I live on the CLI, I have one a hotkey away, but please, technology has advanced significantly since the terminal was the only option, and we have far better options for building UIs now.

stdatomic 3 hours ago | parent [-]

Web interfaces aren't any better. They're designed to for aesthetics and not functionality. Not to mention the fact that they all have their own UI idioms that you have to pick up on.

giancarlostoro 7 hours ago | parent | prev | next [-]

Because nobody is investing in native UI development. Electron is proof that if there were a simple to use GUI stack that companies would adopt it.

bbkane 7 hours ago | parent | next [-]

Contrary to what the article says ("but Google gave up on the project before a real product was launched"), I think Flutter work continues and adoption is increasing

serial_dev 5 hours ago | parent | next [-]

The article (as I read it) says that Google gave up on the new operating system (where Flutter would have been the default UI toolkit).

I’m not sure if Google actually already gave up on Fuchsia, I’d be surprised if the work actually stopped, but it’s clear now that it will not be a panacea and if it will ever get released and gets some traction, it’s still like a decade away from becoming a major OS.

airstrike 5 hours ago | parent | prev [-]

I don't really want Dart tbh

danpalmer 3 hours ago | parent [-]

I dislike Dart, but it does work really well for Flutter. I think if you treat it as a Flutter DSL it's easier to put up with.

thayne 7 hours ago | parent | prev | next [-]

I don't think it is lack of investment necessarily, so much as not building the right thing.

What we need is a framework that is easy to use, cross platform, open source, and ideally can be used from your programming language of choice.

victorio 6 hours ago | parent | next [-]

You are not going to believe this... (joking)

einpoklum 5 hours ago | parent | prev | next [-]

Are the available FOSS cross-platform frameworks really not that good?

There's at least Qt, GTK, umm, and, I guess Juce and wxWindows, right? Oh, I see there are more:

https://en.wikipedia.org/wiki/List_of_platform-independent_G...

Can you explain what's deficient about the first two I mentioned?

MrDOS 5 hours ago | parent | next [-]

> Qt

Arcane build system. I mean, I guess it technically supports CMake these days, but I have never been able to get anyone else's Qt project to build without much gnashing of teeth.

Emulated native widgets try for pixel-perfect, but tend to feel wrong somehow.

> Gtk

Outside of a Linux/Gtk native environment, Gtk applications are awful. Take GIMP on macOS, for example: it's had window focus issues (export dialog getting lost behind the main application window) literally ever since Gtk on macOS dropped the XQuartz dependence. And that's the flagship application for the toolkit.

hombre_fatal 4 hours ago | parent | prev [-]

GTK 3 hello world is 150-200mb. They really messed up since GTK 2 was 30mb (like macOS AppKit).

skydhash 3 hours ago | parent | prev [-]

> cross platform

That's one word that should never been used in an design meeting. None of the GUI I've used has managed to do this right. Even Emacs and Firefox. The platform are totally different (and in the case of Linux/Unix, there's a lot of different HIG competing). So trying to be cross platform is a good illustration of the lesson in https://xkcd.com/927/

The best bet should be a core with the domain with a UI shell. And then you swap the shell according to the platform.

thayne 2 hours ago | parent | next [-]

> The best bet should be a core with the domain with a UI shell. And then you swap the shell according to the platform.

I've rarely seen that turn out very well. Typically it works ok on whatever desktop main developers use, and not so much on the others. That means using multiple frameworks, witht their own idioms and quirks and having to repeat a lot of work. Unless your UI is very simple it is pretty expensive to maintain multiple separate versions of it.

Gigachad 3 hours ago | parent | prev [-]

I want my applications to look consistent across platforms. Why would I want discord for example to look entirely different between MacOS and Linux? With the current state of things, once I use the app anywhere, I'll know where everything is on any platform.

skydhash 3 hours ago | parent [-]

Take a good look around and check how often people do really change computer platform. And you already have so many things that are different that the "same look" is just an excuse. Gnome, KDE, macOS, Windows does not have the same UX in their file explorer which is a basic utility that everyone has to use. Same with connecting to a WiFi and creating a new user account.

So why would you want Discord to be consistent, when you're mostly using the same desktop (or switch between at most two) for hours.

The thing is when HIG were followed instead of everyone trying to create their "brand", everyone knows where the common actions were. You learned the platform and then can use any app. With the new trend, you would only have one computer, but any new app is a new puzzle to figure out.

Gigachad 10 minutes ago | parent [-]

I don't really have any issues working out how to use modern electron apps, they all follow very simple UX patterns, I find them much easier to use than the average native wxWidgets/qt app. Simple, consistent UI is less about the color scheme and border radius being consistent and about things being simple and well laid out on a higher level.

Two apps can have different CSS while being easy to understand because the core flows and ideas are the same.

AlienRobot 7 hours ago | parent | prev | next [-]

To me the worst case is trying to develop some small utility like a tool to search in files using regex. Because if you are developing something large, the amount of time you spend dealing with packaging, distribution, etc., is small and you don't care about file sizes.

But if I want to, say, develop the app for Windows. That is easy. You get a tiny binary to just opens a form and runs with a double click. No install necessary.

The same thing on Linux? Impossible. There is no guarantee the machine has any version of GTK or Qt installed at all, so to be self-contained you need to ship the entire OS. Now your file size is huge. I can't use Python, because now Windows users need to have Python or I have to ship an interpreter.

The only plausible alternative is something like Java. Now you have a single .jar file that runs on any system. But then Oracle changed the license, and JavaFX is no longer part of Java (Swing still is).

Honestly, I just want to display a menubar with keyboard shortcuts. Why can't there be a menubar VM or something that gives me access to a menubar on all OS's without having to deal with all of this. We are already shipping the entire browser with Electron. That is stupid. The way it should work is users install a something like Flash but for desktop apps and every app just uses that platform.

It's probably easier to ship a DOS game than a desktop app because everyone who wants to run a DOS game will just have a DOS emulator installed.

einpoklum 5 hours ago | parent | next [-]

> There is no guarantee the machine has any version of GTK or Qt installed at all, so to be self-contained

So don't be self-contained. I mean, you depend on an X server or Wayland, right? So why not depend on GTK or Qt being available?

(Of course, it _is_ tricky to be able to depend on any of several versions of these, but still.)

AlienRobot 5 hours ago | parent [-]

What I mean is that on Windows you can just ship an 100kb .exe and forget about it and it's still going to work 20 years later.

On Linux that doesn't happen. First of all you HAVE to ship the source code if you want it to keep working on every machine because people need to compile it on their machine for it to work, so you're practically forced to open source your desktop app. I know the notion of having a closed source app on Linux sounds weird, but it's more weird that this isn't an option as a side-effect of the how the whole system is designed. Second of all, even if you do ship the source code, you're going to be forced to maintain it. If you made an app in GTK 1 (which looks beautiful, by the way, compared to modern GTK), people won't be able to just install it because GTK 1 is so old that it's no longer in the repositories.

An app made in Java 8 runs in the modern VM. An app made for Windows 95 still runs on modern Windows.

It's only on Linux that I feel like the developer is pressured to open source it and make it the user's problem because the system won't provide support.

okanat 4 hours ago | parent | next [-]

I'm not defending this but there was (or has been) enough political motivation and intentionality in GNU/Linux systems to make binary compatibility a hassle. People actually made decisions against backwards compatible APIs, intending to cause issues and forcing open-sourcing.

Binary compatibility means closed source has a chance to grow in an ecosystem. It requires "responsible" developers to put more effort into designing APIs and keeping them alive. It adds complexity that requires a more stable set of long-term developers; in contrast, the constant churn in FOSS requires lower barriers for contributions. With stable APIs/ABIs you have to live with decade-long mistakes. You cannot "just fix it" in a next major bump.

skydhash 3 hours ago | parent | prev [-]

> First of all you HAVE to ship the source code if you want it to keep working on every machine because people need to compile it on their machine for it to work, so you're practically forced to open source your desktop app. I know the notion of having a closed source app on Linux sounds weird, but it's more weird that this isn't an option as a side-effect of the how the whole system is designed.

That's so very not true.

Most Linux distros allows for custom repositories. So you can just setup the build infrastructure on your side and then have the users include your repos on their side. No need to open source code and users have painless update notifications.

> It's only on Linux that I feel like the developer is pressured to open source it and make it the user's problem because the system won't provide support.

Lots of users have never seen the source code of their software, they just get the binary package. The pressure you're talking about is imaginary.

polski-g 6 hours ago | parent | prev [-]

I want to say you could statically link a GUI application, but I'm pretty sure libpthread doesn't cooperate on static linking.

badc0ffee 5 hours ago | parent [-]

libpthread is fine with static linking. Where you run into issues is libraries like libresolv that use configuration files in a specific path.

tootie 7 hours ago | parent | prev | next [-]

Zed did. I know it has it's fans, but it doesn't seem to be generating a stampede of adoption despite what looks like a monumental effort to build a GUI system from the ground up.

jbvlkt 5 hours ago | parent | next [-]

What I do not like on Zed or electron GUIs is lack of customization. Older IDEs using sdks like Swing, JWT, QT, GTK etc. allowed user to design its user interface using drag and drop. ie compare older IDEs like eclipse or idea and try to create layout which fills screen with information important for you. And then try to do the same with vscode or zed. I like functionality and speed of zed but UI customization is too limited for me. It might be design choice or sdk limit I am not sure.

landr0id 5 hours ago | parent | prev [-]

Their GUI system (GPUI) is not very mature for use outside of Zed. GPUI is basically a UI framework in the truest sense: a framework for building UI... frameworks/components. It has core functionality for async execution, an ECS for grabbing shared resources, and a div.

It's basically like building a website with div and basic CSS.

gpui-component exists: https://github.com/longbridge/gpui-component

Up until sometime late 2025 GPUI wasn't even on crates.io, and it seems like the GPUI-component ecosystem still promotes using git deps. It was also in "read the code for docs" state for a very long time

It's been a while since I've used it, but there were weird things missing too like the Scollbar was located in Zed's UI component crates instead of core GPUI. Arbitrary text selection also is not possible, which is something I really value about egui.

gray_-_wolf 7 hours ago | parent | prev [-]

I mean, both wxWidgets and Qt are fine, no? GTK 2 and 3 as well (4+ is... meh). There are plenty applications using one of these (often via python bindings).

I think it is more of a staffing problem. Plenty of people know web development, so you want to use those people for desktop as well. Having desktop be JS (electron) helps a lot with that.

dpe82 6 hours ago | parent [-]

A year ago I would have agreed with you, but now anyone can build a perfectly reasonable native app.

maccard 5 hours ago | parent [-]

What is native on Linux?

Gigachad 3 hours ago | parent [-]

What is native on Windows too. These days the term native app is so confused it's hard to come up with a definition that doesn't include electron.

spankalee 6 hours ago | parent | prev | next [-]

I really don't get terminal UIs that try to rebuild GUI-like functionality. Don't we think that computer interfaces should get better? We're not limited to a grid of characters to pretend to draw lines and shapes with anymore. You can't even display an image in a terminal without a non-standard terminal like Kitty or iTerm.

It's just a shame that we don't have a great cross-platform, streamed, UI system. The web is great in it's own ways, but clearly something could be a lot better for this purpose. Flutter's ok, but not on-demand enough and too married to Dart.

whartung 6 hours ago | parent | next [-]

This is because of the failure of the modern GUI environment.

They want a GUI, but, instead, they have to resort to something like this. A GUI in a TUI.

They want something portable. They want something that can run remotely. They want something they can run more safely than having to expose a socket. They don't want to have to bring up an entire desktop.

Rootless windows are effectively dead. That leaves web interfaces (and all of their issues) or doing a TUI, where all you need is an SSH connection that everyone already has.

In the past you could slap something together with Tcl/Tk, and just launch the window over X Windows. That's not so easy today, and no one is running remote X anyway.

The LCD is SSH, and these are the only things that fit.

tonyarkles 5 hours ago | parent | next [-]

> That's not so easy today, and no one is running remote X anyway.

I was quite recently, but even then remote X is missing a really big usability piece: keeping a long-running application open on the host and periodically connecting to it from a remote node (concretely: connecting to my server from my laptop). VNC/RDP/etc all do this at the desktop level, but they're pretty mediocre experience-wise.

tmux gives me this for terminal applications without really any compromises. I run tmux for local terminals as well as remote terminals; the hotkeys are all deep muscle memory at this point. It just works.

cedws 6 hours ago | parent | prev | next [-]

Agreed. I dread GUI development, hence I never build GUIs. If there were a library for my language of choice that worked multi-platform and used native components then I’d be interested.

einpoklum 5 hours ago | parent | prev [-]

> That's not so easy today, and no one is running remote X anyway.

If you:

1. Have a low-latency connection to a decent machine, and 2. Are on a machine that's weak, or isn't yours, or that you don't fully control (e.g. employer forces you to run Windows)

... then you live in remote X apps my friend.

sys_64738 3 hours ago | parent | prev | next [-]

It's for speed over SSH text is fast. Graphical redrawing of RDP/VNC/whatever is just slower and tedious in the long run.

zozbot234 5 hours ago | parent | prev | next [-]

> It's just a shame that we don't have a great cross-platform, streamed, UI system.

It's called the web/Jupyter. And no, web-driven UI doesn't have to be heavyweight either, any more than HN is.

worik 5 hours ago | parent | prev [-]

i am experimenting with TUI/GUI.

My motivation is avoiding all the piles and piles of extra software dependencies that X and/or Wayland bring in.

In addition (but might only be relevant in my niche platform) is that Wayland is buggy and X is deprecated and unmaintained making making the GUI work there a constant struggle.

Time will tell if it is an improvement

zmmmmm 5 hours ago | parent | prev | next [-]

I think it's the smoldering ruins of the OS vendor self interest collapsing in on itself.

There's not a single good universal UI. The best is the browser and it is reasonably successful but the sandbox makes it specifically unsuitable / high friction for doing things that need local access to files, network, etc. And it is ridiculously high overhead if you just want to run something simple. Then remote access is even more a debacle. Can I access an application running on my windows host from my Mac? can I forward that through a tunneled connection?

TUI is a simple, universal protocol that does what you need and is natively remote. Whatever I use locally will seamlessly work over an SSH connection.

And it's a big middle finger to the OS vendors who thought locking everyone in by making everything incompatible or ecosystem specific was a winning strategy.

walrus01 5 hours ago | parent [-]

The failure of the modern absurd GUI environment (Windows 11 is a GREAT example) is why I keep coming back to something like a minimalist xfce4 desktop environment. There really isn't a need for all the absurdity.

papyrus9244 5 hours ago | parent [-]

I've been using openbox for decades now. It doesn't get in the way, and I don't need more.

ohnei 7 hours ago | parent | prev | next [-]

The TUIs I've looked at seem to be largely NPM dependent? Bizarre that agents apparently don't have time to rewrite themselves in something that isn't a security tire fire. It kind of makes me assume that all this agents taking over stuff is from people working at garbage-pivot-garbage startups that don't really have to worry about any consequences but not being fast enough.

wren6991 6 hours ago | parent | next [-]

99% of LLM-adjacent software is webslop in a state of perpetually broken churn.

OpenCode for example has not yet figured out "maintain a log of all messages and send that log to the SSE endpoint in the same order to get the next response" and has regular prompt cache misses even with context pruning disabled

llbbdd 7 hours ago | parent | prev | next [-]

Return to the halcyon security era of curl piped into bash

allthetime 7 hours ago | parent | prev | next [-]

Go + Lipgloss + Bubbletea is by far the most robust and performant stack for building (and or generating) aesthetic and usable TUIs. Excellent DX. No npm necessary

MarsIronPI 7 hours ago | parent [-]

Is the Go ecosystem really that much better? As an outsider it looks like there's a fair amount of library use, more than I'd like.

polski-g 6 hours ago | parent [-]

Check out the Crush agent harness. It's very impressive.

MarsIronPI 2 hours ago | parent [-]

Impressively many dependencies? I estimate about 75-125 in the dependency tree, including multiple versions of the same package. Now compare to something written in e.g. C: such a program might have 2 dependencies: libcurl and ncurses.

nothinkjustai 7 hours ago | parent | prev [-]

Yeah that’s the thing, pretty much all the people who are really into ai for everything are JavaScript/Typescript developers, usually working at startups, and often in the AI field.

llbbdd 3 hours ago | parent [-]

AI is only good at the work I'm not paid to do

JamesStuff 40 minutes ago | parent | prev | next [-]

There is only so much rounding of borders you can do in the terminal! On a 16” MacBook, you can’t have Activity Monitor take up less than about 2/5 of the width of the screen! There is so much padding around every single element.

I don’t need pretty buttons, I need usability and readability. Without having a 50” display!

_jackdk_ 7 hours ago | parent | prev | next [-]

The diagnosis for GNU/Linux is better than I expected but I think is still incomplete. Yes, you have two major toolkits (GTK+ and Qt) and many minor ones (most of which wrap one of the majors). Qt is proprietary but also available under a free software licence, but what if you don't want that that complexity? It feels like modern GTK+ is less of a cross-platform toolkit and more of a runtime layer for libaidwaita and the GNOME stack. So if you don't want to conform to GNOME's UI conventions, it's not clear where else to go.

Also, the explosion of new languages in recent years means having to write a new set of FFI wrappers around existing libraries, and it's easier to make an idiomatic library for TUI development than wrap all of GTK+ or Qt.

zozbot234 5 hours ago | parent [-]

The xfce folks are keeping GTK+ 3.x around, mostly for its advanced theming support. Isn't that quite enough?

_jackdk_ 5 hours ago | parent [-]

I didn't realise. That's good news. Whether it's enough, I don't know the UI space well enough to say.

chvid 30 minutes ago | parent | prev | next [-]

A React app that renders to text running inside a terminal implemented using electron.

abhinavsharma 8 hours ago | parent | prev | next [-]

To me it's just that they're great for people who live in a terminal

- No distractions from visual content

- Extreme efficiency with keyboard

- AIs can code them up quickly. It used to be a total pain

mbreese 7 hours ago | parent | next [-]

I think the corollary to this is that there are more people comfortable with living in a terminal. TUIs are more common now that there is an increased audience for them.

nrmitchi 7 hours ago | parent | prev | next [-]

> - AIs can code them up quickly. It used to be a total pain

As far my opinion goes, this is biggest (and really only) reason.

estimator7292 7 hours ago | parent | prev [-]

There's nowhere in a TUI to add oceans of padding for a ""sleek"" and ""modern"" look. There's very very little that a product manager can ""streamline"" in 80 columns of text.

itsboring 5 hours ago | parent [-]

I like TUIs for a lot of reasons, but this one might be the biggest.

0xbadcafebee 5 hours ago | parent | prev | next [-]

It's nuts that software developers are allowed to design user interfaces at all. They're incapable of making a user interface that isn't text. It's like if plumbers designed houses, they'd make all the floors slope downward, because that's the easiest way for pipes to run.

Oh we need multiple windows we can move around/resize? Let's make them text windows. We want people to be able to quickly select options? Yeah make those text boxes. We want to quickly compose documents with some kinda style/formatting? Yeah they'll need to write more text to format it (but let's not make any apps to easily view the text in formatted mode).

ninth_ant 5 hours ago | parent [-]

Allowed? Many if not most of these open source TUI projects were started by individuals or small teams who wanted to solve a problem for themselves.

It’s allowed. You don’t have to use them.

herrherrmann 8 hours ago | parent | prev | next [-]

There are a lot of points in there that are just generally bad in modern applications – e.g. UI inconsistencies, lack of automation and general configurability (shared ways to handle windows, layouts, keyboard shortcuts, etc.). I think it’s fair to say these things are just hugely lacking in modern operating systems. Linux might come close, but only with lots of tinkering. macOS is clearly lost and degrading now, and Windows was never close to having these qualities.

I don’t know if TUIs will be the answer, but it’s an interesting development!

pelcg 7 hours ago | parent | prev | next [-]

There are a lot of TUIs in existence worth looking at if one is interested or curious about them [0], [1], [2]

[0] https://github.com/rothgar/awesome-tuis

[1] https://terminaltrove.com/explore/

[2] https://github.com/ibraheemdev/modern-unix

Even before Claude Code, I always see htop as the prime example of a good TUI.

schmorptron 8 hours ago | parent | prev | next [-]

I think part of it is also that we're able to still LARP as full developers of complex systems while vibe coding by seeing an interface that makes us look like l33t h4xx0rs even though we're just pressing continue 15 times

bartread 7 hours ago | parent | next [-]

> look like l33t h4xx0rs even though we're just pressing continue 15 times

I feel seen.

I also think there’s a certain element of reacting against absolutely everything becoming a bloated electron app.

I have no doubt - if it hasn’t already happened - that some apps will unironically embrace the most ridiculous option by shipping as electron apps that implement a TUI layer as their front-end.

john01dav 7 hours ago | parent | next [-]

> I have no doubt - if it hasn’t already happened - that some apps will unironically embrace the most ridiculous option by shipping as electron apps that implement a TUI layer as their front-end.

Claude code is almost there

https://levelup.gitconnected.com/theres-a-react-app-running-...

Suro 7 hours ago | parent | prev | next [-]

Considering the insane memory consumption of claude code running in my terminal, electron was never really the problem, bad software was the culprit all along.

fasterik 3 hours ago | parent | next [-]

The culprit is using web technologies where they don't belong, which Electron is also guilty of. Claude Code is 400k lines of JavaScript for a TUI where a sane implementation in C would be two orders of magnitude less code.

jorvi 2 hours ago | parent | prev | next [-]

Yup. VSCode is really fast and memory-frugal for an Electron application of that complexity.

Likewise, Gnome has proven that you can write entire UIs in Javascript and have them be quite performant.

Electron (well, Node is a big sub-culprit) and Javascript in general just make it really easy to create a slow, bloated application.

onemoresoop 7 hours ago | parent | prev | next [-]

Can’t say that electron does not encourage bad software, quite the opposite

treyd 7 hours ago | parent [-]

It's an example of bad code that further encourages more bad code.

Redster 7 hours ago | parent | prev [-]

Always has been.

WD-42 6 hours ago | parent | prev | next [-]

Claude code is react and their desktop app is Electron. But “coding is largely a solved problem”.

ornornor 6 hours ago | parent | prev | next [-]

> shipping as electron apps that implement a TUI layer as their front-end

A significant number of these apps are nodejs apps so it’s not that much of a leap!

bartread 6 hours ago | parent [-]

Yeah, I noticed some TUI libraries in npm when I was working on a Typescript project a couple of years back so I'm sure people are doing it.

samgranieri 5 hours ago | parent | prev | next [-]

I really wish that 1Password wasn’t an electron app. Or Spotify. (Maybe I should just use Spotify in the browser).

We need to advocate and evangelize for native apps, like RapidApi on macOS and also Tower.

MarsIronPI 7 hours ago | parent | prev | next [-]

Just wait till you hear about the wonders of React + Ink! Now you can have JS bloat in your terminal too!

Jokes aside, I don't understand how devs can bring themselves to ship such inefficient apps.

girvo 4 hours ago | parent | prev [-]

Except most of the TUIs I’m seeing are god awful with horrible input latency because they’ve reimplemented everything from scratch in python or whatever. Multiple hundreds of ms per keystroke: it sucks.

koliber 7 hours ago | parent | prev | next [-]

Bad UI plagued software development since ages immortal. The reason is not AI. Good UI design is a skill (or art?) and not an afterthought. But most people do not see it that way and that is why things are the way they are.

PunchyHamster 3 hours ago | parent | next [-]

No, it's just misaligned incentives.

Companies make UI/UX to prioritise first 30 minutes of the experience, to keep user using it long enough that they stick with it. Not the 8h/day work the UI will get when a tool become pillar of your work.

exe34 7 hours ago | parent | prev [-]

> since ages immortal

since time immemorial?

flir 7 hours ago | parent [-]

3rd Sept 1189.

Anything after that is time memorial I guess.

the__alchemist 6 hours ago | parent | prev | next [-]

FYI this is why I still use Vim sometimes. I am OOM more productive in JetBrains, but sometimes I have to feel like Hiro Protagonist. So, Vim it is.

arcanemachiner 5 hours ago | parent | next [-]

Sometimes I swear that people are just making up acronyms here to troll people.

I assume you mean "orders of magnitude" and not "out of memory". I have never seen the former used as an acronym before, let alone without some kind of contextual clue. (In typical Baader-Meinhof fashion, I'm sure I'll see it again in the next 24 hours...)

lucketone 5 hours ago | parent | next [-]

https://news.ycombinator.com/item?id=48001905

the__alchemist 4 hours ago | parent | prev [-]

Nailed it!

jbvlkt 6 hours ago | parent | prev | next [-]

I have just combined those together. I use astronvim as main editor but when I need IDE I switch to Idea. I use ideavim with configuration as close as possible to astronvim. So text editing is the same for me in both programs. Modal editors are still great and they can do a lot of work that looks like magic for AI era trained developers.

Cpoll 5 hours ago | parent | prev [-]

Did Hiro even use a keyboard? I remember everything was VR in Snow Crash.

I, of course, pretend I'm Zero Cool.

dbish 8 hours ago | parent | prev | next [-]

I’m relatively certain it’s just this at the end of the day. Everything I see people doing in their custom built TUIs or claude/codex CLI can be done, likely even easier, in a simplified IDE or easier to scan UI, but it feels nice/cool/cyberpunk/work-like to look like you’re doing more.

Everyone will have a “reasonable” explanation though for why they have to stay in the terminal even when they aren’t really coding anymore and it wouldn’t be hard to have a window next to your terminal if you really have to, but live and let live. Whatever makes you happy as be all become managers.

I too like a cyberpunk interface even if it’s last the need :)

allthetime 7 hours ago | parent | next [-]

It is much easier to quickly generate a usable tui for simple monitoring and management than a usable gui. Go + lipgloss + bubble tea and a single prompt will give you whatever you need in a minute or two - much faster to compile and no platform specific issues. I can’t speak for anyone else, but I do a lot of work in the terminal still and I’d much rather stay in that context then open up yet another window

majormajor 7 hours ago | parent | next [-]

> I can’t speak for anyone else, but I do a lot of work in the terminal still and I’d much rather stay in that context then open up yet another window

I do a lot of work in the terminal and that's exactly why I'd rather have other windows to the side so that my terminal can stay exactly focused on what I'm doing there. Those other windows might also be terminals, but I have a big screen, and I want to make use of it to see things all at once. A GUI gives far more flexibility for arranging those multiple views.

I've sat with coworkers taking two to twelve keystrokes to flip between things that I just have side by side in separate IDE windows, browser windows, or tabs... or can switch between with a single click instead of those keystrokes.

kajman 6 hours ago | parent [-]

Window managers are more flexible than multiplexers, but I also think there's a higher floor of effort juggling multiple separate GUI programs than going between tabs and panes in a terminal emulator.

Multi-monitor terminal juggling also probably loses out to GUIs, though for me it's usually IDE or Browser on one and multiplexer on the other. One big zellij session connected to multiple terminal emulators is probably the best way I could think to handle that.

rmunn 3 hours ago | parent [-]

> a higher floor of effort juggling multiple separate GUI programs than going between tabs and panes in a terminal emulator.

Depends very much on your window manager. Tiling window managers such as Hyprland let you open multiple windows and it will automatically arrange them side-by-side. Want one of them to be 60% and the other 40%? No problem, there's a keyboard shortcut (configurable) for that. Have four windows open in a grid arrangement and want to switch between them? Just slide the mouse, no clicking needed so the movement can be as rough and imprecise as you want, OR if you don't want to take your hands off the keyboard then SUPER+arrow keys (also configurable) will move the focus to the next window in that direction. (And if you are in focus-follows-mouse mode then it also moves your mouse cursor to be in the middle of the focused window, so you won't lose window focus by accidentally bumping your mouse and moving it one pixel). Keyboard shortcuts for maximizing and un-maximizing windows, for throwing them onto other workspaces and switching between workspaces...

I throw windows around my screen all the time, and rarely take my hands off the keyboard to do it. It's the fastest, most flow-like window manager experience I've found yet.

pocksuppet 5 hours ago | parent | prev | next [-]

This used to not be the case - we've regressed. In the distant past you could just drag a couple of widgets onto a form and update them from a timer.

dbish 7 hours ago | parent | prev | next [-]

It’s very easy to do the same thing in a variety of ways and simple guis are basically solved by Claude/codex for almost anything.

wild_egg 3 hours ago | parent | prev | next [-]

Can get a GUI with the same prompt if you tell it to use TCL/tk instead of Go + Charm stuff

tempaccount5050 7 hours ago | parent | prev [-]

Not anymore it isn't. "Claude, make this a web app".

allthetime 7 hours ago | parent [-]

Just what I need! A bloated react app to manage my systemd units

logicprog 6 hours ago | parent | next [-]

Just use something like Tk or wxWidgets.

tempaccount5050 6 hours ago | parent | prev [-]

So just tell it html only if you want.

sophiabits 5 hours ago | parent [-]

A browser is OOM more expensive to run than a terminal app, regardless of what you're running inside said browser

eVeechu7 4 hours ago | parent [-]

Is that because they are much more likely to pay the ultimate price at the hands of the OOM killer?

mr_mitm 7 hours ago | parent | prev | next [-]

TUIs already increased in popularity before agents became a thing. The low latency, the ease of remoting and the limited screen real estate which forces the developer to carefully design the interface are genuine advantages. I've been using mutt, vim, tig, tmux, newsboat, etc for over a decade at this point, and the cyberpunk feeling faded quickly.

setr 6 hours ago | parent [-]

The low latency and instant startup is by far the primary value add imo. Nothing else comes close.

The inherent lack of UI bloat is an added bonus.

regexorcist 7 hours ago | parent | prev | next [-]

No it can never be the same. The terminal is about not having to switch from the keyboard. My entire workflow is tmux panes with different TUIs and terminals. Not to mention performance, with a neovim IDE you may have tens of them open in different panes for example. I wouldn't try that with VSCode.

logicprog 6 hours ago | parent [-]

You can make even lighter weight and just as keyboard driven GUIs. The only downside, as you say, is them not integrating with Tmux.

xiaoyu2006 6 hours ago | parent | prev | next [-]

But GUIs are hard to built - mainly because of tech debts around all three major platforms. But nontheless displaying graphics is harder than outputting control chars.

PunchyHamster 3 hours ago | parent | next [-]

You could whip up decently usable UI in Delphi far quicker than similar one in any TUI framework.

The problem is that world went away from that and into HTML/CSS/JS/DOM mess that makes simple UI things hard and complex UI things slow and/or hard, on top of the bloat.

smackeyacky 3 hours ago | parent | prev [-]

This is a recent development.

VB6 could have you roll a GUI interface in minutes, so even trivial tasks could have a GUI.

The tools for CDE on Unices were arguably even better but CDE never really got any momentum.

That it’s tough to put together a GUI now is definitely a regression and Microsoft shooting themselves in the feet regularly over the last 25 years is squarely to blame.

ghusto 7 hours ago | parent | prev | next [-]

It isn't, at least for me. I choose between GUI and terminal apps based on which one is easies. Sometimes the "easy" option really isn't easy at all.

james_marks 6 hours ago | parent | prev [-]

Hot take: TUI’s default to providing utility, GUI’s are prone to extra style/bloat.

Obviously both are capable of the other.

The vanilla HTML styles look bare, so you have do _something_. TUI’s look sort of cool in their simplest form.

keyringlight 6 hours ago | parent [-]

It's an aspect I've wondered about, constraints do make you consider what's essential. For example in btop (screenshot in the article) the graphs are rendered with dots at low resolution, if there was another version where those graphs were full resolution is it telling you meaningfully more?

rmunn 3 hours ago | parent [-]

Since the dots in btop's rendering are using the Braille characters, meaning you get six dots in the space that would be taken up by one alphanumeric character, the resolution on those dots is surprisingly high. A maximized terminal on my screen is size 316x86, so that's 316×2 x 86×3 = 632x258 of "Braille dot resolution" (a term I just made up) available for the graphs. Sure, that's lower than the 2560x1600 pixel resolution of my screen, but you're entirely right to ask "Does that really matter?" The graph would be smoother with about 4x more horizontal pixels and 6x more vertical pixels to work with, but I doubt I would glean any more information at first glance.

sillysaurusx 6 hours ago | parent | prev | next [-]

I’ve been running Claude with --dangerously-skip-permissions. It’s so nice that I’m not sure I can go back. Pressing continue 15 times is surprisingly heavy, but you don’t notice till you don’t have to do it anymore.

ne8il 6 hours ago | parent [-]

I would try switching to Auto Mode which is their own recommendation as a safer alternative to that but still avoids needing to confirm actions endlessly: https://www.anthropic.com/engineering/claude-code-auto-mode

sillysaurusx 6 hours ago | parent [-]

I’d love to. It’s not available to Claude Pro nor Claude Max subscribers. Eventually I got fed up with waiting and just turned off permissions.

isityettime 6 hours ago | parent | next [-]

Try an external sandboxing tool. When you need to adjust the sandbox, close the agent, launch it with the new params, and resume the session. It doesn't take long to arrive at a stable configuration; for me it's mostly about rw access to the CWD, read access to other local repos, and access to Nix. Other than that I can just use YOLO modes and not sweat it.

I briefly evaluated a bunch (had an LLM make a list of those that satisfied some basic criteria, then visited READMEs and websites) and chose nono. No regrets: https://nono.sh/

chrisweekly 4 hours ago | parent [-]

Cool, 1st I've heard of nono.sh. FWIW I've been happy w smolmachines microvms.

isityettime 3 hours ago | parent [-]

Hey, thanks for the tip! I'll also give those a try.

Even if I end up liking virt-free like nono stuff for agents, I am trying to explore and learn about microVM options lately for other development purposes as well. This is a serendipitous recommendation for me. :D

slig 5 hours ago | parent | prev [-]

I'm on the $100/m plan and it works.

dnnddidiej 5 hours ago | parent | prev | next [-]

I associate CLI prompt and typing 100wpm and lots of scrolling logs with l33t, but claude code is more 1992 DOS program vibes.

bee_rider 4 hours ago | parent [-]

CLI makes a lot more sense than TUI to me. A TUI program feels like a new thing to learn, a CLI program is just a new tool in my toolbox.

I can see some point to having an auto-updating dashboard or the like, though.

sghiassy 4 hours ago | parent | prev | next [-]

Thank you for this comment. As a principal engineer in FAANG, this the correct answer

rubslopes 6 hours ago | parent | prev | next [-]

I thought that that was the case for me, but then I tried using Claude Code through the desktop app last week and it was so bad. Slow, glitchy... I went back to the TUI in no time.

yokoprime 6 hours ago | parent | prev | next [-]

Having worked with development since the early 2000s, I think its great that development has become more accessible and I dont particularly like that the old guard tries to gate-keep the idea of "being a developer". Being an engineer I feel requires more credentials, it always has. But if you feel like you're a developer, all the more power to you!

dlivingston 7 hours ago | parent | prev | next [-]

I mean, I guess there's that novelty for the first few years of your career. I've been doing this a decade. I don't care about looking and feeling like a l33t h4xx0r and I doubt my peers do either.

TUIs just solve the right problems in the same world we're already working in - the terminal. That they're fast to launch and terminals have modern features like rich color and mouse support just adds to that.

deadbabe 5 hours ago | parent | prev | next [-]

I don’t understand why developers aren’t just learning to use CLIs and be comfortable with terminals even without cute little interfaces.

Are people really that put off by seeing some text on a screen and nothing more? Is tmux that difficult to learn?

zer0zzz 5 hours ago | parent | prev | next [-]

Can it be much more simple of a reason and that tuis fit into many of our existing tmux based work flows?

dominotw 2 hours ago | parent | prev | next [-]

lol most depressing comment of the day

walrus01 5 hours ago | parent | prev [-]

"Claude, write a set of scripts using bash and python that trade this $10,000 on S&P 500 listed stocks until it reaches 5 million, make no mistakes"

mgaunard 6 hours ago | parent | prev | next [-]

Power users have always preferred the command-line, since expressing what you want to do as a programming language is of course much more powerful and productive than clicking menus.

To avoid context-switching from the command-line, many essential UIs were made text-only. Another route would have been to integrate the command-line within graphical applications, but few did it -- the main example that comes to mind is Jupyter.

pocksuppet 5 hours ago | parent | next [-]

Blender is a 3D modelling program with a scripting language in it (Python). When you open the scripting pane, it's a command line. But it doesn't try to force the whole program to be in the command line, only the part where the command line is actually useful.

Ferret7446 5 hours ago | parent | prev | next [-]

TUIs are much closer to GUIs than CLIs. As a CLI enjoyer, I was resigned to the small win that at least many people distinguish TUI and CLI now but then I saw your comment.

There are quite a few GUIs that can be navigated with keyboard, e.g. menu bars can usually be activated with alt or win and single key presses

mgaunard an hour ago | parent [-]

As I said, the advantage of the TUI is that they avoid context-switching.

throwaway27448 6 hours ago | parent | prev [-]

TUIs don't use the command line (ie bash, fish, etc), though. They use ncurses

osaariki 7 hours ago | parent | prev | next [-]

TUIs are great for low friction remote work. I do a lot of data processing work on remote VMs with a mix of interactive debugging/eyeballing and bulk jobs. TUIs are a great fit for the sorts of tools I build to support this work. The other UI paradigm I end up reaching for is locally hosted web UIs, as models are really good at one-shotting HTML reports with graphs and tables. Inside VS code those get automatically tunneled to the local machine.

rmunn 2 hours ago | parent [-]

This nails it. The fact that the app interface looks exactly the same whether it's running locally or in an SSH session means I don't have to learn it twice. And while some GUI apps (VS Code for example) can be run remotely and still look the same, it takes a certain amount of ceremony to set that up. And worse, that ceremony has to be done for each app and is different for each app.

Running TUI apps over SSH isn't ceremony-less either — you have to set up SSH keys and copy your public key over into the remote end's authorized_keys file — but it's ceremony that you would have already had to do anyway to get access to the remote computer in the first place. And once that ceremony is done, you can now run any TUI (that the remote computer has installed) remotely without any more ceremony.

xmodem 5 hours ago | parent | prev | next [-]

TUIs suck and the only reason they are seeing a re-surgency of relevance is because everything else sucks more along one or more critical metrics. Given the truly incomprehensible amount of CPU and GPU power we have available, this is truly a blight on our industry.

neomantra 4 hours ago | parent | prev | next [-]

They've been back and we're all taking them further than ever before!

For the past few weeks I've been wrapping up Booba [1], which is developer tooling to combine BubbleTea and Ghostty in WASM deployments (using ghostty-web).

It provides for some interesting deployment patterns both locally, over network, and embedded in a web page. It's intended to be very easy to adopt; at the simplest, one just changes `tea.NewProgram` to `booba.NewProgram`.

I used Booba to make a demo page [2] for our NTCharts TUI library published to GitHub Pages. The repo READMEs have GIFs... this page is all embedded WASM.

There's also new Kitty-Graphics-supported widgets in there (picture, chartpicture); I updated Booba and Ghostty-Web to support it. Still getting the kinks out.

[1] https://github.com/NimbleMarkets/go-booba

[2] https://nimblemarkets.github.io/ntcharts/demos/heatpicture-p...

gbin 6 hours ago | parent | prev | next [-]

I don't think it is surprising. Loading entire chrome processes for simple super laggy UIs is just unbearable.

TUI are snappy, accessible over ssh, small screen friendly, easily embeddable in zellij or other multiplexers, easy to copy paste from... Amazing.

droidjj 8 hours ago | parent | prev | next [-]

> The most popular claim is the memory consumption, which to be fair has been decreasing over the last decade, but my main complaint (as I usually drive a 64GB RAM MacBook Pro) is the lack of visual consistency and lack of keyboard-driven workflows.

Lucky you. I avoid electron apps because I'm limping along with 16gb.

Dwedit 3 hours ago | parent | prev | next [-]

We need lightweight HTML/JavaScript applications that aren't an entire web browser. You already have a web browser installed, you shouldn't need yet another copy of Chromium to run some HTML/JS files. Because browser makers cripple HTML files run from your own computer (can't fetch any files, even from the same directory), you are forced to start a web server just to run HTML and JS files from your own hard drive.

If you have python installed, you can start a web server with a couple lines of shell script. Is there any really good truly lightweight webserver? (Something under 256KB)

PunchyHamster 3 hours ago | parent [-]

No we don't. Browsers are wrong abstraction for GUIs

sombragris 7 hours ago | parent | prev | next [-]

I fully agree about the overall downward trend in quality and efficiency of GUI apps, but I also think there's an important factor in the rise of TUI apps:

People now have access to good terminal emulators. Back in the day, you had cmd.exe in Windows. Now you have a plethora of Linux/Unix terminal emulators, Terminal.app in MacOS, and Windows Terminal in Windows 10/11. These are quite capable applications able to render good, complex text-based interfaces.

ghc 2 hours ago | parent | prev | next [-]

> Reviewing code is important, but it's only 50% of the learning process, at best

I don't know about everyone else, but the code I reviewed as a Junior was high quality code I was expected to learn from. That's entirely different from doing code review on whatever CC outputs.

nout 4 hours ago | parent | prev | next [-]

I think Midnight Commander is still the most advanced TUI there is. It has so many hidden capabilities that you may not even know about. You can be connected over ssh to another computer, while browsing the inside of a compressed zip file and previewing the content of the file inside of it . If you enable lynx motion and case insensitive - you are navigating across folders so much faster than just trying to "cd" and "ls"... It's impressive that this category of file managers has worked the same way for more than 40 years - the same shortcuts, etc.

moomin 7 hours ago | parent | prev | next [-]

Using Claude has highlighted, for me, a number of issues with terminal apps like Claude Code. You can’t easily see the status of lots of instances, you can’t easily search for instances, you can’t get one instance to start another instance or send a message from one instance to another and, of course, if you make a slightly mistake in coding a full screen app, you get screen corruption.

rmunn 2 hours ago | parent [-]

> if you make a slightly mistake in coding a full screen app, you get screen corruption.

HOW? The TUI library should handle everything for you. So HOW do... Wait. Did Claude vibe-code up its own set of TUI routines instead of using a library?

nickjj 8 hours ago | parent | prev | next [-]

I do like CLI tools and TUIs but in the article it mentions Gnome style apps don't fit the look. That sounds like a limitation of Omarchy.

It's not too bad to theme GTK apps and have them all look a consistent way. For example I use Tokyonight Moon and Gruvbox and they both have GTK themes that look great for Firefox, Thunar, GIMP, LibreOffice and more. I don't use Omarchy but here's a few screenshots https://x.com/nickjanetakis/status/2037125261657883061/photo....

Nothing fancy was done on my end, just installed the specific GTK themes. They even support live reloading because GTK's tooling supports it, my dotfiles at https://github.com/nickjj/dotfiles handle all of it for you. I still prefer TUIs but you can have nice looking GUI apps for when you want them.

CyberBlaed an hour ago | parent | prev | next [-]

I’d love it for my Mac if my wall paper can be a TUI app of my choice.

Interact as needed, matrix screen saver when idle to prevent burn in.

I don’t see terminal apps as heavy at all…

How to make them a wallpaper thats interactive I wonder…?

Funny if I just search it… PlashApp by Sinde, Set to Termix docker and BOOM :)

ifh-hn 5 hours ago | parent | prev | next [-]

I'm pretty sure dismissing flutter is ignoring reality. It, and more so dart, are not popular on HN, but it definitely is a popular and still in development truly cross platform framework.

alcidesfonseca 4 hours ago | parent | next [-]

What popular desktop application is written in flutter?

Asking honestly, because none of the ones I use is.

keyle an hour ago | parent | next [-]

A ton of industry applications are written in flutter. Point of sale systems, automotive interfaces, bespoke industry applications within offices, etc.

The install base would be huge, and it's a solid cross-platform option.

faangguyindia an hour ago | parent | prev [-]

localsend

einpoklum 5 hours ago | parent | prev [-]

Where would one go to familiarize one's self with Flutter and with dart?

keyle an hour ago | parent | next [-]

If you've done some SwiftUI or Flex or WPF or similar, Flutter is pretty easy to pick up.

Dart is really easy to pick up, it's a beautiful language imho.

ifh-hn 5 hours ago | parent | prev [-]

https://flutter.dev/

https://dart.dev/

https://dartpad.dev/

hilti 6 hours ago | parent | prev | next [-]

I totally agree with the author that Windows GUIs and MacOS GUIs are getting worse with every iteration. For my own side project I used ImGUI and it's working great for my purpose.

It's by far not as beautiful rendered as the native OS layers, but easy to navigate and a good foundation for cross platform GUI development. And I got it even approved for the MacOS app store. Here's my write up: https://marchildmann.com/blog/imgui-mac-app-store/

samgranieri 5 hours ago | parent | prev | next [-]

I spend all day in a terminal multiplexer (zellij) with neovim and other splits. Using things like k9s / btop / lazygit / lazydocker helm / stern / whatever that systemd TUI I saw in here and started and will check out later just keeps me focused in one window, and that’s pretty cool

hombre_fatal 4 hours ago | parent [-]

Also I can use the same tools on macOS and Linux machines over SSH. And I can use these tools on headless machines.

A GUI is a huge regression here.

matheusmoreira 2 hours ago | parent | prev | next [-]

Terminals are great but they seem to be turning into literal browsers and it's starting to worry me.

try-working 6 hours ago | parent | prev | next [-]

The only reason CLIs and TUIs "came back" is because we're still in the early stages of this paradigm, things are moving fast and building a strong GUI UX takes just as much time as building out the backend functionality. So CLI and TUIs are used because they save time, skips the need for building a time consuming GUI. Also building UI is hard.

arjie 6 hours ago | parent | prev | next [-]

I make some things GUIs and some things TUIs. The TUIs are easier to work with Claude Code and Codex. We can co-work on many things together because the LLM harness reads TUIs very fast. You can do it with GUIs but that's much slower, and maintaining two separate interfaces into these things isn't worth the trouble.

tiffanyh 2 hours ago | parent | prev | next [-]

CLI

Dumb question and slightly off topic, but is there a reason why so many AI tools are CLIs … as opposed to just an API or another interface?

I feel like I’m missing the obvious in why there feels like an explosion of CLI tools lately, related to AI.

throwaway27448 6 hours ago | parent | prev | next [-]

Cuz they're cheap and people don't care. Same reason by electron interfaces are so common

ngruhn 7 hours ago | parent | prev | next [-]

I think the come back is completely driven by Claude Code. Claude Code is a TUI, Claude Code is successful, therefore let's make everything a TUI!

I'm pretty sure the success has nothing to do with the TUI though. I personally enjoy it a lot but the productivity boast doesn't come from avoiding the mouse.

rossant 6 hours ago | parent | next [-]

I think TUIs have started to become popular again a few years ago, before Claude Code was released?

post-it 6 hours ago | parent | prev [-]

It is driven by Claude Code, not because it's a TUI but because you can paste a bad TUI directly into CC and tell it to intuit what to fix, whereas uploading a screenshot is more cumbersome and less likely to be parsed correctly.

kjuulh 7 hours ago | parent | prev | next [-]

I am conflicted on tuis they are nice, convenient and I dig the aestetic. But they're often not composeable. So even if they're there they dont feel native to the terminal. It is just an app in the terminal and that is okay, but you lose some of the terminal magic

apexalpha 6 hours ago | parent | prev | next [-]

Shoutout to k9s. Fantastic tool.

ilaksh 6 hours ago | parent | prev | next [-]

It's based on trends, momentum and social signaling more than anything, like most things in technology and society. Humans are herd animals.

I am affected by it also and have always been fond of TUIs in a nostalgic way.

lispisok 8 hours ago | parent | prev | next [-]

My cynical take why TUIs are back is because people operating in the terminal became a signal that you were competent and once people figured that out everybody started doing it. The reason people were operating in the terminal is lost of them but hey it makes you look like a 1337 hacker. It's the same thing with side projects of past decades. People who had side projects cared about the craft for more than a paycheck and tended to be more competent. Then every person just trying to land a job suddenly had "side projects". Gotta have those green squares on github.

metaltyphoon 7 hours ago | parent [-]

> My cynical take why TUIs are back is because people operating in the terminal became a signal that you were competent and once people figured that out everybody started doing it

Are you saying GUI "the real deal"?

burnto 6 hours ago | parent | prev | next [-]

I think there’s also perhaps an organizational explanation.

A reasonable TUI can be built without any design or frontend people even looped in.

Collaboration and coordination tend to slow down processes and flatten outputs.

b00ty4breakfast 7 hours ago | parent | prev | next [-]

the current AI summer has been great for us dorks that prefer TUI/console interfaces. I hope it all sticks around with the inevitable cool-down in LLM hype.

manyatoms 7 hours ago | parent | prev | next [-]

TUIs are back because the web got too bloated.

dvhh an hour ago | parent [-]

And desktop app are tuning into bloated website

monkeydust 7 hours ago | parent | prev | next [-]

Somewhat ironic is that people are using them to create generic web apps like they are going out of fashion.

theanonymousone 5 hours ago | parent | prev | next [-]

TUIs are extremely more portable, and offer a more uniform UX across platforms.

orbital-decay 3 hours ago | parent [-]

They are so portable that Windows needs a separate terminal emulator to be able to run *nix tooling properly.

debarshri 8 hours ago | parent | prev | next [-]

It was always there. k9s for instance, it started getting noticed recently. With coding agents, it is even easier to build.

gorjusborg 7 hours ago | parent | prev | next [-]

The real reason TUIs are back is not one reason, but a host of reasons.

The biggest current reason is fashion. Tools like Claude Code did it, and while they actually had good reasons to run in the terminal, the tools' popularity and wildly different look, especially to non-terminal-native users became a signal of some positive sort.

I don't believe that any of the rationale posed in the article is a popular reason developers are using.

onemoresoop 7 hours ago | parent [-]

Fashion is a big driver for sure but TUIs do have advantages over GUIs that are real, especially for powerusers.

beej71 7 hours ago | parent | prev | next [-]

The best thing about TUIs is that they're so fast. They launch fast, run fast, and you use them fast. There's a learning curve for the bazillion hotkeys, because all it is is hot keys, but when you have it, you just fly.

I've been reverting more and more: mutt (mail), newsboat (RSS), amfora (gemini protocol), gurk (Signal), chawan (web), and even trn (Usenet). My RAM usage is tiny. Everything is quick.

GUIs should take a page from the TUI playbook and consider making the app keyboard-first. Nothing is more frustrating than a missing hotkey.

PunchyHamster 3 hours ago | parent | next [-]

GUIs are being developed for first 30 minutes of use.

It seems that barely anyone thinks about what GUI should like for app you use hours at a time for days at end.

About only software that's half decent for it are IDEs (and probably some industry-specific niche software I'm ignorant of)

fg137 7 hours ago | parent | prev | next [-]

Eh... no. Never underestimate people's ability to make software bloated and slow. You haven't spent enough time with Claude Code, Gemini CLI I guess.

beej71 7 hours ago | parent [-]

Oh, I've definitely seen the results. :) But it's nice when people don't do that.

breuleux 7 hours ago | parent | prev [-]

> They launch fast, run fast, and you use them fast.

I don't know about that. The Gemini TUI takes like four full seconds to start on my machine. I have no idea what the hell it's doing. A lot of the fancy new TUIs that are coming on the crest of the current fad are hot garbage. I hate them.

beej71 5 hours ago | parent [-]

Claude Code is 600 Kloc... insanity. It's definitely possible to write crap TUIs.

mirekrusin 6 hours ago | parent | prev | next [-]

servo was recently published on crates – it has potential of becoming new standard; electron model proved to work very well the only downside is monstrous memory usage.

GoblinSlayer 6 hours ago | parent [-]

It's well known how it works. If web browser is efficient, it just invites webdevs to spend all the extra resources until it's slow again. Wait for AI assisted mouse cursor.

paddy_m 8 hours ago | parent | prev | next [-]

I think another factor is that people are rejecting the rounded corners and excessive padding of modern web design, you can't do that in a TUI, so you don't have a designer or standard practice encouraging you to do it. As implemented TUIs have greater information density than GUIs. Make no mistake though, TUIs are a decided step backwards from GUIs. Everything that you can express via text, you can also do in a text area on a GUI app.

slopinthebag 8 hours ago | parent | prev | next [-]

I think TUI's are popular because they're easier to make than a GUI. They are much more constrained. A TUI is basically a wire frame with some colours, whereas with a GUI the wireframe is only the first step.

mbreese 7 hours ago | parent [-]

Are you sure about that? Most GUI toolkits have things so wired up that it’s trivial to get a small app running. The point is to get a dev up and running as quickly as possible (even if there is a lot of magic involved). If you’re okay with the defaults, it ca be very quick to get a GUI up and running.

In contrast, most TUI toolkits generally require the developer to wire things up manually. Maximum developer flexibility, but with a decent learning curve. Having an LLM available to handle the initial wiring definitely speeds things up.

I know I had a few long lasting bugs with a TUI I wrote years ago that Claude was able to find the fix for pretty quickly. These were bugs that weren’t obvious to me, partially due to the arcane nature of working within a TUI.

slopinthebag 7 hours ago | parent [-]

Idk, it's pretty trivial to set up a TUI with bubbletea or ratatui, and I assume other languages have similar libraries.

nickdothutton 6 hours ago | parent | prev | next [-]

My terminal has not been ensh*ttified. I used the Internet for work, for knowledge, more than I use it for entertainment. One of the reasons I like TUIs.

tptacek 7 hours ago | parent | prev | next [-]

The tide is going to turn on this in the second half of 2026. There have always been nerds who just love TUIs, and still read their email in Mutt. But I think the subtext of this article is right, that TUIs are back because of how much of a pain UI development is.

But that's changed drastically in the last few months. I spent the weekend doing SwiftUI stuff with Claude, with a lot of success. It's going to get much easier to ship fast, solid, native UIs for things, and native UI is both very fun to build and also attractive to ordinary users.

(Fun green field for doing interesting UI work: do native UI for remote server stuff, like an htop UI that uses some dialect of SSH to fetch remote data.)

I think modern TUIs are a blip. A big, important blip. But a blip. The age of the Orc is over. The time of the Human Interface Guideline has come.

logickkk1 5 hours ago | parent | next [-]

if ai makes native rewrites cheap, "write once run anywhere" matters a lot less. tuis stick around for dev workflows, not for shipping to users.

tptacek 5 hours ago | parent [-]

I do get that, but developers like native UI too. You can tell by how much we gripe about Electron!

dlivingston 7 hours ago | parent | prev [-]

That still doesn't address the root of the problem, which is that TUIs and Electron apps are write-once, run-anywhere, while native GUI dev is insanely fragmented.

I mean, I guess that's more or less just a summary of the blog post, but it's true. And it will remain true until the fragmentation ends, and the fragmentation won't end until Microsoft gets its act together and ships their version of SwiftUI so that some sort of abstraction layer over SwiftUI/GTK/MsftUI can be created. And since Microsoft will almost certainly never get its act together, the problem will remain.

In other words, not a blip. The UIs of the present and future will all be Electron apps and TUIs.

tptacek 6 hours ago | parent | next [-]

What does it matter how fragmented the platforms are? I feel like this isn't sinking in with people. I was chatting with a friend last night about a SwiftUI app that I'd built and he'd pitched in on. He then reimplemented --- didn't port it, reimplemented it, for WinUI, that night, with just a couple prompts.

I am, in a proverbial sense, buying puts on Electron.

dlivingston 4 minutes ago | parent | next [-]

Sure, for small projects. Otherwise, you'd better have a solid plan in place for keeping your business logic in a common core, otherwise you'll just be writing N separate implementations where N = number of target platforms.

Even in a world of agents, less code = better code.

nzoschke 5 hours ago | parent | prev [-]

I agree, the LLM porting things is a game changer.

Does it also follow that we can have pretty much any shape for valuable apps? API, CLI, TUI, Web, SwiftUI, WinUI...

tptacek 5 hours ago | parent | next [-]

Yes. Developers are conditioned to expect the only convenient answer is a TUI (actually, a CLI; TUIs are show-off projects most of the time) and, if you really want to go all out, Electron. That's not the case anymore.

nzoschke 3 hours ago | parent | next [-]

I'm with you here.

In the "before times" an API and web UI that double times as native via Electron was the biggest bang for your buck.

CLI would be a hacker's side project, TUI would be them showing off more. Native would require hiring a team of specialists which is a total non-starter.

In the "after times" API and CLI are getting more love rebranded as MCP and tools.

To the parent topic, I suspect "build a TUI around my CLI" is a slam dunk for an LLM text in / text out machine which is why there is a resurgence of these too.

Hopefully that is the gateway drug to "build a SwiftUI around this", and an antidote to doing everything in Electron.

colesantiago 4 hours ago | parent | prev [-]

> TUIs are show-off projects most of the time.

I don't like TUIs but this is actually the dumbest take a developer would ever say.

So neovim, emacs, top, htop, tig and all other long standing TUIs are show off projects?

I think we both know you're being very dishonest here on purpose.

akerl_ 3 hours ago | parent | next [-]

The guidelines are pretty clear that basically all of this comment is not ok, and that this kind of comment is net negative for the quality of the site.

> Be kind. Don't be snarky.

> Edit out swipes.

> When disagreeing, please reply to the argument instead of calling names.

> Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.

It seems pretty clear that saying most TUI projects are show-off projects does not mean all TUI projects are show-off projects.

colesantiago 2 hours ago | parent [-]

> It seems pretty clear that saying most TUI projects are show-off projects does not mean all TUI projects are show-off projects.

Which ones are show off projects? Examples?

Be objective.

akerl_ 2 hours ago | parent [-]

https://hn.algolia.com/?dateRange=pastWeek&page=0&prefix=fal...

That's a good start.

colesantiago 2 hours ago | parent [-]

Let's check the first one:

Systemd-manager-TUI: A TUI application for managing systemd services

Somebody said that they use this, so it is not a 'show off' project.

You realise you made a silly sweeping generalisation right? People actually use them.

akerl_ 2 hours ago | parent [-]

I don't know why you're so aggressively attacking the idea of people making projects to show off.

The claim isn't that zero people use them, or that all TUI projects are made to show off. But most of the TUIs you see land on HN are things somebody made to play around with a technology / scratch a momentary itch.

No shade on those people; making a project that brings the author joy is an awesome reason to make something, and sharing it with folks here is one of the better things about this site. But the TUIs you see here are, by and large, not aiming for (and not going to get) broad adoption.

tptacek 3 hours ago | parent | prev [-]

Every time I read a comment like this, I flash to the episode of the Office where Michael steals one of Dwight's clients while Dwight is on the phone with him in the car. He pitches the client, and Dwight screams into his phone "ARE YOU SAYING YOU INVENTED PAPER?!"

No, friend-o, I'm not saying htop and emacs are show-off projects --- though everyone I know who uses Emacs (myself included) uses graphical emacs.

My point is that most developer tooling is CLI, not TUI; most developer tools are shop jigs, not packaged tools. Though most of the packaged tools: also CLIs!

All of them can very quickly be made into native UIs, though.

You'll get further on HN not calling people "very dishonest".

colesantiago 3 hours ago | parent [-]

> I'm not saying htop and emacs are show-off projects...

> TUIs are show-off projects most of the time.

Your statement and anecdotes means nothing and are meaningless since you provided 0 examples of the preported "show off" TUI projects.

Maybe you should re-read what you said again before backpedalling after I gave solid counter examples and you provided none.

nzoschke 2 hours ago | parent [-]

The screenshot in the post demonstrates show-off TUIs.

That git TUI doesn't offer anything over `git` CLI.

The network / battery / performance TUI is redundant with the tools in the window menu bar.

I love the aesthetic of TUIs but their actual day-to-day install base and usage must pale in comparison to CLIs and GUIs.

colesantiago 2 hours ago | parent [-]

The whole point of a TUI is that it is faster than typing hundreds of commands and options you're likely to forget and made a mistake on.

That is not 'showing off'.

And you providing anecdotes based on a single blog post doesn't change that.

TUIs are not for everyone sure, but they also save developers a lot of time typing and using a mouse.

I don't even like TUIs and this is obvious.

dragonwriter 3 hours ago | parent | prev [-]

LLM reimplementations for parallel versions are going to be fun to maintain, eepecially when AI market maturity ends the era of AI firms subsidizing coding tools as part of their marketshare competition efforts.

Ekaros 7 hours ago | parent | prev [-]

Why not instead have Linux just run Win32 applications?

dlivingston 7 hours ago | parent [-]

That's really not a solution. You're not targeting the host OS for that, which instantly kills that approach for everything other than "we need this to run on Linux and don't care how." You're shipping all of WINE with it. You're sticking out like a sore thumb with Win32 widgets next to the rest of your GTK apps. Etc etc etc.

PunchyHamster 3 hours ago | parent [-]

how's that any different than electron, it's also sticking out with all of its widgets being different than native

dlivingston 3 minutes ago | parent [-]

Materially, it's not. Which is what I'm arguing.

xupybd 6 hours ago | parent | prev | next [-]

Luke Smith was too early on this.

bellowsgulch 7 hours ago | parent | prev | next [-]

A reverse shibboleth for someone who does zero professional design work is taking a screenshot of differing corner radii in macOS.

Don’t fall for this.

ricardobeat 7 hours ago | parent [-]

Why? All the great designers I've worked with would have shivers shooting up their spine after looking at that screenshot.

Asooka 4 hours ago | parent | prev | next [-]

I kind of wish we had HTML but for GUI. Imagine if you had a "gui" flag in terminfo and you could send an escape sequence on stdout after which you could send out screen updates as a stripped down form of HTML on stdout and receive events on stdin. I mean something that can describe the simplest bog standard Windows 95 application with a menu bar, side bar, dialogs, buttons, and proportional text. Otherwise we could offer a GUI for applications over SSH by having the terminal open a local TCP socket connected to stdin/out and launch the user's browser, implementing the most barebones CGI.

danpalmer 3 hours ago | parent [-]

HTML does describe GUIs though. Browsers are engines that turn a text description of a GUI into a rendered GUI.

I get your point, it does feel like there's something different, but I'd suggest that there is no black and white line, instead there's a spectrum, with fully native local UI at one end and fully declarative remote GUI at the other end. HTML and the web exist somewhere towards the latter.

There have been many attempts at points all the way along that line though, and every point comes with trade-offs. Performance degrades, OS-native components are eschewed, programming gets higher level, etc.

nharada 6 hours ago | parent | prev | next [-]

VB6 was the peak of desktop GUI app development change my mind

fg137 7 hours ago | parent | prev | next [-]

Only for software engineers who are already familiar with terminals. Most non tech people I know and in my company absolutely hate TUI. Even a fraction of software developers who spend most their time outside terminals (especially those that are on Windows and/or use specialized tools/IDEs) prefer to avoid TUIs as well.

zozbot234 5 hours ago | parent [-]

Many "non-technical" folks who have interacted with virtual 3270 terminals for all sorts of mission critical tasks would disagree sharply with that assessment. And those are essentially TUIs.

hexo 5 hours ago | parent | prev | next [-]

I'm not surprised at all, if I was to choose from TUI or browser-gui (electron, react, react-native, anything similar) i'd always choose TUI. Good gui design died a long ago. Almost every gui designer needs us to always look at some nonsense animations that serve zero purpose and just make you needlessly wait. There is no such thing as "essential" animation in GUI. And no, plain simple progress bar does not count as animation, but rotating "progress circle" does. GUIs got so unbelievably bloated, it used to be an advantage to have more pixels, as you could pack more information in useful way. Today? Nah. Look at signal (or signal-desktop), it's not even funny anymore. Dolphin used to be good file explorer. Today it's borderline usable, animated so much so that i have to maintain own patched version. One just cannot hide from this, mostly because devs do not understand (or want to acknowledge) need for this stuff to be configurable (instead they more likely focus on stuff no one actually needs. again looking at you, signal.). Or stuff like libadwaita that is likely one of the most arrogant take on gui library ever.

devmor 5 hours ago | parent | prev | next [-]

I think most people are missing the forest for the trees.

TUIs are popular because once you use a piece of software that doesn't have a poorly-written GUI library full of animations bogging it down, you don't want to go back.

It's hard to make a TUI that isn't snappy, no matter how much useless eye-candy it has.

einpoklum 5 hours ago | parent | prev | next [-]

The bottom of the post contains an interesting suggestion, for us software developers to read one of three 'basics' books on UI: "Nielsen, Norman or Johnson".

Can someone who is more knowledgeable about these help compare and contrast these three texts a bit?

pjmlp 6 hours ago | parent | prev | next [-]

Because now we have a young generation nostalgic of their parents experience in the 1980-90's, and that includes the TUI experiences we were stuck with back in the day.

adamnemecek 6 hours ago | parent | prev | next [-]

They are back because modern languages (Rust, Go) have made it pretty straight forward to build them. Ratatui and such allow you to write a TUI really quickly without needing to deal with VT100 arcana.

esafak 7 hours ago | parent | prev | next [-]

Because LLMs operate on text, and their purveyors claim natural language interfaces are the best thing since sliced bread, since that's what they sell.

jrm4 7 hours ago | parent | prev | next [-]

Nothing inherently special or even superior about TUIs, I think this very simply just speaks to "what happened" which is the fragmentation of the GUI space over the course of Microsoft v Apple v Linux v "The Web."

Seems like it could have gone differently. Feels like the time could be ripe for something like a "declarative gui spec."

TacticalCoder 7 hours ago | parent | prev | next [-]

I've got a bit of a different on it... It's because TUIs do lend themselves better to automation (it's been mentioned in the thread) and, most importantly, it's because there's less cognitive dissonance between a TUI and how it typically operates and... The way AIs are using command line tools / the terminal (or a REPL, for those using agents hooked to a REPL).

In a way AI agents are validating what us old-timers always knew: the CLI and TUIs is the most powerful way. And AI tools didn't choose the most common dev environment: devs using fat IDEs (and btw I was already using IntelliJ IDEA back when some people were still arguing NetBeans was better than IntelliJ) are way more common than those piping Unix commands to achieve even simple tasks. Instead AI tools did choose the most powerful way to work: and that's piping terminal commands and SSH/tmux/TUIs.

When the tool itself, like Claude Code CLI, is immediately showing the outputs of piped Unix commands and allowing to run commands from a prompt and is, itself, a TUI, it's validating that it's an extremely powerful way to work.

A Claude Code CLI (or similar) TUI in a tmux session is something quite powerful.

Then you combine that with the fact that techs like LSP and tree-sitter did at least partially commodotize the IDE and suddenly TUIs (or things very close to it, like GUI Emacs: which can do graphics but is still mostly used as a TUI tool) do look very appealing.

Magit is considered by many --even non Emacs user-- as the best Git interface ever. It's text, text and more text.

My life is terminals (text), Git and Magit (text), Emacs (GUI but basically text), SSH (text), tmux (text), many text things I forgot and now TUI harnesses.

If you're modelizing in Blender or editing movies or creating movies, a GUI makes sense. But if you write code, which is text, all you need is text, text and more text.

TUIs are making a comeback because it is all text and AI agents are proof of that.

j45 7 hours ago | parent | prev | next [-]

They were never really gone, just maybe introduced to a new audience a little more lately which is great.

frou_dh 7 hours ago | parent | prev | next [-]

There's something disgusting about the use of characters for graphs/charts on a bitmapped monitor. Trust nerds to find a way to make stuff ugly!

fithisux 7 hours ago | parent | prev | next [-]

Next one is the NoJS movement and Gemini or even Gopher spaces.

JS literally destroyed the software landscape. All the bad practices advertised as best.

shevy-java 7 hours ago | parent | prev | next [-]

One huge advantage that the commandline + TUIs have is ... speed.

I get more things done, in most cases, than via a GUI. In a way a TUI is a GUI of course, but with the focus on keyboard use and inputting instructions/commands. Most GUIs seem to be centered around keyboard AND mouse and then try to make things convenient here for those operations, such as drag-and-drop via the mouse.

krelas 7 hours ago | parent | prev | next [-]

Hate to be this guy but it’s Xerox PARC, not Park.

furyofantares 4 hours ago | parent [-]

That and "loosing", but I gotta admit, I suddenly love typos and mistakes like this letting me quickly know the post wasn't fed through an LLM.

alcidesfonseca 4 hours ago | parent [-]

Fixed both issues. Thanks!

refulgentis 7 hours ago | parent | prev | next [-]

TL;DR, not from the article: Because Claude Code was a small team experiment done months after Claude Sonnet 3.7 had support for file editing; a bunch of companies had to fast follow; and the path of least resistance / collaborative work between PM and dev and design is copying, and companies are companies, they prefer money and competition over patiently waiting for X00 people to decide on a vision and deliver it.

I think it's important to note this because it's not great. Either I'm having a fever dream, or, someone will GUI this stuff and it'll be a gamechanger.

personjerry 7 hours ago | parent | prev | next [-]

> TUIs are Back

Citation needed?

dzonga 6 hours ago | parent | prev | next [-]

ahh the classic - see one anecdote - then create a narrative that the world is changing.

if TUIs were truly back - as DHH would like you to believe - his money maker - Basecamp - would be available as a TUI, Salesforce, Workday, Bloomberg etc would be available as TUIs. Though Bloomberg is the closest to a TUI.

but let's continue to delude ourselves.

mert-kurttutan 5 hours ago | parent [-]

Yeah. I expected article to give much more thorough analysis and set of observations and trends. As far as the actual observation of popularity of TUI, the only relevant part is claude and codex. The rest is about his personal opinion of TUI (vs other UIs)

Nobody here (especially top comments) seems to mention this.

Very low on the actual information side.

jdw64 6 hours ago | parent | prev [-]

Developers often say that TUIs are better. But this is largely a matter of taste. To be honest, outside the programmer class, how many groups of users actually like TUIs? Very few. Linux is lighter, and these days even gaming through tools like Wine/Proton has improved a lot. So why do Windows and GUI-based systems still sell more and get used more widely? Because most people prefer wrapped UIs. They prefer interfaces that visually package the system for them. Electron has real problems: memory usage, deployment bloat, and ecosystem fragmentation. But if you move too far toward TUI-first tools, your market target becomes much smaller. So the real question is: why are TUIs coming back in the AI ecosystem? My answer is: AI FOMO. Seriously, why are AI-integrated IDEs like Cursor and Antigravity becoming popular? Even when AI chat is built into the IDE, the IDE often freezes or slows down. If you just open a terminal, it is much faster. So yes, TUIs are attractive in AI workflows because they are fast, direct, remote-friendly, and easy to automate. But explaining their return only as a failure of GUI is too technical a view. There is also a social and market reason: people want access to AI workflows as quickly as possible, even if the interface is not what ordinary users would normally prefer.