shuding/nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.

TypeScript

13,933

2,061 commits

updated Jul 31, 2026

See the code

README

Nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.

Documentation

https://nextra.site

Development

Installation

The Nextra repository uses PNPM Workspaces and Turborepo.

  1. Run corepack enable to enable Corepack.

    If the command above fails, run npm install -g corepack@latest to install the latest version of Corepack.

  2. Run pnpm install to install the project's dependencies.

Build nextra

pnpm --filter nextra build

Watch mode: pnpm --filter nextra dev

Build nextra-theme-docs

pnpm --filter nextra-theme-docs build

Development

You can also debug them together with a website locally. For instance, to start examples/docs locally, run

pnpm --filter example-docs dev

Any change to example/docs will be re-rendered instantly.

If you update the core or theme packages, a rebuild is required. Or you can use the watch mode for both Nextra and the theme in separated terminals.

Sponsors

markdown
mdx
nextjs
nextra
react
static-site-generator

shuding/nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.

TypeScript

13,933

2,061 commits

updated Jul 31, 2026

See the code

README

Nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.

Documentation

https://nextra.site

Development

Installation

The Nextra repository uses PNPM Workspaces and Turborepo.

  1. Run corepack enable to enable Corepack.

    If the command above fails, run npm install -g corepack@latest to install the latest version of Corepack.

  2. Run pnpm install to install the project's dependencies.

Build nextra

pnpm --filter nextra build

Watch mode: pnpm --filter nextra dev

Build nextra-theme-docs

pnpm --filter nextra-theme-docs build

Development

You can also debug them together with a website locally. For instance, to start examples/docs locally, run

pnpm --filter example-docs dev

Any change to example/docs will be re-rendered instantly.

If you update the core or theme packages, a rebuild is required. Or you can use the watch mode for both Nextra and the theme in separated terminals.

Sponsors

markdown
mdx
nextjs
nextra
react
static-site-generator

Project health

Overall

3.2/10

Maintained

0/10

Code review

5/10
OpenSSF Scorecard

Latest release

4.6.1 · Dec 4, 2025

Releases this year

1

Significant stargazers

(top 24 of 174)

Jon Schlinkert

4,971 followers · starred Oct 2023

Blake Embrey

1,937 followers · starred May 2021

Adem ilter

3,226 followers · starred Jul 2020

Anton Medvedev

3,232 followers · starred Dec 2022