Documentation menu

Documentation › Start here

Galley documentation

What Galley is, the two kinds of reader these pages are for, and where to start.

Galley is an open-source AI CMS for static sites, built for Astro first. A site's content stays as files in its own git repository. People change pages three ways — typing in a form, clicking the words on the page, or asking the assistant — and every change waits in Proof, marked up beside the live site, until someone presses Publish.

StepWhat the person doesWhat happens underneath
PromptEdits a field, retypes text on the page, or asks the assistantThe site's files change on disk, only the bytes that need to
ProofChecks each change beside the live site; puts back what they don't wantA diff against the last commit, shown in the site's own words
PublishPresses PublishA git commit, and a push — or a branch and a pull request

Galley is pre-release, version 0.1.0. It isn't on npm yet: it runs from a clone of the repository. Where something is new or still being built, the page says so.

Link to this section: Two kinds of reader

If you edit a site — write, update pages, look after forms and analytics — start with Find your way around. Those pages use the app's own words (Publish, Proof, Discard) and never need git.

If you set Galley up or look after a site's code, start with the Quickstart. Those pages use git, files and configuration freely.

Link to this section: The quickest way in

sh
$ git clone https://github.com/fictiontribe/galley.git galley && cd galley
$ corepack enable && pnpm install && pnpm --filter @galley/web build
$ node packages/cli/bin/galley.js new my-site --starter astro-editorial --dir ~/sites

That opens a copy of the Caddow starter in your browser. The quickstart goes through it, and through opening your own Astro site.

Link to this section: What it costs

Galley is free and open source (Apache-2.0). The assistant runs on the site owner's own Anthropic key, billed by Anthropic per request; image and video services, and hosts such as Cloudflare or Vercel, bill their own accounts. Without any key, everything but asking the assistant works.

Link to this section: This site is a Galley site

Every page here is a markdown file in apps/site/src/content/docs/ of the repository, and the whole site is an Astro project Galley can edit. Edit this page on GitHub, at the bottom of each page, takes you to its file.