upvote
They are not and the fact HTML/CSS is NOT designed to be "remote GUI" is precisely the problem web has.

It is document + styling format. It was not designed to do GUIs, It was roundpeg squareholed into being one, and only after throwing copious amount of JS on it it works okay while being okay on design side

reply
"designed for" is always a red herring. The question should be, what does it actually do?
reply
Well, it's surely not the most elegant thing ever, but it is so far above anything else in terms of being cross-platform, actually powerful and bandwidth efficient (if one wants it to be) that we should just accept the "costs".

Like you could write a full CAD app, online FPS shooter etc in it.

reply
A terminal with an HTML/CSS embedding mode would be interesting.

In the BBS days, there were some attempts to move beyond ANSI escape sequences, like RIPscrip: https://en.wikipedia.org/wiki/Remote_Imaging_Protocol

Once the web took off, all that stuff disappeared...

reply
Problem is the more flexible a contract/protocol/interface is for one side, the less flexible it is for the other.

For example a terminal supports flexible font (but only monospace!) and font size. If it was based on pixels those wouldn't be changeable. Conversely if it didn't have a character grid (like HTML doesn't) it could also support proportional fonts.

reply
I made something like that a while ago: https://github.com/breuleux/terminus

I'm currently working on something far better that allows for true interactive widgets over SSH (that does already work), but in my quest for perfection I'm about to rewrite the protocol for the third time, so I don't know if I should share that :P

reply
deleted
reply
it is annoying how poorly web browsers support the local or ssh tunneled application use case though. it would be nice if there was a way to get browsers to work more like X servers, presenting an unix socket that applications (either local or ssh-tunneled) could connect to. Or something along those lines.
reply
I've actually recently shipped something along these lines, now supported on all platforms. It's an SSH client fused with a browser: https://probablymarcus.com/blocks/2026/11/20/ssh-tunneling-h...
reply
Basically wireguard + Apache httpd with cgi-bin or websockets?
reply
the main difference between web UI and a terminal is that a terminal streams instructions. For HTML you usually need a whole program that compiles
reply
Modern web is a terrible abuse of what was originally a document viewer. A web app is not even in the same league with a TUI when it comes to remote access. It needs to be designed specifically to stay as noiseless on the network as a TUI app is by default, and the browser is incredibly janky and bloated, which is not avoidable. Don't worry though, modern TUIs are headed towards the same direction, because people want more and more features in a legacy thing instead of designing one for the purpose.
reply
I can compose a text with barely any network and then press send and it will eventually go through.

I literally have to find stuff like herdr web ui or whole mobile applications to write a longer text (e.g. a prompt) when I'm on patchy networks because the variable latency after each keypress makes it impossible to write on an SSH TUI. So if anything, it's the latter that is a "terrible abuse" of a GUI.

reply