A local-first CLI that generates a wiki-style report for your codebase.
- Interactive CLI:
wikiopens a simple menu (run,report,profile,config). - Project archiving: generated reports are saved under your user config directory.
- Incremental mode: can reuse the latest archived report as input.
- Tool-using agent: the agent explores your repo via tools (
listDirectory,readFile,renderMermaid).
Requirements:
- Node.js (ESM)
- pnpm (recommended)
Install globally:
npm i -g litewiki
# or
pnpm add -g litewikiThen run:
wikipnpm install
pnpm buildThen run the CLI:
pnpm -s build
node dist/index.jsOr link it locally (optional):
pnpm link --global
wiki- Create an AI config:
wiki configYou will be asked for:
provider:openai | anthropic | google | custom(onlyopenaiworks for now)modelbaseUrlkey
- Run:
wiki run .We intentionally flatten providers to:
provider: "openai" | "anthropic" | "google" | "custom"- Supported:
openai - Not supported yet (but selectable in UI):
anthropic,google,custom
See: docs/providers.md
wiki: interactive menuwiki run [dir]: analyze a directorywiki profiles: manage prompt profileswiki reports: view/delete archived reportswiki config: manage AI configs
pnpm test
pnpm lint
pnpm format
pnpm build
pnpm devIf you're using a coding agent (Cursor/Copilot/etc.), see: AGENTS.md
ISC © Carbon