Doca

By Daniel Chiwuzoh

Doca

Live

Doca is an LLM-powered documentation generator that turns a codebase into living, browsable docs. It ships as three pieces — a CLI, a REST API with a background generation worker, and a Vue web dashboard — built as a single TypeScript monorepo.

The CLI scans your repository, computes SHA-256 hashes for each file, and diffs them against the last snapshot on the server. Only changed files are uploaded, and only the directories that actually changed get their docs regenerated, so updates stay fast and cheap. Generation itself is delegated to Ofuma's prompt-execution API, which runs the documentation prompt per directory and upserts the resulting markdown back into the docs.

  • CLI, API and web UI from one TypeScript monorepo.
  • Diff-based incremental updates — only regenerates directories with changes.
  • Documentation generated from source via Ofuma's prompt API.
  • CI/CD friendly: auto-detects GitHub Actions, GitLab CI and others.
  • Versioned docs with a sidebar, version switcher and full-text search.

Deployed on Hetzner with Docker Compose and Caddy for automatic HTTPS.