Source: https://seerepo.com/compare/gatsbyjs/gatsby/vs/withastro/astro
Markdown source: https://seerepo.com/compare/gatsbyjs/gatsby/vs/withastro/astro.md
Description: gatsby and astro share 9 technologies: React, Express, unist-util-visit, remark-parse, unified, vfile, mdast-util-mdx, sharp, and Cheerio. gatsby is written in JavaScript and astro in TypeScript.

# gatsby vs astro

gatsby and astro share 9 technologies: React, Express, unist-util-visit, remark-parse, unified, vfile, mdast-util-mdx, sharp, and Cheerio. gatsby is written in JavaScript and astro in TypeScript.

- [gatsbyjs/gatsby](https://seerepo.com/r/gatsbyjs/gatsby): React-based framework with performance, scalability, and security built in.
- [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, Express, unist-util-visit, remark-parse, unified, vfile, mdast-util-mdx, sharp, Cheerio
- Only in gatsby: express-graphql, react-reconciler, @gatsbyjs/reach-router, history, cache-manager, graphql-http, react-server-dom-webpack, GitHub, @emotion/react, Normalize.css, prism-react-renderer, react-error-boundary, react-icons, react-markdown, unist-util-remove, prop-types, glamor, ink, ink-spinner, @mdx-js/react, remark-mdx, remark-stringify, @hapi/joi, enquirer, joi, boxen, progress, prompts, @emotion/styled, file-type, graphiql, rss, gray-matter, mdast-util-to-hast, mdast-util-toc, styled-components, styled-jsx, Autoprefixer, PostCSS, postcss-flexbugs-fixes
- Only in astro: Vite, Hono, Fastify, Preact, preact-render-to-string, Solid, Svelte, Vue, prismjs, fast-xml-parser, xml2js, Zod, @clack/prompts, parse-srcset, shiki, linkedom, htmlparser2, satteri, @shikijs/rehype, rehype-mathjax, rehype-pretty-code, remark-math, remark-toc, Netlify, Vercel, yaml, mdast-util-mdx-jsx, rehype-raw, remark-gfm, remark-smartypants, hast-util-to-html, hast-util-to-text, rehype-stringify, remark, unist-util-visit-parents

## Side by side

| | gatsby | astro |
|---|---|---|
| Size | 344,142 lines written, 2,017 code files | 293,247 lines written, 1,041 code files |
| Who writes it | 0% of its commits signed by AI. With GitHub Copilot and Claude Code | 0.2% of its commits signed by AI. With Claude Code, GitHub Copilot, and Cursor |
| Activity | Last push October 20, 2026, 21,540 commits, 55,919 stars | Last push November 5, 2026, 15,157 commits, 63,732 stars |
| Tests | 1,688 test files. 15.7% 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, gatsby or astro?

gatsby, with 344,142 lines written; astro has 293,247.

The proof: [gatsbyjs/gatsby's code at commit 516700a](https://github.com/gatsbyjs/gatsby/tree/516700a1dca1e982b6d098ab57230b25e0318a1f)

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

astro, with 63,732 stars; gatsby has 55,919.

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

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

astro, with 3,163 test files; gatsby has 1,688.

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

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

astro: its last push was on November 5, 2026, and gatsby's on October 20, 2026.

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

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

- gatsbyjs/gatsby: Read on November 5, 2026, at commit 516700a (https://github.com/gatsbyjs/gatsby/tree/516700a1dca1e982b6d098ab57230b25e0318a1f)
- 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.
