logoalt Hacker News

orbital-decay • yesterday at 8:46 PM • 11 replies • view on HN

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 for an existing GUI framework, without extra bloat the browser has.


Replies

networked • today at 2:39 AM

It's worth trying. I have thought that you might be able to replace most TUIs, which rely on presentation-oriented ANSI, with a lightweight markup language that includes forms. [1] A form would be interactive while current and become part of a static log once submitted. I guess that's pretty much a block-oriented terminal? [2]

You could use a controlled subset of HTML. It naturally comes to mind. However, an implementor could then embrace, extend, and extinguish your protocol by allowing full HTML.

[1] A language like Markdown/djot or Creole, https://web.archive.org/web/20260000000000*/https://www.wiki....

[2] https://en.wikipedia.org/wiki/Computer_terminal#Block-orient...

rpcope1 • yesterday at 8:57 PM

So basically expanding on remote X11/X forwarding?

➕ show 2 replies
teledream • yesterday at 9:11 PM

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 • yesterday at 9:18 PM

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.

➕ show 4 replies
bflesch • yesterday at 8:52 PM

how does hyper gui transfer protocol sound? :)

➕ show 1 reply
kccqzy • yesterday at 9:18 PM

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.

ireadmevs • yesterday at 9:08 PM

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.

whywhywhywhy • yesterday at 10:15 PM

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

coldtea • yesterday at 9:50 PM

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

➕ show 1 reply
denkmoon • today at 1:12 AM

yknow that sounds a lot like "the web"

shmerl • today at 12:10 AM

So something like FreeRDP?