Dinotty keeps the PTY and the VTE screen on your machine, which is what makes a refresh harmless
Multi-device terminal server for AI coding agents. Server-side VTE, session persistence, file browser, web preview, plugin system. Self-hosted.
At a glance
- What is it?
- A self-hosted terminal that runs Claude Code, opencode, Codex and OpenClaw, where the pseudo-terminal and the terminal parser live in a Rust server and only text crosses the wire. The transport saving is real; the dependency list shows no git library anywhere in it.
- Who is it for?
- Dinotty fits one job precisely: running a coding agent on a machine you are not currently sitting at, over a link too slow for screen frames. The architecture behind that job is honest in the manifest.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 2 days ago.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- xichan96/dinotty741 ★ · +29
| Repository | 2026-09-21 | 2026-11-25 |
|---|---|---|
| xichan96/dinotty | 712 | 741 |
29 Stars in the last 65 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The root package.json is the docs site, not the desktop app
Open the repository root and the first manifest you meet is `package.json`, and it describes a documentation site rather than the product. Its name is `dinotty-docs`, it is marked private, its version is pinned at `0.0.0`, and its only three scripts are `docs:dev`, `docs:build` and `docs:preview`, which wrap VitePress. Its two dev dependencies are VitePress and Vue. Nothing in that file compiles a client or bundles a plugin.
The program that ships is the Rust crate in `Cargo.toml`. That file is both a workspace root and a package: `[workspace] members = ["src-tauri"]`, then `[package] name = "dinotty-server"` with the workspace version, `edition = "2021"`, `license = "MIT"` and a `build.rs`. The workspace version is `0.28.0`, matching the `v0.28.0` tag dated 2026-09-15.
The project is listed as TypeScript first because `frontend/`, `plugin-api/` and `android-app/` are TypeScript. The session, the pseudo-terminal and the terminal emulation are all Rust, on axum 0.7 with the `ws` and `macros` features and tokio with the full feature set. The result is a stack with a Rust server, a TypeScript pane client, a Tauri shell in `src-tauri/`, and a plugin contract published separately in `plugin-api/`.
Default branch is dev while the badges still read from main
The default branch is `dev`. The README badge row nonetheless links to `https://github.com/xichan96/dinotty/blob/main/LICENSE`, so the file the license badge proves exists is read from a branch other than the one development happens on. Releases, issues and a Discord invite sit in the same row, and the documentation link points at `https://xichan96.github.io/dinotty/`.
The README is one of nine languages. The language bar links `./docs/README.zh.md`, `./docs/README.ru.md`, `./docs/README.pt.md`, `./docs/README.ko.md`, `./docs/README.es.md`, `./docs/README.de.md` and `./docs/README.fr.md`, with English at the root. A `docs/` tree carrying seven translated readmes, a comparison page at `docs/en/getting-started/comparison.md` and a VitePress site explains why the root `package.json` is a docs package in the first place.
The rest of the root says what runs where: `src/` and `src-tauri/` for the server, `frontend/` for the panes, `plugin-api/` for the plugin contract, `android-app/` for a native client, `bench/` for measurements, then `deploy/`, `scripts/`, `seed/`, `tests/` and a `.husky/` directory for commit hooks. A `.taurignore` and a `rustfmt.toml` sit alongside `Cargo.lock`, `pnpm-lock.yaml` and `pnpm-workspace.yaml`, so the JavaScript and Rust halves are version-locked independently.
The bandwidth numbers follow from shipping text instead of frames
The comparison against a remote desktop is a table of six rows, and every row descends from one decision: only text crosses the wire. Data transmitted is described as JSON and bytes rather than a full screen at 30 to 60 fps, which puts bandwidth at roughly 1 to 10 KB/s against 1 to 10 MB/s for VNC, RDP or Parsec, a factor the document puts at 100 to 1000 times.
The other rows are consequences. Native text renders at any size instead of scaling a bitmap. Interaction is native touch with a custom keyboard rather than a simulated mouse on a small desktop interface. Battery draw is attributed to text rendering instead of video decoding. A weak signal degrades into an auto-reconnect with no frame loss rather than a frozen screen with input lag. Mobile use on 3G and 4G is listed as working without lag, with the remote desktop column marked as choppy.
What the table does not carry is a method. Those figures are given as typical, and nothing on the page says under what latency, screen size or scroll rate they were measured. The repository does have a `bench/` directory at the root, so the numbers there are the place to look before putting Dinotty on a metered cellular plan.
VTE and portable-pty are the reason a refresh restores the screen
Session persistence rests on two crates. `portable-pty` at 0.8 owns the pseudo-terminal, and `vte` at 0.13 parses the byte stream on the server, so the server holds an exact model of the screen rather than a queue of unprocessed bytes. `unicode-width` at 0.2 is there because a parser that miscounts east asian character widths corrupts every cursor position after it, and `axum` 0.7 with `ws` plus `tokio-util` 0.7 carry the stream.
That pairing is what makes three recovery behaviours possible. A disconnect leaves the PTY process running on the host. A reconnect uses exponential backoff. A page refresh restores the previous view rather than starting a new shell. Screen snapshots fall out of the same parser state, which is the difference between a server that knows the cursor is at row 12 column 4 and one that only knows what was written.
It is also why the transport figure stays in the kilobytes per second range. When the client needs the current screen it asks for text state rather than waiting for frames, and a phone on a weak connection reconnects instead of dropping the session it came to check on.
Web preview is an HTML rewriting reverse proxy, not a list of ports
Web preview is a built in reverse proxy that puts a local dev server into an iframe. The dependency doing the work is `lol_html` at 2, a streaming HTML rewriter, which is what a reverse proxy needs in order to rewrite asset URLs while a page is being served rather than after it. `axum-extra` at 0.9 brings `multipart` and `cookie`, so the same server handles uploads from the file browser and per client cookies.
Client assets are compiled into the binary instead of being read from disk. `rust-embed` at 8 with the `axum` feature is the mechanism, and `tower-http` 0.5 supplies the `fs`, `cors`, `compression-gzip` and `compression-br` layers in front of it. `mime_guess` at 2 picks content types. `tokio-tungstenite` at 0.24 is a second WebSocket client in the tree, separate from the terminal channel.
One comment in the manifest is worth keeping in mind when packaging. The `flate2` entry is restricted to deflate and stored, with a note that the default feature set would drag in `xz`, `xz2` and `lzma`. That is a deliberate choice about the size and build time of the binary you download, made in Chinese in the file itself.
No git library appears anywhere in the dependency list
Git change indicators are described as gutter marks for added, modified and deleted lines, inline diff, and Stage and Revert actions. The manifest contains no git library. There is no git2 and no gix. What sits there instead is `sha1` 0.10, `sha2` 0.10, `md-5` 0.10 and `hmac` 0.12 next to `similar` at 2, the text diff library, plus `syn` 2 and `proc-macro2` with span locations. `notify` at 6 handles the file watching that has to sit underneath any such view.
That is the dependency shape of content hashing plus line diffing, not of a wrapper around a git binary. It also means the Stage and Revert buttons act on something the server computed itself, so exactly what those two actions do to your working tree is worth confirming on a scratch repository before you point them at real work.
The file browser around it covers code highlighting, Markdown rendering, Office document preview and audio and video playback. The `image` crate at 0.25 is limited to jpeg, png and webp decoding, so those are the picture formats handled in process rather than handed to an external viewer.
System monitor, bell detection and one pane model for everything
Several features are smaller than the feature list suggests. The system monitor draws real time CPU, memory and network charts, and the crate behind it is `sysinfo` at 0.34. Notifications are described as terminal bell and OSC detection pushed over the WebSocket with configurable sound alerts, so an agent run that finishes on a machine you are not at can be noticed without polling the pane. `local-ip-address` at 0.6 is in the tree for the address the server hands to a phone on the same network.
Multi-server management registers several Dinotty servers and switches between them from Mission Control, with multi-workspace isolation and workspace-scoped plugin tabs. That structure is why one pane model covers everything: terminals, plugins, files, SSH and web preview are all draggable, splittable, movable across tabs and extractable as new tabs. Broadcast mode goes further and executes one pane's input in every pane at once, which is listed as free.
SSH is not a plugin. There is a built in client with password and key auth, and SFTP is auto-enabled over those connections, so the same file browser pane works against a remote host. A customizable shortcut keyboard accepts Ctrl, Esc and function keys and arbitrary escape sequences, which is what makes a phone keyboard usable for anything with vi bindings.
The platform table stops in the middle of the Windows command
Installation is a platform table. macOS ships a `.dmg` you open and drag to Applications. Linux ships a `.deb` installed with `sudo dpkg -i dinotty_*.deb`. The Windows row is where the table stops: the format column reads `.exe` / source build and the notes column ends at `Run dinotty-server`, with the remainder of the sentence absent, along with anything that would have followed the table, including server-side flags.
So the Windows path has to come from the releases page rather than the README. That matters because the project also offers an optional Tauri based native client and carries an `android-app/` at the root, and nothing in the visible text says which of those you need in order to serve a phone.
Three releases are listed for September 2026: `v0.26.0` on the 10th, `v0.27.0` on the 14th and `v0.28.0` on the 15th. The crate version in `Cargo.toml` is `0.28.0`, so the manifest and the newest tag agree. The repository was pushed to on 2026-09-29, after that tag, so the default branch is ahead of anything published as a release.
Editorial conclusion
Dinotty fits one job precisely: running a coding agent on a machine you are not currently sitting at, over a link too slow for screen frames. The architecture behind that job is honest in the manifest. The PTY is `portable-pty`, the parser is `vte`, the client is embedded with `rust-embed`, and the WebSocket is axum with the `ws` feature. If you want to keep one agent session and pick it up from a phone, nothing else in this category does it with text transport and a server-held screen model.
Two things to check before you rely on it. The README's platform table stops in the middle of the Windows row, after `Run dinotty-server`, so the Windows path has to come from the releases page, and the repository's default branch is `dev` while the badge row still reads from `main`. Second, the manifest carries no git library at all, only `sha1`, `sha2`, `md-5` and `hmac` next to the `similar` text diff, so the gutter marks and the Stage and Revert buttons are computed by the server rather than handed to git. Understand what they do to an uncommitted tree before you press them.
The plugin system is worth a separate look. Hot-reloadable JavaScript with a CLI bridge is a large surface, and it loads on a server that also holds your terminal, your file browser and any SSH keys you have configured. It ships CC Switch, JSON Formatter and a Claude Code conversation manager, so read what each one registers before turning hot reload on for a server that has access to real credentials.
Frequently asked questions
How does Dinotty keep an agent session alive when the browser disconnects?
The PTY process is owned by the server through portable-pty and the screen is modelled server side by a VTE parser, so the process survives the drop. Reconnecting uses exponential backoff, and refreshing the page restores the previous view instead of starting a new shell.
How much bandwidth does Dinotty use compared with a remote desktop?
It transmits text as JSON and bytes, put at roughly 1 to 10 KB/s, against 1 to 10 MB of full screen pixels at 30 to 60 fps for VNC, RDP or Parsec. The document frames the gap as 100 to 1000 times and does not state how its own figures were measured.
What does the Dinotty plugin system ship with?
Hot reloadable JavaScript plugins with a CLI bridge. The bundled set includes CC Switch, JSON Formatter and a Claude Code conversation manager, and plugin tabs are scoped to the workspace. Custom commands, terminal interaction, event subscriptions and CLI integration are exposed through the same API.
How do I install Dinotty on Linux, and what is missing from the Windows instructions?
Linux installs from a .deb with `sudo dpkg -i dinotty_*.deb`, and macOS from a .dmg dragged into Applications. The Windows row of the platform table ends at `Run dinotty-server`, so the rest of that instruction and any flags after the table are not written down; the releases page is the source for that platform.
Which version of Dinotty is current, and is the default branch ahead of it?
The newest tag is v0.28.0 from 2026-09-15 and the server crate in Cargo.toml is also version 0.28.0. The default branch is dev and was pushed to on 2026-09-29, so it carries work that no release has packaged yet.
Does Dinotty need a git binary to show changes in a file?
The manifest lists no git library. Diffing and hashing are covered by similar for line diffs and by sha1, sha2, md-5 and hmac for content hashes, with notify for watching the tree. The Stage and Revert actions are therefore computed by the server, so their exact effect on uncommitted work is worth testing first.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/xichan96-dinotty)Star history chart for your README
[](https://hysenlabs.com/projects/xichan96-dinotty)Was this useful?