Skip to content

A supercharged
terminal emulator.

Scriptable, multiplexed, local and remote. Free and open source, on your own machines.

macOS / Linux / Windows / FreeBSDFree & open source

  1. The window is a view.

    Its shell runs in the library: the one server on the local machine that holds every workspace, standalone terminal and window. Reload or hide a window and its shells keep running.

    How the layers fit
  2. One library per machine.

    The Computers screen lists the local machine and each devserver. A devserver is the same library, running headless somewhere else. Disconnect, and everything stays running there.

    The Computers screen
  3. Any directory becomes a workspace.

    chan open . registers the directory and opens a window of it. Your files stay ordinary files; what chan derives from them lives under ~/.chan.

    Workspaces
  4. Files, beside the shell.

    From a terminal in the new window, p=$(cs pane new right) adds a pane beside it and saves its id; use p=$(cs pane new bottom) for a pane below. Then cs open crates --pane "$p" opens the directory in the new pane's file browser.

    Files
  5. Markdown that renders as you type.

    cs window new opens another window of the workspace and prints its id. Use that id in cs open design.md --window <id> to open the file there, in the editor, with its source one switch away.

    The editor
  6. The project, drawn.

    cs graph opens the directory tree with each file's links, tags and mentions drawn over it. This one is chan's own source, opened at crates.

    The graph

Your tmux, in Chan.

Run tmux -CC locally or over ssh. Each tmux window opens as a Chan window, with its terminal and panes and layout. Use Chan's shortcuts and hybrid nav to split and resize panes, create new windows. Manage tmux sessions from the Computers screen.

tmux setup and controls

LOCAL

$tmux -CC new -A -s dev

OVER ssh

$ssh -t user@host tmux -CC new -A -s dev

Enable tmux control mode in Terminal settings. Requires tmux 3.2+.

Your tools, on any machine.

Install Chan on a remote machine and use Add devserver in Computers to configure access. Connect over ssh or Eternal Terminal, as in the examples above. Your terminals, files, and workspaces live on that machine, ready when you reconnect.

Connect over ssh or Eternal Terminal

Always-on environments.
Your domain.

Provision managed devservers with your tools and a PAT. Give people access through OAuth2, without ssh. Run the gateway on your own infrastructure, with admission control, access policy, live switches, and a scalable proxy fleet.

Gateway architecture and setup

More in the manual.

Terminal scripting, files, editing, workspaces, and collaboration.

Read the manual