Native terminal workspace · Linux & macOS

A canopy over every terminal.

Canopty is a desktop workspace for project terminals, git worktrees, and AI agents. It keeps formatted scrollback, searches live and saved sessions, and lets you restyle chrome, buttons, and hooks with JSON — then drive the same UI from scripts or MCP clients.

Open source (MIT). The repository at github.com/ckilb/canopty will be public soon.

What it is

Not another tab strip on a PTY.

Most terminal wrappers add tabs, splits, and a theme. Canopty models how you actually work: a project, named workspaces (including worktrees), and persistent terminal tasks that survive a restart. The UI is Rust with egui/eframe. The terminals are real PTYs through alacritty_terminal — your shell, not a fake one.

01

Projects & workspaces

Open a repo once. Add workspaces that inherit the project path or point at a worktree. Each one keeps its own task tabs.

02

Memory that lasts

Formatted scrollback is compressed and restored after quit. Search runs across live terminals and saved history, not just the current buffer.

03

JSON customization

Themes, toolbar buttons, and event hooks are JSON files you can commit. Layer .local.json on top for machine-specific tweaks that stay uncommitted.

04

CLI + MCP

A control socket, a CLI, and an MCP server so OpenCode, Claude Code, Codex, Gemini, and others can drive tasks without leaving the workspace.

Why it is better

Terminal wrappers usually pick one job. Canopty keeps the whole desk.

Vs Electron terminals

Hyper, Tabby, and similar apps wrap a webview around a PTY. They look fine until RAM and startup time show up. Canopty is a native desktop app: egui chrome, Alacritty’s terminal engine, no Chromium.

Vs “just a better emulator”

Ghostty, WezTerm, Alacritty, and iTerm are excellent at drawing cells. They are not a project model. Canopty adds workspaces, persistent tasks, global search, and repo-local automation on top of a real emulator instead of replacing your shell.

Vs tmux-only workflows

tmux is a multiplexer, not a product workspace. Canopty gives you named worktrees, a searchable history that survives restart, JSON buttons you can commit, and an MCP surface for agents — without asking you to memorize session names.

Vs buried preference panes

Most wrappers hide colors and actions behind a GUI you cannot commit. Canopty’s chrome, terminal palette, corner radii, toolbar buttons, and hooks are JSON. Check them into the repo, override with .local.json, and keep the same workspace on every machine.

Vs AI “coding IDEs”

Canopty does not lock you into one vendor chat. You keep your agents, keys, and CLIs. The app exposes the same workspace through MCP and canopty cmd, so tools compose instead of owning the window.

Customizable with JSON

Shape the app with files, not a settings maze.

Canopty is meant to be owned. Chrome colors, corner radii, toolbar actions, and event automation all live as JSON. Drop files in ~/.canopty/ for your user, or in PROJECT/.canopty/ so the repo carries its own workspace. Sparse objects merge recursively; a .local.json sibling wins last and is ignored by git if you want it that way.

Themes

Paint chrome and the PTY

Nine built-in packs — aurora, default, ember, graphite, indigo-night, parchment, rose, stone, velvet — seed into ~/.canopty/theme/. Each pack is JSON: terminal text and background, UI chrome, surfaces, accent, borders, tab padding, and border radii. Colors are from/to stops, so you can keep a solid or run a gradient. Override a pack per project with .canopty/theme/<name>.json and a .local.json tint for your machine.

Theming docs →

Buttons

Toolbar actions you can version

One JSON file per button: id, label, Lucide icon, and a bash script. Click it and Canopty opens a task and runs the command. Show a button only on the project, only in a workspace, or both. Call canopty_prompt to hand work to your configured agent. Project files override home files of the same name.

Button docs →

Hooks

React to workspace events

Hooks fire on events such as task.create, workspace.remove, or intervals like interval.5m. Each file names the event, the bash to run, and whether to focus the new task. The hook terminal gets CANOPTY_EVENT and a JSON payload — enough to lint after a tab opens or notify when an agent finishes.

Hook docs →
aurora default ember graphite indigo-night parchment rose stone velvet

In the box

Everything the README promised, in one native window.

  • Project-level terminals plus named workspaces with their own directories
  • Global search across live terminals and saved scrollback
  • Project, workspace, and task scoped CANOPTY_* environment variables
  • JSON toolbar buttons, event hooks, and theme packs, with .local.json overrides
  • Runtime status-bar items for build, test, and agent progress
  • Nine built-in themes plus project-local JSON packs for chrome, terminal, and radii
  • Self-installs a canopty symlink, Linux desktop launcher, and man canopty

Clone it. Run it. Keep the canopy.

Built in Rust. MIT licensed. Source will be public on GitHub soon.