Source: https://seerepo.com/compare/shuding/nextra/vs/withastro/astro
Markdown source: https://seerepo.com/compare/shuding/nextra/vs/withastro/astro.md
Description: nextra and astro share 11 technologies: React, Zod, unist-util-visit, rehype-pretty-code, mdast-util-mdx-jsx, remark-math, shiki, rehype-raw, remark-gfm, remark-smartypants, and yaml. Both are written in TypeScript.

# nextra vs astro

nextra and astro share 11 technologies: React, Zod, unist-util-visit, rehype-pretty-code, mdast-util-mdx-jsx, remark-math, shiki, rehype-raw, remark-gfm, remark-smartypants, and yaml. Both are written in TypeScript.

- [shuding/nextra](https://seerepo.com/r/shuding/nextra): Simple, powerful and flexible site generation framework with everything you love from Next.js.
- [withastro/astro](https://seerepo.com/r/withastro/astro): The web framework for content-driven websites.

## What they share and what sets them apart

- In common: React, Zod, unist-util-visit, rehype-pretty-code, mdast-util-mdx-jsx, remark-math, shiki, rehype-raw, remark-gfm, remark-smartypants, yaml
- Only in nextra: Next.js, Tailwind CSS, next-themes, scroll-into-view-if-needed, Headless UI, better-react-mathjax, react-medium-image-zoom, mdast-util-mdxjs-esm, @theguild/remark-mermaid, rehype-katex, remark-frontmatter, unist-util-remove, mdast-util-from-markdown, mdast-util-gfm, mdast-util-to-hast
- Only in astro: Vite, Hono, Express, Fastify, Preact, preact-render-to-string, Solid, Svelte, Vue, prismjs, fast-xml-parser, xml2js, @clack/prompts, Cheerio, parse-srcset, sharp, linkedom, htmlparser2, satteri, @shikijs/rehype, rehype-mathjax, remark-toc, unified, Netlify, Vercel, vfile, mdast-util-mdx, hast-util-to-html, hast-util-to-text, rehype-stringify, remark, remark-parse, unist-util-visit-parents

## Side by side

| | nextra | astro |
|---|---|---|
| Size | 23,757 lines written, 153 code files | 293,247 lines written, 1,041 code files |
| Who writes it | 0% of its commits signed by AI | 0.2% of its commits signed by AI. With Claude Code, GitHub Copilot, and Cursor |
| Activity | Last push July 31, 2026, 2,182 commits, 13,951 stars | Last push November 5, 2026, 15,157 commits, 63,732 stars |
| Tests | 56 test files. 15% of its code files have a test that imports them | 3,163 test files. 4.4% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, nextra or astro?

astro, with 293,247 lines written; nextra has 23,757.

The proof: [withastro/astro's code at commit ff1e2fb](https://github.com/withastro/astro/tree/ff1e2fb2f908d637e6b60a293c26db552c88f562)

### Which has more GitHub stars, nextra or astro?

astro, with 63,732 stars; nextra has 13,951.

The proof: [withastro/astro on GitHub](https://github.com/withastro/astro)

### Which has more tests, nextra or astro?

astro, with 3,163 test files; nextra has 56.

The proof: [withastro/astro's code at commit ff1e2fb](https://github.com/withastro/astro/tree/ff1e2fb2f908d637e6b60a293c26db552c88f562)

### Which was updated more recently, nextra or astro?

astro: its last push was on November 5, 2026, and nextra's on July 31, 2026.

The proof: [withastro/astro's commits on GitHub](https://github.com/withastro/astro/commits)

### Which has more commits signed by AI, nextra or astro?

astro: an AI signed 0.2% of its commits, with Claude Code, GitHub Copilot, and Cursor.

The proof: [the commits each tool signed in withastro/astro](https://seerepo.com/r/withastro/astro/ai)

## Sources

- shuding/nextra: Read on November 9, 2026, at commit d6e80e1 (https://github.com/shuding/nextra/tree/d6e80e1dd627b781429a6ee989b15ebba688c8ea)
- withastro/astro: Read on November 5, 2026, at commit ff1e2fb (https://github.com/withastro/astro/tree/ff1e2fb2f908d637e6b60a293c26db552c88f562)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
