Docs · Getting started

Run Switchyard, then use it like a Git host.

Switchyard combines a Go control plane, Trestle coordination state and Cloudflare Artifacts as the authoritative remote Git host.

Prerequisites

Build & run

go build -o switchyard ./cmd/switchyard

# configure the environment (see Configuration)
set -a; source switchyard.env; set +a
./switchyard

On startup the control plane provisions the required Trestle collections, connects to the configured Artifacts namespace, starts reconciliation/workflow/integration workers, and serves the product UI.

Your first repository

Once a repository is registered in Switchyard, open it in the browser and click Code. The HTTPS remote displayed there is the Cloudflare Artifacts repository itself.

# Copy this URL from Switchyard's Code menu
git clone <artifacts-https-remote>
cd <repository>

git switch -c docs/update-readme
# edit normally
git add README.md
git commit -m "Update README"
git push -u origin docs/update-readme

Those are ordinary Git operations. Git performs the clone and push; Cloudflare Artifacts stores the resulting objects and refs; Switchyard observes and coordinates the work around them.

What Switchyard adds

Normal Git remains available

You do not need the browser editor to work on a Switchyard repository. Clone it, create branches, commit, fetch and push with your normal Git tooling. Switchyard's browser surfaces and agent workflows operate on the same underlying repository.

Architecture in one lineGit talks to Cloudflare Artifacts; Switchyard coordinates the collaboration; Trestle persists that coordination.