Skip to content

clauduxYour docs write themselves

AI-assisted documentation generator that analyzes your codebase and updates navigable docs with your code

Quick Start

bash
# Install globally
npm install -g claudux

# Generate docs for your project
cd your-project
claudux update

# Preview locally  
claudux serve  # http://localhost:5173

See It In Action

claudux update terminal session

The Problem Every Developer Knows

Documentation debt is killing your productivity. You ship features, but docs lag behind. New team members struggle to onboard. You spend weekends writing docs instead of building.

How It Works

Claudux uses a two-phase flow to produce reliable docs:

  1. 🧠 Plan: Analyze source code and produce a navigable outline + VitePress config
  2. ✍️ Write: Generate pages with correct links, breadcrumbs, and cross-references

Commands Overview

CommandPurpose
clauduxInteractive menu (adapts to project state)
claudux updateGenerate/update docs (includes cleanup and validation)
claudux update -m "..."Update with a focused directive
claudux serveStart dev server at localhost:5173
claudux diffFiles changed since last doc generation
claudux statusDocumentation freshness and last run details
claudux validateCheck all internal links without regenerating
claudux recreateStart fresh (delete all docs)
claudux checkEnvironment diagnostics
claudux templateGenerate claudux.md (docs preferences)
claudux --versionShow installed version
claudux --helpShow help and usage

Multi-Backend Support

claudux supports multiple AI backends. Claude is the default; Codex is available as an alternative via the CLAUDUX_BACKEND environment variable.

bash
# Default -- uses Claude
claudux update

# Use Codex instead
CLAUDUX_BACKEND=codex claudux update

Requirements


Keep your docs as fresh as your code.
📦 Install from npm⭐ Star on GitHub

Generated with claudux