Authors edit the real page as it appears on their live site. All changes are committed to Google Docs.
Write in a Google Doc and let a pipeline render it. Durable and collaborative, but authors can't see or edit the finished page.
Edit the rendered page directly. A great gesture, but the source of truth becomes HTML instead of a Doc your team already lives in.
This app is the combination: the page-first editing gesture, with the doc-first source of truth.
Click the headline or subtitle on the site below and change it. Commit sends it to the Doc. Publish updates the live site.
Notice: publish ships the last committed revision — never your unsaved draft.
Preview every change exactly as visitors will see it, then publish with confidence.
// what a person sees if they open the Doc
type Page = {
fileId: string;
revisionId: string;
metadata: Record<string, string>;
sections: Section[];
};
type Node = Prose | Block; // headings, paragraphs, images, or table blocks
Sample mode lists demo pages until you connect Google.
npm install
npm run dev # http://127.0.0.1:3847
npm test
Pull requests run lint, unit tests and a security audit. Details in CONTRIBUTING.md.