# Galley > Galley is an open-source AI CMS for static sites: change a page in a form, on the page or by asking, check every change beside the live site, then publish it to your own git repository. Version 0.4.2, Apache-2.0, on npm as galley-cms. Each page below is linked to its markdown version: the page's own text, with no scripts or layout. Everything in one file: https://galleycms.com/llms-full.txt. ## Pages - [Galley — the open-source AI CMS for static sites](https://galleycms.com/index.md): Galley is an open-source AI CMS for static sites. Change a page in a form, on the page or by asking, check every change beside the live site, then publish it to your own git repository. - [AI-first websites · Galley](https://galleycms.com/ai-first.md): A website people and AI assistants can both read. Your pages are already plain files in git; Galley's site kit adds a script-free copy of every page for AI agents, and its checks find what search engines and assistants miss. - [Apps · Galley](https://galleycms.com/apps.md): How to run Galley — the desktop app for Mac, Windows and Linux, one command that opens it in your browser, or an editor on your own server for a whole team. - [Galley and Astro · Galley](https://galleycms.com/astro.md): Galley is built for Astro. It reads your content collections and zod schemas without running them, previews with your own astro dev, and adds nothing to your build. - [Galley Cloud · Galley](https://galleycms.com/cloud.md): Galley Cloud is coming — the same editor and your published site, run by Fiction Tribe on your domain. No date or price yet; the open-source product stays whole. - [Community · Galley](https://galleycms.com/open-source.md): Galley is open source under Apache-2.0 and built in the open. How to take part, the rules of the project, and who makes it. - [Starters · Galley](https://galleycms.com/starters.md): Three complete Astro sites built from sections, each in three looks — Caddow for a fashion label, Ferrow for B2B software, Lowfield Studio for a small business — ready to edit with Galley. - [Team · Galley](https://galleycms.com/team.md): Galley is made by Fiction Tribe, a creative agency in Portland, Oregon — James Rice, who leads the company, and the engineers who build Galley. - [Themes for the editing app · Galley](https://galleycms.com/themes.md): Quiet, Plate, Desk and the community's themes for Galley's editing app: each a small file of colours and choices, checked to stay readable. Download one, or make your own in the app. - [Tour of the app · Galley](https://galleycms.com/tour.md): What Galley looks like, screen by screen — changing a page, Proof and Publish, building pages, forms, scripts, redirects, the brand, search checks, going online and moving from WordPress. - [Leave WordPress, keep editing it yourself · Galley](https://galleycms.com/wordpress.md): Move your WordPress posts, pages, images and SEO details to a fast static site, then change it in a form, on the page or by asking, and check every change before it goes live. ## Galley documentation · Galley - [Galley documentation · Galley](https://galleycms.com/docs.md): What Galley is, the two kinds of reader these pages are for, and where to start. - [Adapters · Documentation · Galley](https://galleycms.com/docs/adapters.md): How frameworks plug into Galley, the adapters that ship with it and what each one finds, and how a site loads one of its own. - [Writing a Galley adapter · Documentation · Galley](https://galleycms.com/docs/adapters/writing.md): The adapter API in full — the hooks, the helpers, what the engine fills in, the conformance kit, using and publishing an adapter, and the trust model. - [What Galley reads from an Astro project · Documentation · Galley](https://galleycms.com/docs/astro/content-collections.md): The Astro adapter reads astro.config, the content config and its zod schemas, and src/pages — statically, never running them. Which zod shapes become which fields, how discriminated unions become page sections, and what it can't read. - [Making an Astro site easy to edit · Documentation · Galley](https://galleycms.com/docs/astro/editable-sites.md): Schema, routing and component habits that let Galley detect everything without configuration — the conventions the Astro starter follows. - [The preview and astro dev · Documentation · Galley](https://galleycms.com/docs/astro/preview.md): How Galley runs your site's own dev server, fronts it with a proxy that keeps hot reload and adds the click-to-edit overlay, and sets the deployed site beside it. - [The site kit · Documentation · Galley](https://galleycms.com/docs/astro/site-kit.md): @galley/astro: forms, managed scripts with consent, email links, the agent-readable version of the site and the dev toolbar app — how a site gets it, every option, and what it adds to a build. - [Starters · Documentation · Galley](https://galleycms.com/docs/astro/starters.md): The four Astro sites `galley new` can copy — Caddow, Ferrow, Lowfield Studio and the Caddow storefront — what each holds, their looks, and what every starter must do. - [Detection and schema inference · Documentation · Galley](https://galleycms.com/docs/concepts/detection.md): How Galley works out a site's framework, commands, collections, fields, page sections, URLs and media without running any of its code — and the precedence config > schema > inferred. - [Modes and the write surface · Documentation · Galley](https://galleycms.com/docs/concepts/modes.md): Content mode and build mode, the writable globs each one gets, the deny-list no mode can cross, and how paths are contained to the site folder. - [Never guess · Documentation · Galley](https://galleycms.com/docs/concepts/never-guess.md): When something is ambiguous, Galley asks or declines. How a click on the previewed page is traced back to one value in one file, what happens when several match, and how the assistant handles ambiguous requests. - [Prompt, proof, publish · Documentation · Galley](https://galleycms.com/docs/concepts/prompt-proof-publish.md): The loop at the centre of Galley — the three ways to make a change, what the proof shows, what Publish does — and the git that does the work underneath. - [Surgical edits · Documentation · Galley](https://galleycms.com/docs/concepts/surgical-edits.md): Changing one value changes those bytes and nothing else. How Galley splices YAML scalars at their byte range, what survives an edit, what happens to structural changes, and what it refuses. - [The working tree is the draft · Documentation · Galley](https://galleycms.com/docs/concepts/working-tree.md): Galley keeps no draft database. A pending change is an uncommitted change in the checkout, the proof is git diff, Discard restores the file, Publish commits. What that means for developers, command by command. - [galley.config.json · Documentation · Galley](https://galleycms.com/docs/configuration.md): When you need a config file, how galley init writes one, how it merges over detection, and what happens when it has a mistake in it. - [Assistant instructions and build mode · Documentation · Galley](https://galleycms.com/docs/configuration/assistant.md): The ai and writable settings: files the assistant reads before every request, whether build mode is offered, and exactly which paths each mode may write. - [Collections and fields · Documentation · Galley](https://galleycms.com/docs/configuration/collections.md): Correcting or adding collections, fields and page-section types in galley.config.json, and the 17 field types. - [Media in a bucket · Documentation · Galley](https://galleycms.com/docs/configuration/media-storage.md): Keep a site's pictures, PDFs and videos in a Cloudflare R2 or Amazon S3 bucket, and pictures in Cloudflare Images, instead of its repository — the steps on each side, what Galley checks, moving files there and back, and what it costs. - [Media · Documentation · Galley](https://galleycms.com/docs/configuration/media.md): Where Galley saves new images, which folders the media library shows, how files on disk map to the paths written into content, and the upload rules. - [Publishing · Documentation · Galley](https://galleycms.com/docs/configuration/publishing.md): Which branch and remote a publish goes to, commit or pull-request mode, pushing, the live addresses the proof compares with, and every message a publish can end with. - [White-label · Documentation · Galley](https://galleycms.com/docs/configuration/white-label.md): Rename and recolour the app for a deployment with a brand file or two environment variables — what they change, what they don't, and how they are validated. - [Ask the assistant · Documentation · Galley](https://galleycms.com/docs/editing/assistant.md): Ask for a change in plain words; the assistant makes it in the same files the form edits, tells you exactly what it changed, and leaves it waiting in Proof. - [Set up the brand · Documentation · Galley](https://galleycms.com/docs/editing/brand.md): Write the site's look and voice down — read from the site itself or from guidelines, logos and screenshots — so the assistant works inside it. - [Host the editor online · Documentation · Galley](https://galleycms.com/docs/editing/editor-online.md): Put an editor for this site online on your own account — Fly.io, Google Cloud, Cloudflare in front of a computer of yours, or any server with Docker — so it can be edited from any browser, with what each costs. - [Change a page in the form · Documentation · Galley](https://galleycms.com/docs/editing/form.md): Retype any field of a page, add and reorder its sections, and make new pages — every change saved as you type and waiting in Proof. - [Make a form · Documentation · Galley](https://galleycms.com/docs/editing/forms.md): Build a contact, sign-up or enquiry form in the form builder, choose where its submissions go, and put it on a page. - [Undo a publish · Documentation · Galley](https://galleycms.com/docs/editing/history.md): Version history lists every published version of the site; undoing one adds a new version that reverses it, so nothing is ever erased. - [See who wrote in · Documentation · Galley](https://galleycms.com/docs/editing/inbox.md): Read, search, export and delete what visitors send through the site's forms, get an e-mail when they do, and know when the inbox can receive from the live site. - [Look after many sites · Documentation · Galley](https://galleycms.com/docs/editing/many-sites.md): Add every site you look after in one go, file them by client, see what each is waiting on, switch between them, and give a client's site its own keys. - [Add images and video · Documentation · Galley](https://galleycms.com/docs/editing/media.md): Upload pictures, videos and documents, make an image or a video from a description, and use them on a page. - [Change text on the page · Documentation · Galley](https://galleycms.com/docs/editing/on-the-page.md): Click text on the page itself and retype it where it sits; when the same words appear in two places, choose which one you meant. - [Put the site online · Documentation · Galley](https://galleycms.com/docs/editing/online.md): Give the site a real address on Cloudflare or Vercel in four steps, put published versions live, and share a preview link before you publish. - [Build a page from sections · Documentation · Galley](https://galleycms.com/docs/editing/page-builder.md): Arrange a page on the page itself — select a section, drag it, add new ones from pictures of the site's own sections, and switch their options. - [Check and publish · Documentation · Galley](https://galleycms.com/docs/editing/proof-and-publish.md): Proof lists every change waiting to be published, marked up beside the live site; put back what you don't want, then publish the rest. - [Move a page without breaking links · Documentation · Galley](https://galleycms.com/docs/editing/redirects.md): Add redirects one at a time or a whole list at once, let the checks catch loops and chains, try any old address, and keep the host's redirect file in step. - [Add Google Analytics · Documentation · Galley](https://galleycms.com/docs/editing/scripts.md): Add Google Analytics, Tag Manager or another script to every page, decide what waits for the visitor's consent, and check where each one loads. - [Check how search and AI see the site · Documentation · Galley](https://galleycms.com/docs/editing/search-and-ai.md): Search & AI checks titles, headings, images, links, indexing and structured data, fixes what it safely can as changes in Proof, and lets you choose which AI crawlers may visit. - [Sign in to a hosted editor · Documentation · Galley](https://galleycms.com/docs/editing/signing-in.md): For people who use an editor someone runs online — signing in, joining from an invitation, your account, what owners, editors and contributors each see, and a forgotten password. - [Themes: choose one, make one, share one · Documentation · Galley](https://galleycms.com/docs/editing/themes.md): Change how the editing app looks — Quiet, Plate, Desk or a theme you make — separately from light or dark, keep it for yourself or everyone, and share it with the community. - [Find your way around · Documentation · Galley](https://galleycms.com/docs/editing/tour.md): The screens you'll use to change a site — the sites list, Site home, the editor and Proof — and where everything else lives. - [When something goes wrong · Documentation · Galley](https://galleycms.com/docs/editing/troubleshooting.md): The situations editors meet most — the preview stopped, a change didn't save, publishing didn't finish — what each means and what to do. Your work is almost always safe. - [Bring a site over from WordPress · Documentation · Galley](https://galleycms.com/docs/editing/wordpress.md): Move a WordPress site's posts, pages, images and SEO details into a Galley site in four steps, as changes you check before anything goes live. - [Forms, for developers · Documentation · Galley](https://galleycms.com/docs/forms.md): How a Galley form works on a site — one JSON file and one component — its destinations, the capture endpoint behind the inbox, and running the inbox where visitors can reach it. - [Connect the assistant · Documentation · Galley](https://galleycms.com/docs/getting-started/assistant.md): Add the site owner's Anthropic API key, so people can ask for changes in words. Without one, everything else works. - [Open a site from a git repository · Documentation · Galley](https://galleycms.com/docs/getting-started/clone.md): Clone a site from GitHub or any git host on the Sites screen; Galley uses your computer's own git sign-in. - [Hand a site over to an editor · Documentation · Galley](https://galleycms.com/docs/getting-started/handover.md): A short checklist for the developer or agency handing a site to the people who edit it — names, the live address, where publishes go, what the assistant may touch, and one round trip together. - [Create a new site · Documentation · Galley](https://galleycms.com/docs/getting-started/new-site.md): One command copies a starter — Caddow, Ferrow or Lowfield Studio — into a folder of its own and opens it in Galley, ready to edit. - [Quickstart: Galley on your site · Documentation · Galley](https://galleycms.com/docs/getting-started/quickstart.md): Open your site in Galley with one command, change a page, check it in Proof and publish it. About ten minutes. - [Moving a WordPress site to Galley, in full · Documentation · Galley](https://galleycms.com/docs/getting-started/wordpress.md): What comes across from WordPress and what doesn't, the guided move in the app and the command, the report, rebuilding page-builder pages, keeping your search rankings, and the go-live checklist. - [Galley over MCP — use your own AI tool · Documentation · Galley](https://galleycms.com/docs/integrations/mcp.md): Connect Claude Desktop, Claude Code, Cursor, VS Code or any MCP client to a site: setup per client, stdio or HTTP, modes and safety switches, and every tool. - [Plugins · Documentation · Galley](https://galleycms.com/docs/plugins.md): What a plugin can add to Galley — image and video generators, form destinations, scripts, importers, hosts, tools for the assistant — how to add one, and how to write one in a single file. - [Shopify · Documentation · Galley](https://galleycms.com/docs/plugins/shopify.md): The Shopify plugin — product and collection pickers, store tools for the assistant, a publish check, a product-copy switch — and the storefront starter that runs a shop's pages from Galley. - [Themes for the editing app · Documentation · Galley](https://galleycms.com/docs/plugins/themes.md): The theme contract, the legibility check and how it matches the CSS, where themes are kept and who may change them, the routes, sharing, the plugin contribution and galley theme. - [Contributing to the docs · Documentation · Galley](https://galleycms.com/docs/project/contributing.md): How a documentation page is wired, the checks that keep the docs true to the code, and the house rules for writing one. Code contributions are in CONTRIBUTING.md. - [FAQ for developers · Documentation · Galley](https://galleycms.com/docs/project/faq.md): Straight answers to what developers ask before putting Galley on a site — what it changes, what it costs, what leaves the machine, and when it isn't the right fit. - [Release process and versioning · Documentation · Galley](https://galleycms.com/docs/project/releases.md): What a Galley release produces, how versions are numbered, and the checklist for cutting one — including the one-time work the first release still needs. - [HTTP API · Documentation · Galley](https://galleycms.com/docs/reference/api.md): Every route the Galley server answers — what it does, what it takes and returns, who may call it — with authentication, the error shape and the live event stream. Generated from ApiRoutes. - [The assistant, in detail · Documentation · Galley](https://galleycms.com/docs/reference/assistant.md): Models and effort, what a request costs and sends, every tool the assistant has in content and build mode, image providers, the request shapes, the endpoint, and the live smoke test. - [Command line · Documentation · Galley](https://galleycms.com/docs/reference/cli.md): Every galley command and option, with its real help text and exit codes. Generated from the CLI. - [Config reference · Documentation · Galley](https://galleycms.com/docs/reference/config.md): Every key galley.config.json accepts, with its type, its default and what it does. Checked against the engine's JSON Schema on every build of this site. - [Environment variables · Documentation · Galley](https://galleycms.com/docs/reference/environment.md): Every environment variable Galley reads — the server, the CLI, the engine, the plugins, the site kit and the desktop app — with its default. Checked against the source on every build of this site. - [Glossary · Documentation · Galley](https://galleycms.com/docs/reference/glossary.md): The words editors see in Galley and what they are underneath, for developers explaining the product, writing support answers or reading the code. - [Messages in the app · Documentation · Galley](https://galleycms.com/docs/reference/messages.md): The messages an editor can meet in the app, grouped by situation — what each one means and what to do. For whoever supports the people who edit. - [Troubleshooting for developers · Documentation · Galley](https://galleycms.com/docs/reference/troubleshooting.md): Every error a developer can hit starting, configuring and running Galley — the exact message, what it means and what to do. - [Deploying, for developers · Documentation · Galley](https://galleycms.com/docs/running/deploy.md): How Galley puts a site online on Cloudflare or Vercel — what is built, the upload protocols, redirects and headers, settings and keys, the CLI, and adding a host. - [Desktop app · Documentation · Galley](https://galleycms.com/docs/running/desktop.md): The native shell around the same server and web UI — how it starts and stops, what it adds over a browser tab, how to build it, and what hasn't been done or verified yet. - [Embedding the editor · Documentation · Galley](https://galleycms.com/docs/running/embedding.md): Build your own edition of the editor. A program that starts Galley's server can add API routes and live events of its own, each with an access level, behind the editor's own guards. Experimental. - [Run a hosted install · Documentation · Galley](https://galleycms.com/docs/running/hosted.md): Run Galley on a server for one site — start it with Docker and Caddy, point three names at it, finish first run, let people in with their own accounts, back it up, upgrade it, and know what it can reach. - [Security model · Documentation · Galley](https://galleycms.com/docs/running/security.md): Who can reach Galley and how they sign in, the Host and Origin checks, what the app can write and serve, whose code it runs, and exactly what it sends to which third party and when. - [Settings, secrets and the Galley home · Documentation · Galley](https://galleycms.com/docs/running/settings.md): What Galley keeps in its home folder, how API keys are stored and which one wins, and where the environment variables are listed. - [Scripts, for developers · Documentation · Galley](https://galleycms.com/docs/scripts.md): How a site's analytics and tags are kept in one file and written into every page by the site kit — placement, timing, consent, Google Consent Mode, the editor's preview and Content Security Policy. - [What Arrange needs from a site · Documentation · Galley](https://galleycms.com/docs/visual-builder.md): The two attributes that let editors arrange a page's sections on the page itself, what happens without them, and the pictures and descriptions the section panel shows. ## How-to guides · Galley - [How-to guides · Galley](https://galleycms.com/how-to.md): Everyday jobs in Galley, step by step, with the screens you’ll see — changing a page, publishing, forms, analytics, redirects, the brand, going online and more. - [Make a form and read the answers · Galley](https://galleycms.com/how-to/add-a-form.md): Change a form's fields, choose where the answers go, and read them in the Inbox. - [Add Google Analytics · Galley](https://galleycms.com/how-to/add-analytics.md): Count visits with Google Analytics 4, loaded only once visitors agree to it. - [Ask the assistant for a change · Galley](https://galleycms.com/how-to/ask-the-assistant.md): Say what you want in plain words; the assistant makes the change and tells you exactly what it did. - [Build a page from sections · Galley](https://galleycms.com/how-to/build-a-page.md): Put a page together from the site's own sections, on the page itself. - [Add many redirects at once · Galley](https://galleycms.com/how-to/bulk-redirects.md): Paste a whole list of old addresses and let the checks catch the mistakes before any visitor does. - [Change a page in the form · Galley](https://galleycms.com/how-to/change-a-page.md): Retype any words on a page in its form and see the change on the page before anyone else does. - [Choose a theme, or make your own · Galley](https://galleycms.com/how-to/choose-a-theme.md): Change how the app looks, in light and dark, and take a theme of your own to another computer. - [Change text on the page · Galley](https://galleycms.com/how-to/edit-on-the-page.md): Click the words on the page itself and type over them, without hunting for the right field. - [Keep media in a bucket · Galley](https://galleycms.com/how-to/media-in-a-bucket.md): Keep new pictures, PDFs and videos in a bucket of your own instead of the site's repository, and move the ones already there. - [Bring a site over from WordPress · Galley](https://galleycms.com/how-to/move-from-wordpress.md): Move a WordPress site's posts, pages and images into this site, checked before anything goes live. - [Check, publish and undo · Galley](https://galleycms.com/how-to/proof-and-publish.md): See every change before it goes live, keep only the ones you want, and take a publish back if you need to. - [Put the site online · Galley](https://galleycms.com/how-to/put-online.md): Give the site a real address on Cloudflare, then your own domain. - [Check how search and AI see the site · Galley](https://galleycms.com/how-to/search-and-ai.md): Find what search engines and AI assistants trip over, fix it, and choose which AI crawlers may visit. - [Set up the brand · Galley](https://galleycms.com/how-to/set-up-brand.md): Write the site's colours, type and voice down once, so every change fits the rest. ## Optional - [Changelog · Galley](https://galleycms.com/changelog.md): Every release of Galley, newest first, generated from the CHANGELOG.md in the repository. - [Privacy and notices · Galley](https://galleycms.com/privacy.md): This site sets no cookies, runs no analytics and loads nothing from anyone else. What that means, what Galley itself sends when you use it, and the trademark notes.