Publish Exactly What You Previewed. Roll Back Without Rebuilding.
FOLD is a headless publishing service you drive from a CLI or MCP. Every preview is a built release, and going live makes that same release your site.
| Section Settings | |
|---|---|
| Style | live |
A Preview Is A Built Release. Going Live Moves One Pointer.
| Releases (pointer) | |
|---|---|
| Release 1 | ready |
| Release 2 | ready |
| Release 3 | ready |
| Release 4 | ready |
| Release 5 | ready, previewed |
| Publish moves the live pointer forward to a release that is already built. Rollback moves it back. |
| Columns | ||
|---|---|---|
| Preview Every build produces a complete release. Open it at a private URL and check the real output before anyone else sees it. | Publish Publishing points your site at that same release. Nothing is built again, so nothing can differ from what you checked. | Roll Back Rollback points your site at an earlier ready release. Its bytes are still there, so nothing is rebuilt. |
| Section Settings | |
|---|---|
| Style | split |
Run It On Your Machine
You need Node and pnpm. The README covers setup; these are the four commands you use after it.
| Steps | ||
|---|---|---|
| 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. |
| Section Settings | |
|---|---|
| Style | preview, closing |
Read The Docs
fold.run/docs