WorktreeGitHub
Early preview

Open issues as workspaces.

Click any link in a GitHub issue comment. Your editor opens with a local workspace, pointed at that issue. No cloning. No context switching.

acme-corp/payment-serviceIssue #142
Fix auth token refresh race condition
Opened 2 hours ago by @dev-alice
W
worktree-botcommented just now
bot

A workspace is ready for this issue.

Open workspace
GitHub Action posts this comment automatically on every new issue

How it works

Three steps. Zero friction.

01
/01

Issue opens

A GitHub Action runs and posts an "Open workspace" link as a comment on every new issue.

One-time setup per repo
02
/02

Click the link

The link routes here. If Worktree is installed, the page triggers the daemon via a custom URL scheme.

worktree://open?...
03
/03

Workspace opens

The daemon creates a local worktree directory and opens it in your configured editor. Instantly.

code . · idea . · custom commands

Editor agnostic

Your editor. Your rules.

Worktree reads a config file to decide which editor to launch. Any command that opens a directory works. Chain commands, set env vars, do whatever you need.

VS Codecode .
JetBrains IDEsidea .
Zedzed .
Neovimnvim .
Customopen -a 'My Editor' .

Get started

Install Worktree

macOS
$ cargo install worktree-io
Download .dmg
Linux
$ cargo install worktree-io
Download .tar.gz
Windows
$ cargo install worktree-io
Download .msi
after
Run the setup wizard
$ worktree setup

Registers the worktree:// URL scheme and lets you choose your editor.