Developer builds a full desktop environment that renders natively over SSH
SSH is a GUI framework

Hasan Madi argues SSH is really a multiplexed, encrypted byte stream with a cross-platform renderer on every machine. Using the Kitty Graphics Protocol plus OSC notifications, clipboard sharing, mouse tracking, and synchronized output, his zydra.sh microVM streams a complete desktop over plain SSH — with fallbacks to Sixel, iTerm2, and pure text. He claims it beats VNC and webapps by sending text as text and pixel-grid diffs instead of full frames.
SSH is a tool so ubiquitous that we've forgotten what it actually is: a multiplexed, encrypted byte stream accessible on a cross-platform rendering engine that ships on every laptop, server, and phone on earth.
- orbital-decay
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.
- nico
I remember my college used to serve some student services app via Telnet
You would just telnet into a machine using your student login/pass, and it would run either a welcoming screen or a specific app (like one for scheduling classes)
It was a very mature application and worked really well. Alas, it was quickly replaced by web versions of the apps, which took another flew years to get properly working
Anyway, glad to see an example of what’s possible (and almost forgotten), in terms of providing access to applications online via the terminal (and without a browser)
- xxpor
For TUIs, I wish a 5250-style block based terminal had won over VT100 stream based terminals.
For those not familiar, with a block oriented terminal, the native "chunk" of data is an entire screen. So you can put information in there like "this is a text box". This allows, for example, you to move around the screen with tab and type _with no round trip back to the server_. There's 0 latency. Data is only sent when you hit enter.
On high latency or flaky connections the experience is a million times better.
- Sha1rholder
What if...
https://datatracker.ietf.org/doc/draft-michel-ssh3/
https://datatracker.ietf.org/doc/draft-michel-remote-termina...
- philsnow
> Next, we optimize graphics by sending a sort of "grid" of pixels. Each cell has its own updates, where the previous frame is compared to the current frame to catch and send updates, avoiding having to constantly stream the full screen.
mosh does this too, with the caveat that it's not transparent to terminal escapes. for instance, if you try to run some modernish "tui framework" remotely over mosh, things like clipboard access won't work at all, because mosh just cares about how the terminal should look.
there are workarounds to smuggle the OSC sequences in other places, so you can get all escape sequences through. I usually have a process tree that looks something like this
Ghostty
|- screen -e^Zz -S meta
|- screen -e^Oo -S workspace1
| |- zsh
| |- zsh
|- mosh somehost -- screen -e^Oo -S remotework1
|- mosh otherhost -- herdr
and escape sequences work just fine from inside the nested local screen session, the screen-mosh-screen connected to somehost, and the screen-mosh-herdr on otherhost.
- oddurmagnusson
I did a fun experiment, taking what I could do over SSH to the max, by creating a silly game world, raytracing it, adding physics etc.
Try it out with
ssh -C w.oddur.me
(the -C enabled compression )
I still would not say that ssh is a good game rendering framework though :D
- zchira
You can also navigate your spaceship through the ssh :)
ssh -p 2222 player@play.librecosmos.com
more details:
- davidgnz
> The Kitty terminal uniquely supports a file upload feature
If anything, Kitty was late to the party here. Being able to upload (and download!) files has been a fairly common feature in terminals since at least the 80s. Windows 95 even had a terminal that could do this (badly) included right there on the CD.