FOLD Docs

How to publish with FOLD: build a private preview, review it, make that release live, and roll back to an earlier one.

Start The Quick Start


Section Settings
Style live

Quick Start

Run FOLD on your machine and publish a page. You need Node and pnpm.

Steps (across)
Preview pnpm fold preview ./content Builds a release from a directory and returns its ID and a private preview URL.
Check Status pnpm fold status RELEASE_ID Run it until the state is ready, then open the preview URL.
Publish pnpm fold publish RELEASE_ID CURRENT_GENERATION KEY Makes that release live. Retry an uncertain publish with the same arguments and key.
Roll Back pnpm fold rollback EARLIER_RELEASE_ID CURRENT_GENERATION NEW_UUID Makes an earlier ready release live again.

Read the full quick start


Section Settings
Style tasks

Author Content

Write Markdown, HTML, JSON and media, and build a preview from a directory.

Review And Publish

Request review, approve or reject a preview, publish a release, and roll back.

Work Through An Agent

Give an agent the same operations over MCP, scoped to one site and one draft.

Read Published Content

How visitors and other applications fetch what you published.


Section Settings
Style artifact, topics-inline

How It Works

A preview is a built release, and going live moves one pointer to it. Read this when you want the reasons.

Releases
Release 1 ready
Release 2 ready
Release 3 ready
Release 4 live
Release 5 ready, previewed