Remix.run Logo
▲ orbital-decay 2 hours ago

Terminal giving you a janky and limited remotely accessible canvas you can abuse to make primitive GUIs doesn't imply that "SSH is a GUI framework".

A lot better solution would be designing a compact, semantic, styling-independent remote access protocol that doesn't need bitmaps (unlike most currently available protocols), and uses good compression for actual pictures/videos. That would make any GUI efficiently usable remotely through an adapter, without extra bloat the browser has.

▲rpcope1 2 hours ago | parent | next [-]

So basically expanding on remote X11/X forwarding?

▲orbital-decay 2 hours ago | parent | next [-]

X forwarding is the complete opposite of that - it's non-semantic, doesn't abstract away styling, heavily relies on bitmaps, and generally a lot noisier than a terminal. It needs to be replaced with something better thought out for GUI remote access to be a viable alternative. Same goes for SPICE (as far as I remember how it works).

▲wahern an hour ago | parent | next [-]

The X protocol is semantic[1] and when used as originally intended is very fast even on 1990s networks. But GUI toolkits ended up heavily relying on local rendering and shipping bitmaps over the wire, which is why Wayland advocates argued bitmaps are good enough.

It's kinda like the way PostScript evolved into early PDF which evolved into modern PDF, where pages are basically assemblies of prerendered images. The original, semantic aspects are still there, just not used, or rather abused to dumb it down.

[1] At least in the way you mean. Semantic like SVG, which is still literal, just abstract.

▲whartung an hour ago | parent [-]

I remember running the original Citrix client for Windows over a 14k modem.

It worked remarkably well, the only real nut was the typical “splash page” on launch, which was typically a large bitmap. Those stalled pretty hard, but once you got past that and up and running, apps were quite smooth over the crummy bandwidth.

▲hnlmorg an hour ago | parent | prev [-]

I’ve not done X forwarding in decades but it definitely was semantic and abstracted styling back when i used it to connect to Solaris boxes over dial up.

Maybe the bitmap problem was an issue with modern DEs? Many of them were likely bitmap-heavy for window chrome anyway.

▲miohtama 25 minutes ago | parent | prev [-]

How about HTML/CSS/JS

▲teledream an hour ago | parent | prev | next [-]

I mean, one could argue that the web is just a remotely accessible hypertext protocol we've been increasingly abusing to make whatever arbitrary GUIs we want.

I've always wanted a styling-independent protocol, which led me to the Gemini protocol (not the AI) for one, although I find that all such "next-generation" protocols don't see much traction.

I picked SSH as a convenient option that people already use to log into VMs.

▲XorNot an hour ago | parent | prev | next [-]

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.

▲icedchai an hour ago | parent | next [-]

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

▲breuleux 35 minutes ago | parent [-]

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

▲messh 28 minutes ago | parent | prev | next [-]

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

▲zokier an hour ago | parent | prev | next [-]

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.

▲mrcslws an hour ago | parent | next [-]

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

▲myaccountonhn an hour ago | parent | prev [-]

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

▲orbital-decay an hour ago | parent | prev [-]

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.

▲kccqzy an hour ago | parent | prev | next [-]

That better solution is known as plain HTML over HTTPS. The user can write their own styles. The user can prohibit <img>s or selectively allow them.

But yeah the author is probably deliberately conflating between the Terminal which renders and the SSH protocol which just transports streams securely. It makes the title more enticing.

▲coldtea an hour ago | parent | prev | next [-]

>Terminal giving you a janky and limited remotely accessible canvas you can abuse to make primitive GUIs doesn't imply that "SSH is a GUI framework".

Sure it does.

>A lot better solution would be designing a compact, semantic, styling-independent remote access protocol

Sure. But something being a better <thing> doesn't mean something less good is not <thing>.

▲orbital-decay 33 minutes ago | parent [-]

Well, for one SSH != terminal, and a framework is supposed to be a lot more than just a canvas...

▲whywhywhywhy 24 minutes ago | parent | prev | next [-]

Ultimately there's so little actual programming going on now it's automated with AI that larping is filling the time.

▲ireadmevs 2 hours ago | parent | prev | next [-]

I'd propose we define some kind of hypertext markup language. Probably allowing the app send some default cascading style sheets would not be bad, but we should be able to apply our custom ones over it. Then we find a way to represent our state transfers between the client and server.

▲bflesch 2 hours ago | parent | prev [-]

how does hyper gui transfer protocol sound? :)

▲Exoristos 2 hours ago | parent [-]

How it sounds depends on how you pronounce GUI--do juniors say "gooey," or has that passed away with "sequel" and "clee"?