Get started
v1.4 · now with incremental builds

Ship static pages and assets,
without the heavy toolchain

Pagefold takes a folder of pages, images and scripts, bundles them with sensible defaults, and writes a clean, cache-friendly site you can host anywhere.

# build a folder into a ready-to-host site
$ pagefold build ./site --out ./dist
✓ 34 pages · 112 assets · 1.9 MB
✓ fingerprinted 112 files for long-term caching
✓ done in 0.8s

Everything a small site needs

No config to start. Reach for the knobs only when you want them.

Content-hash caching

Every asset is fingerprinted and set to cache forever. Change a file, only that URL changes.

Incremental builds

Only the pages you touched are rebuilt, so large sites stay fast from the first save to the last.

Image handling

Resizes and re-encodes images on build, and writes the right srcset for you.

Zero-JS by default

Pages ship as plain HTML and CSS. Add scripts only where a page actually needs them.

Host anywhere

The output is just files. Drop them on any static host, bucket or edge cache you like.

Reproducible output

The same input always produces the same bytes, so diffs stay small and reviews stay honest.

Three steps, no surprises

From a folder to a deployed site in under a minute.

1

Point it at a folder

Keep your pages and assets however you like. Pagefold reads the structure as-is.

2

Build

One command bundles, fingerprints and minifies into a clean dist directory.

3

Upload

Copy dist to your host. Everything is cache-ready, so repeat visits are instant.

0.8smedian build, 30-page site
1 depsingle binary, nothing global
100%static output, no runtime