by teledream · 1w ago · 0 comments
That said, current terminals definitely have rough edges. Being somewhat "dumb" clients keeps the attack surface smaller, but it's also quite limiting. To address this (while keeping standard terminals working), I've been working internally on a prototype terminal client to hopefully get things smoother, which I'll share updates when it's ready, along with any open-source projects that come out of the infrastructure it needs.
I heard of Superlogical whilst initially working on Zydra, though I somehow missed the release of Rex, it's definitely something I'll have to look into.
Thanks for such a thoughtful comment.
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.
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.
> whereas if you embed graphics in SSH, you can still stream text as actual text.
I agree with you here that remote desktop sucks but, honestly, terminals suck too. They both make different tradeoffs to accomodate graphics at the expense of text, or text at the expense of graphics. With something like HTML+CSS you don't compromise on either because it has first class support for both text and media.
I highly recommend that you give Claude (desktop, not the TUI, make sure you use Code in it) a try because it is a much better experience IMO. You have a GUI chat with nice text rendering, selectable/dictatable, and mixed media into it. And you have panels for things like your diffs, terminal, and browser to see what it's building. Basically what you've built except runs locally, which goes against what you're building, but it is a good example of what you could build by ditching the terminal.