Skip to content

About

Run a fully functional remote tmux session from your browser

Resources

Stars

10 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Durable tmux: unkernel in Durable Actors

Four panes, each its own Linux box: Claude Code building a snake game, a fresh Claude Code install, and two shells

A tmux-style terminal in the browser where every pane is its own Linux machine. Each machine is a LinuxBox Durable Actor running its own unkernel VM (Linux compiled to wasm, booting Debian 13 with networking) inside the actor's Bun process. New panes and windows get a fresh box. A Workspace actor stores the layout and a permanent list of every box the workspace has used. Closing a pane never drops its box, so a machine with files or a login on it can always be reopened from the Boxes panel (Ctrl+B, M). The layout survives reloads and stays in sync across tabs.

Boxes stay awake only while the guest is doing something, and they sleep as soon as it isn't. Clicking a pane wakes its box in the background, and typing never waits on that.

Run it

Needs Bun 1.4.2+ (for JSPI) and the Terse CLI:

bun add -g terse-cli

Terminal 1, the actors:

cd actor && bun install && terse actor dev

Terminal 2, the page server:

cd client && bun install && terse actor generate && bun run terminal

Open http://127.0.0.1:7181/?ws=main. The first box downloads the Debian image (cached in ~/.cache/unkernel) and boots in a few seconds.

Every shortcut is two steps: hold Ctrl and press B, let go, then press the key. The bar at the top of the page shows the basic ones, and each hint there is also clickable.

Keys Does
Ctrl+B, % / Ctrl+B, " split right / down; the new pane is a fresh Linux box
Ctrl+B, M Boxes panel: every box in the workspace; reopen one, rename it, or open another shell on it
Ctrl+B, ←↑→↓, Ctrl+B, O move between panes
Ctrl+B, Z / Ctrl+B, X zoom / close pane
Ctrl+B, C new window on a fresh box
Ctrl+B, N / P / 0-9 / , next, previous, pick, rename window
Ctrl+B, H show or hide the shortcut bar
Ctrl+B, Ctrl+B send Ctrl+B to the shell
Ctrl+B, ? all shortcuts

Drag the gaps between panes to resize them.

There is also a one-shot CLI: bun index.ts exec --id box 'uname -a', bun index.ts reset --id box.

About

Run a fully functional remote tmux session from your browser

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages