Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The problem is a web browser is exactly that use case. Their whole function is to remotely render a GUI.

We gripe about web design when people start to act more like it's local, but all the things a browser does are essentially "I need a remote GUI" and a lot of effort has gone into that.

 help



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


"designed for" is always a red herring. The question should be, what does it actually do?

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.


WebGL + WASM approach seems to be far better at making actually well working UIs (because you can use actual desktop frameworks for it), but that's a bit fat

Nothing beats the accessibility of plain HTML form/buttons. But I do agree that web frameworks can break down at certain things (though to be honest desktop frameworks are in quite a bad shape in general, there are too many of them and most of them fall short of feature completeness, at which point they simply can't be used. It's a very very hard and complex topic, like text rendering, and having n+1 different solutions may not really help it)

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...


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


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.


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.

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...

Basically wireguard + Apache httpd with cgi-bin or websockets?

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

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.

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.


A form get and submit like in the HTML 3 days doesn't really have a lot of noise (if anything SSH TUIs are worse as they operate by sending every keystroke to the server). The bloat is a fair point though.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: