Get a live wiki from your repo in five minutes.
Install
Nothing to install if you just want to try it — run it straight from npm, in the root of any repo:
For repeat use, install it globally. Needs Node.js 18 or newer, and nothing else — no config file, no account, no API key.
Prefer to run the unreleased version, or hack on it? Build from source:
Initialize
Run this from the root of the repo you want documented. It asks who the wiki is for, then drafts real pages from your repo's own content — no blank templates to fill in.
Your answer decides which sections get drafted:
- Technical —
start-here,how-it-works,technologies,reference,cookbook - User guide —
start-here,getting-started,guides,faq,troubleshooting - Everything — all nine, ordered from onboarding through to lookup material
The choice is saved to wikipilot.config.json, so later builds and the sync skill both know what belongs in this wiki.
--preset <technical|user-guide|all>— answer up front and skip the question-y, --yes— take the default (technical); use this in CI-o, --out <dir>— where to scaffold the wiki (default./wiki)--no-skill— skip scaffolding the Claude Code sync skill
The prompt only appears on an interactive terminal. Piped or non-TTY runs take the default instead of hanging, so wikipilot init is safe to put in a script.
Build & serve
The defaults line up with what init wrote, so both commands take no arguments:
The site is named after your project — @acme/billing-service becomes "Billing Service" — and --site-name overrides it. The output is plain HTML, CSS, and JS: search, theme toggle, and Mermaid diagrams all work with no server-side code, so you can host it anywhere.
Ask-the-wiki assistant
Run a small local API that grounds a chat widget in your wiki's own content only.
Pass --agent-port 4402 to wikipilot build and the built site's chat widget will call it automatically. If the API lives somewhere else — a Worker, a container, another domain — use --agent-url https://api.example.com/api/chat instead. The wiki itself stays static either way; the assistant is the only part that talks to a server, and the API key never leaves it.
Deploy
Today: host the wiki-dist/ output anywhere that serves static files — GitHub Pages, S3, your own nginx box. Soon: skip that step entirely.
Join the hosted-wiki waitlist →
Next steps
- Star the repo and skim the source — it's a plain TypeScript CLI, nothing exotic.
- Open an issue if a command behaves differently than this guide says — that's a bug in one of us.
- Wire
wikipilot init's scaffolded skill into your normal workflow so the wiki stays synced without a separate chore.