Top
Best
New

Posted by teledream 4 days ago

SSH is a GUI framework(zydra.sh)
143 points | 76 commentspage 2
qurren 6 hours ago|
eeh using sixel or other sub-character graphics to render a GUI isn't really a feature of ssh. It's just a terminal feature, you could do it with telnet.

also related: i created a tool to show ROS topics over a terminal, intended for people debugging robots over ssh: https://github.com/dheera/rosshow

For better compatibility I used Braille characters to render a 2x4 grid per character, not sixel.

teledream 6 hours ago|
Braille is really interesting as something more universal. Cool project.

It's true, SSH is just the tool of choice to move bytes around, and it's up to your terminal emulator and the server to decide what those bytes mean. In practice, SSH gives you encryption, key auth, and a way past restrictive firewalls (we listen on port 443 for this exact reason).

gjvc 3 hours ago||
it's a transport
st_goliath 6 hours ago||
> SSH is a GUI framework

By that logic, TLS is a web browser.

I was originally going to quip that by the articles logic, VNC should be a GUI framework too, but it is actually mentioned in the article. However, the text under the headline goes weirdly off the rails talking about webkit, WASM and WebGPU.

getfacl 4 hours ago|
You could switch to telnet and everything in this article would still work.
st_goliath 3 hours ago||
Yes, the authors TUI program would also work just as well over RS232.

Because those are transports, the terminal [emulator] at the end, responsible for interpreting what the TUI program on the other end outputs (and vice-versa), are separate things. They live at different places in the OSI stack.

daylily 6 hours ago||
Really doesn't seem like it would have great accessibility, but I suppose that ship has sailed with the proliferation of TUIs.
Eduard 6 hours ago|
as if CLIs were designed for general accessibility
daylily 6 hours ago|||
I think they are? They (mostly) output a stream of text where the order of the text matches the structure of the underlying information.

TUIs with their box-drawing characters and emulated 2-d layouts, on the other hand, are not. I think Claude Code really set a bad example here that got everyone interested in making TUIs again.

munk-a 6 hours ago|||
They are. Text based interfaces are the easiest to transform into other media - accessible and pretty aren't the same thing.
lnxsxu 6 hours ago||
ok so wayvnc already gets told by the compositor which parts of the screen changed. being able to select the terminal text is cool. did i miss the bandwidth and input lag numbers for the same workload at the same image quality or did we just skip straight to “beats vnc”?
teledream 5 hours ago|
I'm not necessarily saying SSH wins on a raw codec benchmark against wayvnc (I'd be glad to test it though, and I am working on a faster native client).

It's that the whole workflow has been built around SSH. I haven't just bolted a VM's "display_1920x1080" onto a Kitty stream and called it a day. Here I have a microVM that in and of itself renders natively to SSH, bringing with that SSH's key auth, and a universal client you can run on any terminal (with a text-only fallback).

Put simply, I don't enjoy remotely streaming a clunky desktop display, even if it's technically "fast". SSH feels at home, and that's why I built desktop VM infra on it natively.

daylily 5 hours ago||
I'll try to pick apart this paragraph in specific:

> While webapps have advantages, especially in client-side state, WASM, and WebGPU, they don't really capture the universality and ease-of-use of an SSH session. SSH keys double as authentication, and -A allows you to SSH into servers from within a remote microVM itself. Webapps also can't be accessed from a pure TTY.

> SSH keys double as authentication

Which is true! They are also typically associated with more than one service so rotation is a lot more painful.

> and -A allows you to SSH into servers from within a remote microVM itself

You can, indeed, also run a proxy on a remote VM and then access a web application via that VM! I don't think there's a practical distinction here.

> Webapps also can't be accessed from a pure TTY.

...And which tty would be able to render those special escape sequences without going through a terminal emulator?

I'll stay on the web.

cozzyd 6 hours ago||
Apparently there are some brain-damaged terminals (e.g. warp) that instead of using normal ssh launch some remote helper process that opens one worker thread per core that all wake up at the same time. Which is great fun on a 192 core shared systemm. Fortunately a cgroup task/cpu limit will neuter them and other abusive programs like vscode-server.
TZubiri 4 hours ago||
is bash a GUI framework too?
amelius 5 hours ago|
makes me wonder: if a tool can do almost everything then doesn't that mean its attack surface is also unnecessarily large?
More comments...