---
title: "Galley documentation · Galley"
description: "What Galley is, the two kinds of reader these pages are for, and where to start."
canonical: "https://galleycms.com/docs/"
language: "en"
---

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. [Astro](https://galleycms.com/astro/) fits it best, and [other frameworks](https://galleycms.com/docs/adapters/) are recognised too. 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**.

| Step | What the person does | What happens underneath |
| --- | --- | --- |
| **Prompt** | Edits a field, retypes text on the page, or asks the assistant | The site's files change on disk, only the bytes that need to |
| **Proof** | Checks each change beside the live site; puts back what they don't want | A diff against the last commit, shown in the site's own words |
| **Publish** | Presses Publish | A git commit, and a push — or a branch and a pull request |

Galley is at **version 0.4.2**, on npm as `galley-cms`. 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](https://galleycms.com/docs/editing/tour/). Those pages use the app's own words (Publish, Proof, Discard) and never need git.

To see every screen first, take the [tour of the app](https://galleycms.com/tour/). To do one job at a time with a picture of every step, use the [how-to guides](https://galleycms.com/how-to/).

- **Edit a site**: [sign in to a hosted editor](https://galleycms.com/docs/editing/signing-in/) (only when someone runs one online for you), [change a page](https://galleycms.com/docs/editing/form/), [on the page itself](https://galleycms.com/docs/editing/on-the-page/), [ask the assistant](https://galleycms.com/docs/editing/assistant/), [images and video](https://galleycms.com/docs/editing/media/), [build a page from sections](https://galleycms.com/docs/editing/page-builder/), [check and publish](https://galleycms.com/docs/editing/proof-and-publish/), [undo a publish](https://galleycms.com/docs/editing/history/).
- **Look after a site**: [forms](https://galleycms.com/docs/editing/forms/) and [the inbox](https://galleycms.com/docs/editing/inbox/), [Google Analytics and other scripts](https://galleycms.com/docs/editing/scripts/), [redirects](https://galleycms.com/docs/editing/redirects/), [the brand](https://galleycms.com/docs/editing/brand/), [search and AI checks](https://galleycms.com/docs/editing/search-and-ai/), [putting the site online](https://galleycms.com/docs/editing/online/), [moving from WordPress](https://galleycms.com/docs/editing/wordpress/), [many sites](https://galleycms.com/docs/editing/many-sites/).

**If you set Galley up or look after a site's code**, start with the [Quickstart](https://galleycms.com/docs/getting-started/quickstart/). Those pages use git, files and configuration freely.

- **Set up**: the [quickstart](https://galleycms.com/docs/getting-started/quickstart/), [a new site](https://galleycms.com/docs/getting-started/new-site/), [a site from GitHub](https://galleycms.com/docs/getting-started/clone/), [the assistant's key](https://galleycms.com/docs/getting-started/assistant/), [handing a site over](https://galleycms.com/docs/getting-started/handover/).
- **How it works**: [prompt, proof, publish](https://galleycms.com/docs/concepts/prompt-proof-publish/), [the working tree as the draft](https://galleycms.com/docs/concepts/working-tree/), [surgical edits](https://galleycms.com/docs/concepts/surgical-edits/), [detection](https://galleycms.com/docs/concepts/detection/), [modes](https://galleycms.com/docs/concepts/modes/), [never guessing](https://galleycms.com/docs/concepts/never-guess/).
- **Your Astro site**: what Galley reads, the preview, making a site easy to edit, [the site kit](https://galleycms.com/docs/astro/site-kit/), [forms](https://galleycms.com/docs/forms/), [scripts](https://galleycms.com/docs/scripts/), [what Arrange needs](https://galleycms.com/docs/visual-builder/), [the starters](https://galleycms.com/docs/astro/starters/).
- **Configuration**: [`galley.config.json`](https://galleycms.com/docs/configuration/), for correcting what detection found.
- **Extend Galley**: [adapters](https://galleycms.com/docs/adapters/), [plugins](https://galleycms.com/docs/plugins/), [MCP](https://galleycms.com/docs/integrations/mcp/), [Shopify](https://galleycms.com/docs/plugins/shopify/).
- **Run Galley**: the [desktop app](https://galleycms.com/docs/running/desktop/), [self-hosting](https://galleycms.com/docs/running/hosted/), [settings and secrets](https://galleycms.com/docs/running/settings/), [security](https://galleycms.com/docs/running/security/), [deploying](https://galleycms.com/docs/running/deploy/).
- **Reference**: [command line](https://galleycms.com/docs/reference/cli/), [config file](https://galleycms.com/docs/reference/config/), [HTTP API](https://galleycms.com/docs/reference/api/), [environment variables](https://galleycms.com/docs/reference/environment/), [messages](https://galleycms.com/docs/reference/messages/), [troubleshooting](https://galleycms.com/docs/reference/troubleshooting/), [glossary](https://galleycms.com/docs/reference/glossary/). The command line, config and API pages are generated from or checked against the code on every build of this site.

## Link to this section: The quickest way in

A new site, from one of the starters:

```
npm create galley@latest
```

A site you already have — run this in its folder:

```
npx galley-cms
```

Either way your browser opens on the site in Galley. [Create a new site](https://galleycms.com/docs/getting-started/new-site/) and the [quickstart](https://galleycms.com/docs/getting-started/quickstart/) go through each step.

## 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.
