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.

Read it as markdown

What they share and what sets them apart

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

In common

withastro

astro

The web framework for content-driven websites.

TypeScript63.7kRead on November 5, 2026, at commit ff1e2fbWhat is astro built with?

Only in astro

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
mdx12,274 lines written46 code files
astro293,247 lines written1,041 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
mdx0% of its commits signed by AI
astro0.2% of its commits signed by AIWith Claude Code, GitHub Copilot, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
mdxLast push November 4, 20261,720 commits19,851 stars
astroLast push November 5, 202615,157 commits63,732 stars
TestsThe files that test the code, and the share of code files a test imports.
mdx18 test files19.6% of its code files have a test that imports them
astro3,163 test files4.4% of its code files have a test that imports them

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

Which has more GitHub stars, mdx or astro?
astro, with 63,732 stars; mdx has 19,851.

The proof: withastro/astro on GitHub

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

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

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

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →