Nextra

Next.js-powered static site generator for docs, blogs, and content sites

Framework
npm
v4.6.1
13,928 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
62 /100 Good
Development Activity 24
Maintenance 48
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 →
75 /100 Good
Architecture 78
Code Quality 76
Innovation 74
Learning Curve 72

Nextra is a site-generation framework built on top of Next.js that turns MDX and Markdown files into fully featured static sites, most commonly documentation and blogs. It handles file-based routing, a _meta config layer for sidebar/navigation structure, full-text search, and MDX component embedding, while delegating the actual React rendering and build pipeline to Next.js itself.

The project ships as a monorepo of packages: the core nextra package provides the content pipeline and low-level APIs, while companion themes like nextra-theme-docs and nextra-theme-blog supply ready-made, themeable layouts so teams can go from a folder of Markdown files to a polished, searchable site without building UI from scratch.

What You Get

  • File-based routing and _meta.js/_meta.json driven sidebar and navigation structure
  • Full MDX support so React components can be embedded directly in content
  • Built-in full-text search integration for documentation sites
  • Prebuilt, themeable layouts via nextra-theme-docs and nextra-theme-blog
  • Static generation compatible with Next.js’s build and deployment pipeline

Common Use Cases

  • Building a product or open-source documentation site from a folder of MDX files
  • Publishing a technical blog with Markdown content and custom React components embedded inline
  • Standing up an internal knowledge base or API reference site with search and versioned navigation
  • Replacing a heavier docs framework with a lighter Next.js-native alternative that reuses existing React/Tailwind tooling

Under The Hood

Architecture - Nextra is a pnpm/Turborepo monorepo (packages/nextra, packages/nextra-theme-docs, packages/nextra-theme-blog, plus internal eslint-config/prettier-config/tsdoc packages) where the core nextra package is split into a server pipeline (packages/nextra/src/server) that compiles MDX/Markdown into page data and a client runtime (packages/nextra/src/client) that renders components, hooks, and icons consumed by the theme packages. Tech Stack - Written in TypeScript on top of Next.js and MDX, using Turborepo to orchestrate builds across the workspace and Renovate for automated dependency updates; the core exposes subpath exports like nextra/components and nextra/hooks compiled to ESM-only output. Code Quality - The monorepo has around 22 test files exercising server-side content processing and client components, over 2,300 total commits, and roughly 100 tagged releases including a disciplined alpha-prerelease channel ahead of stable cuts, indicating active regression testing before shipping. API Design - Authors mostly interact with Nextra through Markdown/MDX files and _meta config rather than JavaScript APIs, keeping the day-to-day authoring surface minimal, while the underlying nextra package exposes typed subpath exports for teams that want to build custom themes or extend the default docs/blog themes.

Used by 16 apps in this directory

Rust
52%
Other

Jan

AI Assistants

44,680

Run LLMs 100% locally with full privacy, or connect to cloud AI — your machine, your data, your control.

View details
90
Repo Health
81
Technical
65
Dependency
Built with
Rust 52%
TypeScript 44%
Updated 1 weeks ago
Python
51%
AGPL 3.0

LearnHouse

CMS · Learning Management

2,301

Open-source LMS with AI tutoring, real-time collaboration boards, live code execution, and built-in course monetization — self-hosted in minutes.

View details
90
Repo Health
77
Technical
66
Dependency
Built with
Python 51%
TypeScript 48%
Updated 1 weeks ago
Python
51%
AGPL 3.0

LearnHouse

CMS · Learning Management

2,301

Open-source LMS with AI tutoring, real-time collaboration boards, live code execution, and built-in course monetization — self-hosted in minutes.

View details
90
Repo Health
77
Technical
66
Dependency
Built with
Python 51%
TypeScript 48%
Updated 1 weeks ago
TypeScript
99%
MIT

React Cosmos

Developer Tools

8,686

An open-source sandbox for developing and testing React and React Native UI components in isolation, with pluggable bundler support for Vite and Webpack.

View details
74
Repo Health
69
Technical
73
Dependency
Built with
TypeScript 99%
Updated 2 weeks ago
TypeScript
99%
MIT

React Cosmos

Developer Tools

8,686

An open-source sandbox for developing and testing React and React Native UI components in isolation, with pluggable bundler support for Vite and Webpack.

View details
74
Repo Health
69
Technical
73
Dependency
Built with
TypeScript 99%
Updated 2 weeks ago
TypeScript
95%
MIT

sigle

Blogging

489

A decentralized, open-source writing platform that permanently stores your stories on the Stacks blockchain and Arweave — where Web3 content creators own their words forever.

View details
81
Repo Health
78
Technical
69
Dependency
Built with
TypeScript 95%
Updated 1 weeks ago
TypeScript
95%
MIT

sigle

Blogging

489

A decentralized, open-source writing platform that permanently stores your stories on the Stacks blockchain and Arweave — where Web3 content creators own their words forever.

View details
81
Repo Health
78
Technical
69
Dependency
Built with
TypeScript 95%
Updated 1 weeks ago

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