folder2website

On this page

Build a static site from a repo or markdown folder.

Run

bunx github:spashii/folder2website#main owner/repo
bunx github:spashii/folder2website#main . --serve
bunx github:spashii/folder2website#main . --serve --port 4322
bunx github:spashii/folder2website#main . --base-url https://example.com
bunx github:spashii/folder2website#main . --manifest docs/site.webmanifest

Private repo:

GITHUB_TOKEN=github_pat_... bunx github:spashii/folder2website#main owner/repo

Options

Output

Rendering

d3-force and MiniSearch are vendored under vendor/ (see vendor/README.md) and copied into the output, so a built site needs no third-party scripts at runtime.

Deploy

GitHub Pages recipe: docs/deploy-with-github-pages.md.

Manifest mapping: docs/manifest.md.

Related