Docusaurus

React-based static site generator for building fast, maintainable documentation websites.

Framework
npm
v3.10.2
66,183stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
92/100Excellent
Development Activity96
Maintenance96
Community76
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
88/100Excellent
Architecture92
Code Quality90
Innovation88
Learning Curve80

Docusaurus is an open-source static site generator built by Meta that turns Markdown and MDX content into fast, production-ready documentation websites. It bundles routing, theming, versioning, search, and internationalization behind a plugin-and-preset architecture, so teams can focus on writing content instead of wiring up a build pipeline.

The @docusaurus/core package is the engine at the center of that ecosystem: it owns the CLI, the dev server, the static-site-generation pipeline, and the webpack/SSR build, orchestrating the plugins, themes, and presets that render the final site.

What You Get

  • A CLI for developing, building, deploying, and swizzling your documentation site
  • A hot-reloading development server with fast refresh for content and components
  • A static-site-generation pipeline that pre-renders routes to HTML with client-side hydration
  • A plugin, preset, and theme system for docs, blogs, versioning, search, and i18n
  • First-class MDX support so you can embed React components directly in Markdown

Common Use Cases

  • Building and hosting open-source project documentation
  • Publishing versioned API and product documentation
  • Running a company engineering blog or changelog alongside docs
  • Creating localized, multi-language documentation sites
  • Standing up a marketing or landing site backed by Markdown content

Under The Hood

Architecture — The core boots from the bin/docusaurus.mjs entry point into a Commander-based CLI (src/commands/cli.ts) that dispatches to start, build, deploy, serve, swizzle, and translation commands. src/server loads and validates docusaurus.config, resolves the plugin/preset/theme graph, and runs each plugin’s lifecycle (loadContent -> contentLoaded -> route creation), emitting generated code via src/server/codegen. The src/ssg pipeline then statically renders every route to HTML, while src/webpack builds separate client and server bundles that hydrate on the browser; src/client supplies the runtime, router, and theme fallbacks.

Tech Stack — Written in TypeScript (~96% of the repo) targeting Node.js, using React 18/19 for rendering, webpack 5 for bundling, and MDX for content compilation. Core dependencies include Commander for the CLI, react-router for routing, react-helmet-async for head management, boxen/chalk/cli-table3 for terminal output, eta for templating, and fs-extra for filesystem work. The repo is a pnpm + Lerna monorepo of ~40 scoped @docusaurus/* packages.

Code Quality — Strong. The monorepo carries roughly 185 test files exercised with Vitest, alongside strict TypeScript configs, ESLint, Prettier, and Argos visual regression testing. Core logic is organized into cohesive server, ssg, webpack, babel, and client layers with __tests__ directories co-located throughout, and typed public contracts live in the dedicated @docusaurus/types package.

API Design — The user-facing surface is deliberately small: most projects only touch docusaurus.config.js, the CLI, and content files, with presets bundling sensible defaults so a new site works out of the box. Plugin and theme authors get a well-documented lifecycle API and a swizzle command for safely ejecting and customizing theme components. Documentation is extensive and versioned on docusaurus.io, which keeps the learning curve gentle for site authors even though the internal build is sophisticated.

Used by 238 apps in this directory

TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,593

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated today
TypeScript
60%
Other

agenta

Developer Tools · Devops · AI Development

4,706

The open-source LLMOps platform unifying prompt engineering, evaluation, and observability for teams building reliable LLM applications.

View details
91
Repo Health
77
Technical
67
Dependency
Built with
TypeScript60%
Python38%
Updated yesterday

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search