FeaturesHow it worksIntegrationsPricingGitHubGet started free
Documentation CI — auto-updates on every PR merge

Docs that write themselves.
And stay current.

Point ox4docs at any repo — GitHub, GitLab, or Bitbucket. It reads your code, screenshots your UI, and ships a complete docs site with your choice of LLM — then auto-regenerates on every PR merge.

Free to start·No credit card·GitHub · GitLab · Bitbucket·9 LLM providers

bash — ox4docs
npx ox4docs --repo https://github.com/you/your-project
┌──────────────────────────────────┐
ox4docs v1.4.2 — AI Doc Generator │
└──────────────────────────────────┘
▶ Cloning repository... done
▶ Detecting stack... TypeScript · Node.js
▶ Analyzing 142 source files... done
⠿ Generating overview... done
⠿ Generating getting-started... done
⠿ Generating how-to guides... done
⠿ Generating API reference... done
⠿ Generating FAQ... done
▶ Capturing screenshots... 8 captured
▶ Building Astro Starlight site...
✔ Done in 4m 12s — ./docs/
Run: cd docs && npm i && npm run dev
localhost:4321/docs
Overview
Trusted by developers at
Vercel
Supabase
Stripe Labs
PlanetScale
Liveblocks
Trigger.dev
Neon DB
Upstash
Resend
Infisical
Vercel
Supabase
Stripe Labs
PlanetScale
Liveblocks
Trigger.dev
Neon DB
Upstash
Resend
Infisical

Four steps. Then it runs itself.

Connect once. ox4docs handles generation, hosting, and staying current.

01
🔗

Connect

Link any repo — GitHub, GitLab, or Bitbucket. ox4docs installs a webhook that watches for PR merges — no CI config needed.

GitHub · GitLab · Bitbucket · Any language
02

Generate

Your choice of LLM reads your code and writes sections adapted to your project type. Playwright screenshots your live UI.

9 LLMs · Adaptive sections · Screenshot tours
03
🚀

Ship

A complete Astro Starlight site — SEO-ready, full-text searchable with Pagefind, live in under 90 seconds.

Astro Starlight · Deploy anywhere
04
🔄

Stay current

Every PR merged to main triggers automatic regeneration. Docs are always in sync with your latest code.

Documentation CI · Always in sync

Everything you need. Nothing you don't.

Built for developers who care about quality docs but have actual code to ship.

🔄

Documentation CI

Every PR merged to main triggers automatic regeneration. Your docs are always in sync with your latest code — no manual updates, ever.

🧩

Adaptive Sections

Detects your project type and generates the right sections — API Reference for libraries, CLI Reference for CLIs, Data Models for Prisma/Drizzle apps, and more.

🧠

9 LLM Providers

Claude, OpenAI, Groq, Mistral, Gemini, Together AI, Cohere, Azure, and Ollama. Bring your own key or run 100% locally — zero data leaves your machine.

📸

Screenshot Tours

Playwright captures your live UI across multiple pages and auth flows. Multi-session support for complex apps with different user roles.

🔍

Full-Text Search

Pagefind search built in. Every doc site is fully searchable out of the box — no Algolia account, no extra config, no API bill.

Zero Config

npx ox4docs auto-detects your stack, selects the right sections, picks the right LLM from your env, and ships a production Astro Starlight site.

One command.
A complete docs site.

No YAML to configure. No sidebar to hand-write. ox4docs reads your codebase and writes documentation that reflects what your code actually does — not a generic template.

< 90s
average generation time
8+
adaptive doc sections
9
LLM providers
ox4docs — local mode
ANTHROPIC_API_KEY=sk-ant-... npx ox4docs
▶ Scanning ./src (2,847 files)...
✔ Detected: TypeScript · Next.js · Drizzle ORM
▶ Selecting adaptive sections... 8 selected
⠿ Generating overview... done
⠿ Generating getting-started... done
⠿ Generating data-models... done
⠿ Generating api-reference... done
⠿ Generating deployment... done
▶ Building Astro Starlight site...
✔ Done in 1m 24s → ./docs/
Output: ./docs/ — Astro Starlight
docs/
├── src/content/docs/
│ ├── overview.mdx
│ ├── getting-started.mdx
│ ├── data-models.mdx
│ ├── api-reference.mdx
│ ├── deployment.mdx
│ └── faq.mdx
├── astro.config.mjs
└── package.json

Works with your stack

No vendor lock-in. Bring your own API key. Run entirely locally with Ollama — zero API costs, full privacy.

GitHub

Public & private repos. Webhook auto-install. PR merge triggers regeneration.

✓ Supported
GitLab

Self-managed or GitLab.com. OAuth2 login. Merge request webhook support.

✓ Supported
Bitbucket

Atlassian Bitbucket Cloud. OAuth2 login. Works with any Bitbucket repo.

✓ Supported
LLM Providers — bring your own key
Anthropic

Claude Sonnet & Haiku. Set ANTHROPIC_API_KEY.

OpenAI

GPT-4o and GPT-4 Turbo. Set OPENAI_API_KEY.

Groq

Ultra-fast inference. Llama 3, Mixtral. Set GROQ_API_KEY.

Mistral

Mistral Large & Codestral. Set MISTRAL_API_KEY.

Gemini

Google Gemini 1.5 Pro & Flash. Set GEMINI_API_KEY.

Together AI

70+ open models. Set TOGETHER_API_KEY.

Cohere

Command R+ for RAG-heavy docs. Set COHERE_API_KEY.

Azure OpenAI

Enterprise-grade. Bring your deployment endpoint.

Ollama

100% local. Llama 3, Mistral, any model. Zero API costs.

Provider is auto-detected from environment variables — no configuration file needed.

Developers who ship docs faster

★★★★★

“We had been putting off documentation for six months. I ran ox4docs on our API repo before lunch and had a complete docs site deployed to Vercel by 3pm. It's genuinely good — not generic filler.”

S
Sarah Chen
@schen_dev · Staff Eng, Neon
★★★★★

“The Ollama integration is a game changer. Our internal tools are proprietary — I can't send source code to external APIs. ox4docs with a local Llama 3 model gives us everything without the security concern.”

M
Marcus Osei
@mosei · Platform Eng, fintech
★★★★★

“I open-sourced a library and had zero docs. Pointed ox4docs at the repo and had a proper Starlight site — with an actual API reference — in about four minutes. I've made it a required pre-release step now.”

P
Priya Nair
@priyanair · OSS maintainer

Start free. Scale when you need to.

No seats. No per-page billing. Just straightforward pricing that grows with your team.

Free
Try it out
$0
forever
  • 1 project
  • 5 generations / mo
  • All 9 LLM providers
  • Astro Starlight output
  • Full-text search
  • PR auto-regeneration
  • Custom domains
  • Private repos
Get started →
Starter
Solo devs & OSS
$29/mo
per workspace
  • 3 projects
  • 50 generations / mo
  • All 9 LLM providers
  • Astro Starlight output
  • PR auto-regeneration
  • Screenshot tours
  • Custom domains
  • Private repos
Get started →
Most popular
Pro
Growing teams
$99/mo
per workspace
  • 10 projects
  • 200 generations / mo
  • All 9 LLM providers
  • PR auto-regeneration
  • Custom domains
  • Private repos
  • Priority support
  • API access
Start free trial →
Team
Scaling orgs
$299/mo
per workspace
  • Unlimited projects
  • Unlimited generations
  • All 9 LLM providers
  • PR auto-regeneration
  • Custom domains
  • API access
  • Slack notifications
  • SSO / SAML
Start free trial →
Enterprise
Enterprise
Custom contract
Custom
contact sales
  • Unlimited everything
  • On-premise deployment
  • Dedicated infra
  • SLA & uptime guarantee
  • Custom LLM endpoints
  • SSO / SAML / SCIM
  • Security review
  • Dedicated support
Contact sales →

Docs that write themselves.
And stay current.

Connect your repo, pick your LLM, and ship. Documentation CI handles the rest — on every PR merge.

Generate my docs free →