https://github.com/shuding/nextra
Simple, powerful and flexible site generation framework with everything you love from Next.js.
https://github.com/shuding/nextra
markdown mdx nextjs nextra react static-site-generator
Last synced: 15 days ago
JSON representation
Simple, powerful and flexible site generation framework with everything you love from Next.js.
- Host: GitHub
- URL: https://github.com/shuding/nextra
- Owner: shuding
- License: mit
- Created: 2020-06-15T16:39:34.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-05T10:52:37.000Z (23 days ago)
- Last Synced: 2025-05-05T14:21:25.048Z (23 days ago)
- Topics: markdown, mdx, nextjs, nextra, react, static-site-generator
- Language: TypeScript
- Homepage: https://nextra.site
- Size: 34 MB
- Stars: 12,699
- Watchers: 39
- Forks: 1,354
- Open Issues: 231
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- my-awesome-list - nextra
- Awesome - Nextra - Nextra is a Next.js and MDX powered, no-code site generator. (Development / Programming)
- awesome - shuding/nextra - Simple, powerful and flexible site generation framework with everything you love from Next.js. (TypeScript)
- awesome - shuding/nextra - Simple, powerful and flexible site generation framework with everything you love from Next.js. (TypeScript)
- awesome-ccamel - shuding/nextra - Simple, powerful and flexible site generation framework with everything you love from Next.js. (TypeScript)
- awesome-github-repos - shuding/nextra - Simple, powerful and flexible site generation framework with everything you love from Next.js. (TypeScript)
- awesome-repositories - shuding/nextra - Simple, powerful and flexible site generation framework with everything you love from Next.js. (TypeScript)
- Awesome-NextJs - nextra - [demo](https://nextra.vercel.app/) (Nextjs Templates)
- awesome-docs - Nextra
- stars - nextra
- stars - nextra
- awesome-starred - shuding/nextra - Simple, powerful and flexible site generation framework with everything you love from Next.js. (react)
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](https://pnpm.io/workspaces) and
[Turborepo](https://github.com/vercel/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](https://github.com/nodejs/corepack?tab=readme-ov-file#manual-installs).2. Run `pnpm install` to install the project's dependencies.
### Build `nextra`
```bash
pnpm --filter nextra build
```Watch mode: `pnpm --filter nextra dev`
### Build `nextra-theme-docs`
```bash
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```bash
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