Docusaurus

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

Framework
npm
v3.10.2
66,577 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
93 /100 Excellent
Development Activity 100
Maintenance 96
Community 76
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
88 /100 Excellent
Architecture 92
Code Quality 90
Innovation 88
Learning Curve 80

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

Python
56%
Other

authentik

Authentication · Security

26,076

The self-hosted Identity Provider that replaces Okta, Auth0, and Entra ID with a unified SSO platform supporting SAML, OAuth2/OIDC, LDAP, RADIUS, and WebAuthn.

View details
92
Repo Health
81
Technical
66
Dependency
Built with
Python 56%
TypeScript 35%
Updated 2 days ago
TypeScript
99%
Apache 2.0

Bubble Lab

AI Development · Automation

1,097

Open-core workflow engine for building AI-powered automations in TypeScript that run natively inside Slack — no context switching required.

View details
34
Repo Health
78
Technical
71
Dependency
Built with
TypeScript 99%
Updated 5 months ago
TypeScript
99%
Apache 2.0

Bubble Lab

AI Development · Automation

1,097

Open-core workflow engine for building AI-powered automations in TypeScript that run natively inside Slack — no context switching required.

View details
34
Repo Health
78
Technical
71
Dependency
Built with
TypeScript 99%
Updated 5 months ago
TypeScript
99%
Apache 2.0

Bubble Lab

AI Development · Automation

1,097

Open-core workflow engine for building AI-powered automations in TypeScript that run natively inside Slack — no context switching required.

View details
34
Repo Health
78
Technical
71
Dependency
Built with
TypeScript 99%
Updated 5 months ago
TypeScript
99%
Apache 2.0

Bubble Lab

AI Development · Automation

1,097

Open-core workflow engine for building AI-powered automations in TypeScript that run natively inside Slack — no context switching required.

View details
34
Repo Health
78
Technical
71
Dependency
Built with
TypeScript 99%
Updated 5 months ago
TypeScript
99%
Apache 2.0

Bubble Lab

AI Development · Automation

1,097

Open-core workflow engine for building AI-powered automations in TypeScript that run natively inside Slack — no context switching required.

View details
34
Repo Health
78
Technical
71
Dependency
Built with
TypeScript 99%
Updated 5 months ago
TypeScript
45%
Other

Convex Backend

Databases · Developer Tools

12,754

Open-source reactive database that lets developers build live-updating apps with pure TypeScript, strong consistency, and real-time subscriptions—no separate API layer required.

View details
88
Repo Health
82
Technical
65
Dependency
Built with
TypeScript 45%
Rust 43%
Updated yesterday
TypeScript
45%
Other

Convex Backend

Databases · Developer Tools

12,754

Open-source reactive database that lets developers build live-updating apps with pure TypeScript, strong consistency, and real-time subscriptions—no separate API layer required.

View details
88
Repo Health
82
Technical
65
Dependency
Built with
TypeScript 45%
Rust 43%
Updated yesterday
TypeScript
45%
Other

Convex Backend

Databases · Developer Tools

12,754

Open-source reactive database that lets developers build live-updating apps with pure TypeScript, strong consistency, and real-time subscriptions—no separate API layer required.

View details
88
Repo Health
82
Technical
65
Dependency
Built with
TypeScript 45%
Rust 43%
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