Skip to content

DOKAI

Local-first documentation, added to any repo with one command.

On npmOpen source · MIT licence · published on npm
Role
Creator and maintainer
When
Jun 2026
Context
Open source · MIT licence · published on npm
npm

2,300+ downloads on npm

All time, updated daily.
The DOKAI documentation UI running on localhost: sidebar with Architecture and APIs sections, search, and an editable page.

DOKAI installs into any repository with one command and serves a documentation UI on localhost: a rich-text editor, full-text search, Mermaid diagrams and an OpenAPI explorer, with no external service. AI-agent slash commands write the docs from the codebase and keep them current.

What I did

  • Built and published a local-first documentation tool that installs into any repository with one command and serves a documentation UI on localhost, with no external service dependency.
  • Developed the React/Vite interface: editor, full-text search, Mermaid rendering, light and dark themes, EN/FR localization.
  • Structured the codebase as a pnpm + Turborepo monorepo publishing four npm packages (CLI, engine, UI, AI-agent assets), and integrated AI-agent slash commands so documentation is generated and kept current directly from the codebase.
All projects