Source: https://seerepo.com/compare/mdx-js/mdx/vs/withastro/astro
Markdown source: https://seerepo.com/compare/mdx-js/mdx/vs/withastro/astro.md
Description: mdx and astro share 18 technologies: React, Preact, preact-render-to-string, Vite, Vue, rehype-stringify, unified, vfile, hast-util-to-html, hast-util-to-text, rehype-raw, remark-gfm, remark-math, remark-toc, unist-util-visit, remark, remark-parse, and mdast-util-mdx. mdx is written in JavaScript and astro in TypeScript.

# mdx vs astro

mdx and astro share 18 technologies: React, Preact, preact-render-to-string, Vite, Vue, rehype-stringify, unified, vfile, hast-util-to-html, hast-util-to-text, rehype-raw, remark-gfm, remark-math, remark-toc, unist-util-visit, remark, remark-parse, and mdast-util-mdx. mdx is written in JavaScript and astro in TypeScript.

- [mdx-js/mdx](https://seerepo.com/r/mdx-js/mdx): Markdown for the component era
- [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, Preact, preact-render-to-string, Vite, Vue, rehype-stringify, unified, vfile, hast-util-to-html, hast-util-to-text, rehype-raw, remark-gfm, remark-math, remark-toc, unist-util-visit, remark, remark-parse, mdast-util-mdx
- Only in mdx: @vue/server-renderer, @floating-ui/dom, react-error-boundary, hastscript, hast-util-sanitize, hast-util-select, xast-util-to-xml, hast-util-from-html, hast-util-to-jsx-runtime, rehype-autolink-headings, rehype-infer-description-meta, rehype-parse, rehype-slug, remark-directive, remark-frontmatter, remark-gemoji, remark-github, remark-mdx-frontmatter, unist-util-remove-position, @sparticuz/chromium, rehype-katex, micromark-extension-mdxjs, remark-stringify
- Only in astro: Hono, Express, Fastify, Solid, Svelte, prismjs, fast-xml-parser, xml2js, Zod, @clack/prompts, Cheerio, parse-srcset, shiki, sharp, linkedom, htmlparser2, satteri, @shikijs/rehype, rehype-mathjax, rehype-pretty-code, Netlify, Vercel, yaml, mdast-util-mdx-jsx, remark-smartypants, unist-util-visit-parents

## Side by side

| | mdx | astro |
|---|---|---|
| Size | 12,274 lines written, 46 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 November 4, 2026, 1,720 commits, 19,851 stars | Last push November 5, 2026, 15,157 commits, 63,732 stars |
| Tests | 18 test files. 19.6% 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, mdx or astro?

astro, with 293,247 lines written; mdx has 12,274.

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

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

astro, with 63,732 stars; mdx has 19,851.

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

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

astro, with 3,163 test files; mdx has 18.

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

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

astro: its last push was on November 5, 2026, and mdx's on November 4, 2026.

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

### Which has more commits signed by AI, mdx 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

- mdx-js/mdx: Read on November 5, 2026, at commit 52285a6 (https://github.com/mdx-js/mdx/tree/52285a6758fa078ec57f3d4bd8803d9cbfb12065)
- 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.
