upvote
It's a fun experiment but I would never do this. You lose all the magic of "just ssh hostname" when you only work properly with a few terminal emulators. Rolling your own terminal emulator is an extra step in the wrong direction.

On the flip side, cross-platform GUI frameworks already exist. HTML+CSS are really great, with everything you need and more built-in already, and none of the jank running in a 1970s-based terminal brings. If you want reduced attack surface I would say it makes more sense building (or forking) a browser engine with just the features you need, keeping compatibility with other browsers so nobody is forced to use yours.

reply
Kitty is only the first-class option; Sixel and iTerm2 are available, and even in text-only terminals (or a TTY), we stream the entire GUI as ASCII (like a TUI), and you still get the other features. "Just ssh hostname" remains.

And we actually do have a webapp too, and it's alright, but I prefer SSH. To me, the project is more of a "multiplexer-on-steroids" with a built-in microVM to hold its apps and graphics, rather than a simple remote desktop. You wouldn't run a multiplexer over the browser just because it technically has everything built-in.

In the case of VNC/other protocols, there is an asymmetry: if you embed text in VNC, it still has to be streamed as graphics, whereas if you embed graphics in SSH, you can still stream text as actual text.

Fun fact: Our webapp does stream many elements as HTML (including even Wayland apps) rather than just streaming them using a codec.

reply
How about just a website you serve over wireguard? Can even be turned into a tui with w3m
reply