Skip to content

v0.1.0

Choose a tag to compare

@chryzxc chryzxc released this 24 Sep 19:11
· 6 commits to main since this release

First release of Worktree Gateway: every Git worktree gets its own URL, plus webhook and OAuth callback routing.

Install

gh api repos/chryzxc/worktree-gateway/contents/install.sh -H 'Accept: application/vnd.github.raw' | sh

Or download the archive for your platform below and put wtg on your PATH. Verify it against checksums.txt.

Quick start

cd your-repo
wtg init && wtg run && wtg open

Highlights

  • {branch}.{project}.localhost URLs over HTTP and HTTPS, served by embedded Caddy with a local CA
  • Stable per-service ports, WG_* identity env, and several services per worktree
  • Follows git worktree add, remove, rename and move. Includes Worktrunk hooks.
  • Opt-in public ingress (cloudflared, ngrok or external) with per-path allowlists
  • Webhook log with credential redaction, plus replay to any worktree
  • One OAuth redirect URI for every worktree, using signed, single-use state

See the CHANGELOG for details.

Platforms: macOS and Linux on arm64 and amd64. Windows builds but is untested.