zydra.sh renders a microVM desktop over SSH as a GUI framework demo

An essay on zydra.sh, titled "SSH is a GUI framework" and written in the first person by the project's maker, argues that SSH is so ubiquitous that people have forgotten what it is: a multiplexed, encrypted byte stream on a cross-platform rendering engine that ships on laptops, servers and phones. Over time, terminal protocols have added graphics, clipboard sharing (including images), notifications, mouse support and more on top of it.

To test how far this goes, the author built a microVM with a desktop environment designed from the ground up to render natively over SSH. It can be tried without sign-up with ssh zydra.sh, or ssh -p 443 zydra.sh from an office network. ssh -t zydra.sh dino runs an SSH port of the Chromium T-Rex game.

Graphics rest mainly on the Kitty Graphics Protocol, which the author calls perhaps the most ubiquitous of the new terminal protocols. It superseded Sixel and the iTerm2 graphics protocol and allows compression, client-side graphical state in VRAM and animations run entirely on the terminal. Other protocols fill in the rest of a GUI. OSC 99 notifications carry an image, text and body, with OSC 777 (text and body) and OSC 9 (title only) as fallbacks. OSC 52 shares the clipboard in both directions, and Kitty's OSC 5522 adds images and arbitrary MIME types. CSI ? 1000-1006 tracks the mouse and gives precise coordinates, while CSI ? 2026 (Synchronized Output) renders updates atomically to prevent tearing and flicker. Kitty's file upload feature lets users send projects and related files to personal VMs.

Speed comes from several compositing tricks. Where possible, especially for terminals, content is streamed as text instead of graphics, and the UI framework overlays text on carefully aligned graphics. Graphics are split into a grid of cells, and each new frame is compared with the previous one so that only changes are sent. Dropping transparency where it is not needed, by using Kitty's RGB option instead of RGBA, saves another 25% in bandwidth. The system tracks ping and other factors and lowers resolution in selected cells, especially during scrolling. Kitty's client-side state holds graphics before they appear and stores repeated UI components.

For older terminals, the compositor falls back to Sixel and iTerm2 graphics and, when necessary, to pure text with ASCII standing in for some UI. It parses terminal versions, queries capabilities and keeps checking that features work as the session boots.

The author argues SSH often beats webapps and VNC at their own job. VNC sends pictures of the screen and diffs frames, whereas zydra.sh apps tell the compositor what changed, and terminal text stays selectable and copyable. Admitted weak spots include a finicky Android experience, limits around audio and unused optimization potential. The author describes the compositor and desktop as the backbone of a broader effort to build a pleasant agent sandbox, "a cloud computer without cloud friction".

Key facts

  • zydra.sh is a microVM desktop designed to render natively over SSH, open to try without sign-up via ssh zydra.sh (or port 443 from an office network).
  • It combines the Kitty Graphics Protocol with OSC notification and clipboard sequences, mouse tracking and Synchronized Output (CSI ? 2026).
  • Bandwidth tricks include text streaming where possible, sending only changed grid cells, adaptive resolution and a further 25% saving from dropping unneeded transparency.
  • Older terminals get Sixel or iTerm2 graphics, or pure text with ASCII replicating some of the UI.
  • The author lists finicky Android access, audio limits and weak client-side state and streaming protocols as remaining problems.

Why it matters

The essay's point is that a tool already in wide use can do far more than carry a command line. According to the author, terminal protocols now cover graphics, notifications, clipboard, mouse input and batched rendering, which together add up to a usable GUI. The live demo lets readers test that argument themselves.

The comparison with VNC is central. VNC diffs pictures of the screen to find changes. In zydra.sh, apps tell the compositor what changed, and terminal text arrives as real text. The browser is a WebKit build that delivers frames to the compositor as DMA-BUFs without a readback, and it can be driven by agents through Playwright.

Who it affects

The most direct audience is people who work over SSH and use a terminal with modern protocol support. The author has found Kitty very reliable for all the graphics protocols zydra.sh relies on.

It also concerns anyone looking for an agent sandbox, since that is the larger project this system underpins. Developers building terminal interfaces get a concrete list of protocols and fallbacks. Android users have a rougher path: SSH is available through Termux but can be finicky, so the author made a webapp version of the compositor that is more responsive and accessible on mobile.

How to use it

Connect with ssh zydra.sh; no sign-up is needed. On an office network, use ssh -p 443 zydra.sh. For the T-Rex game, run ssh -t zydra.sh dino.

SSH keys double as authentication, and the -A flag lets you SSH into other servers from inside the remote microVM. You can mount the VM's filesystem locally with sshfs zydra.sh: ~/zydra. Kitty users can also upload projects and related files to personal VMs. Another article by the author describes a "timeline" feature that rewinds the VM as if watching a livestream.

How solid is it

This is a first-person account by the maker of the project, so the performance and comparison claims are the author's own. The demo is public, which means the basic claim of a desktop rendered over SSH can be checked directly.

The numbers are thin. The 25% bandwidth saving comes with no measurement method or baseline details, and the source text gives no latency, frame rate or absolute bandwidth figures and no benchmark against VNC or webapps. The view that SSH often beats those alternatives is an argument from design features. The author also grants webapps advantages in client-side state, WASM and WebGPU, but says they do not match the universality and ease of use of an SSH session.

Risks and caveats

Results depend on the terminal. Not every client supports the newest protocols, and the fallbacks go as far as plain text with ASCII replicating only some of the UI. File upload is described as a feature unique to Kitty.

The author names further limits: audio is a constraint, which matters as agents are increasingly used with dictation, and the lack of stronger client-side state and streaming protocols leaves much optimization unused even with Kitty graphics. The source text does not describe the security model or isolation of the microVMs, and it gives no pricing, usage limits or resource specifications.

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

— The author of the zydra.sh essay