Repository navigation
v0.1.0
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' | shOr 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 openHighlights
{branch}.{project}.localhostURLs 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.