Overview
Fast and local-first documentation platform
Last updated March 17, 2026
Petit is a small, fast, local-first documentation platform. Write markdown, create a config, and run a single command.
Features
Local-firstDocs live in your repo as plain markdownFull-text searchClient-side search powered by OramaRich componentsCards, tabs, steps, accordions, diagramsSEO out of the boxMeta tags, OG images, sitemap, JSON-LDAI-readyllms.txt, llms-full.md, per-page .md endpointsDeploy anywhereStatic output for Vercel, Cloudflare, Netlify
Quick start
1
Scaffold
Run npx @ephem-sh/petit init in your project root. This
creates a config file and a starter docs folder.
2
Start
Run npx @ephem-sh/petit dev to preview your docs at
http://localhost:4321. Changes are picked up automatically.
3
Write
Add markdown files to the directories in your sidebar config.
Each .md file becomes a page.

