Anglesite (Mac app)
A native macOS app that gives non-technical site owners a visual, edit-in-place experience for their website.
Scaffolding, deploys, and design flows are deterministic Swift; generative features run on Apple Intelligence (on-device Foundation Models). Edits and content operations go through the Anglesite MCP sidecar (server/ in the sibling repo), which runs inside the app's container runtime. The former Claude Code dependency — the claude --print subprocess and the markdown-skill machinery — is fully retired (epic #459).
Status
Pre-release. The v0 → v1 core is built (Phases 0–9): site plumbing, supervised subprocesses, the WKWebView live preview with the block editor (JS/wysiwyg-engine, edits routed through the MCP sidecar), deploy via wrangler (with the mandatory pre-deploy scan), Keychain/gh credentials, the per-site chat panel, multi-window, the deploy-readiness health badge, image-drop optimization, and per-edit undo.
In progress (Phase 10, v2 polish):
- Mac App Store build.
Anglesite is the single sandboxed app target (io.dwk.anglesite). The old direct-download target has been retired. The host-side embedded Node runtime has been retired (#70); local Apple Containerization is the macOS runtime direction.
- Apple Help Book — shipped. 15 hand-authored HTML pages with
hiutil search index, accessible via Help ▸ Anglesite Help.
Also landed since v1:
SiteRuntime protocol (#65) — abstracts the execution substrate so PreviewModel is decoupled from how a site runs (in-process subprocess vs. local container vs. Cloudflare).
- HTTP/Streamable MCP transport (#64) —
MCPClient can connect over HTTP in addition to stdio, enabling container-backed runtimes.
- Containerization — Apple Containerization is the macOS runtime direction. The active app-bundled image source is
Containers/anglesite-dev/, exported by scripts/vendor-container-image.sh into Resources/container-image/ and booted by the AnglesiteContainer target. Docker/buildx is only used to build that inert OCI root filesystem. The lowercase container/ directory is the Cloudflare Sandbox / remote-runtime image pipeline for RemoteSandboxSiteRuntime and iOS work, not the macOS app image.
- Xcode 27 migration (#108) — macOS 27+ deployment target,
@State macro audit, Swift 6.4 toolchain.
- macOS 27 platform features — the first platform wave has shipped: system-wide MCP (#101), Spotlight/App Intents (#102), native chat on Foundation Models (#105), and more.
See docs/build-plan.md for the full phased status.
Documentation
Requirements
These are the requirements for building the macOS app — the primary development flow. For working on the portable core from a Linux machine, see Developing on Linux.
On either platform, scripts/setup-dev-env.sh checks the prerequisites below, fixes what it safely can (generating the Xcode project, enabling git hooks, the Linux libxml2 shim), and prints instructions for the rest.
- macOS 27+
- Xcode 27+ (Swift 6.4; required for the SwiftUI 27
@State macro semantics audited in docs/specs/2026-06-10-xcode27-state-macro-audit-notes.md)
- XcodeGen (
brew install xcodegen) — the .xcodeproj is generated from project.yml
- The host-side embedded Node runtime has been retired (#70) — dev-server, build, and deploy commands run in a container runtime instead, so users do not need Node installed.
Building
# Clone alongside the sidecar repo
git clone https://github.com/Anglesite/Anglesite.git
cd Anglesite
# One-shot environment check/bootstrap (generates the Xcode project, enables the
# git hooks below, and reports anything missing) — or follow the steps manually:
scripts/setup-dev-env.sh
# Generate the Xcode project
xcodegen generate
# (Recommended) Enable git hooks: auto-regenerate the .xcodeproj after
# `git pull` / branch switches / rebases (keeps Xcode in sync with project.yml
# and Sources/ without manual `xcodegen generate` calls), and auto-restore the
# trailing newline Xcode's String Catalog build phase strips from *.xcstrings.
git config core.hooksPath scripts/git-hooks
# (Optional one-time verification) Confirm project.yml hasn't drifted from the
# source tree — regenerates the .xcodeproj and checks every app target compiles all
# of Sources/AnglesiteApp. CI runs this too, so it's not a required setup step.
scripts/check-xcodeproj-sync.sh