Source: https://seerepo.com/compare/gatsbyjs/gatsby/vs/vercel/next.js
Markdown source: https://seerepo.com/compare/gatsbyjs/gatsby/vs/vercel/next.js.md
Description: gatsby and next.js share 9 technologies: React, Express, react-server-dom-webpack, prop-types, prompts, sharp, styled-jsx, Cheerio, and PostCSS. Both are written in JavaScript.

# gatsby vs next.js

gatsby and next.js share 9 technologies: React, Express, react-server-dom-webpack, prop-types, prompts, sharp, styled-jsx, Cheerio, and PostCSS. Both are written in JavaScript.

- [gatsbyjs/gatsby](https://seerepo.com/r/gatsbyjs/gatsby): React-based framework with performance, scalability, and security built in.
- [vercel/next.js](https://seerepo.com/r/vercel/next.js): The React Framework

## What they share and what sets them apart

- In common: React, Express, react-server-dom-webpack, prop-types, prompts, sharp, styled-jsx, Cheerio, PostCSS
- Only in gatsby: express-graphql, react-reconciler, @gatsbyjs/reach-router, history, cache-manager, graphql-http, GitHub, @emotion/react, Normalize.css, prism-react-renderer, react-error-boundary, react-icons, react-markdown, unist-util-remove, glamor, ink, ink-spinner, unist-util-visit, @mdx-js/react, remark-mdx, remark-parse, remark-stringify, unified, @hapi/joi, enquirer, joi, boxen, progress, @emotion/styled, file-type, graphiql, rss, vfile, gray-matter, mdast-util-mdx, mdast-util-to-hast, mdast-util-toc, styled-components, Autoprefixer, postcss-flexbugs-fixes
- Only in next.js: concurrent-queue, Tokio, scheduler, Next.js, emotion, Tailwind CSS, geist, MUI, react-virtualized, Framer, Headless UI, @heroicons/react, Lucide, js-yaml, image, Ajv, tracing, tracing-subscriber, OpenTelemetry, pino, class-variance-authority, next-themes, tailwind-merge, Radix UI, cmdk, Sass

## Side by side

| | gatsby | next.js |
|---|---|---|
| Size | 344,142 lines written, 2,017 code files | 2,391,614 lines written, 5,697 code files |
| Who writes it | 0% of its commits signed by AI. With GitHub Copilot and Claude Code | 0.8% of its commits signed by AI. With Claude Code, Cursor, GitHub Copilot, and Devin |
| Activity | Last push October 20, 2026, 21,540 commits, 55,919 stars | Last push November 4, 2026, 36,392 commits, 143,262 stars |
| Tests | 1,688 test files. 15.7% of its code files have a test that imports them | 18,587 test files. 6.5% 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 next.js?

next.js, with 2,391,614 lines written; gatsby has 344,142.

The proof: [vercel/next.js's code at commit 97f1a2c](https://github.com/vercel/next.js/tree/97f1a2c8a1deb23cf03855d67f942c0fe3ded1ce)

### Which has more GitHub stars, gatsby or next.js?

next.js, with 143,262 stars; gatsby has 55,919.

The proof: [vercel/next.js on GitHub](https://github.com/vercel/next.js)

### Which has more tests, gatsby or next.js?

next.js, with 18,587 test files; gatsby has 1,688.

The proof: [vercel/next.js's code at commit 97f1a2c](https://github.com/vercel/next.js/tree/97f1a2c8a1deb23cf03855d67f942c0fe3ded1ce)

### Which was updated more recently, gatsby or next.js?

next.js: its last push was on November 4, 2026, and gatsby's on October 20, 2026.

The proof: [vercel/next.js's commits on GitHub](https://github.com/vercel/next.js/commits)

### Which has more commits signed by AI, gatsby or next.js?

next.js: an AI signed 0.8% of its commits, with Claude Code, Cursor, GitHub Copilot, and Devin.

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

## Sources

- gatsbyjs/gatsby: Read on November 5, 2026, at commit 516700a (https://github.com/gatsbyjs/gatsby/tree/516700a1dca1e982b6d098ab57230b25e0318a1f)
- vercel/next.js: Read on November 4, 2026, at commit 97f1a2c (https://github.com/vercel/next.js/tree/97f1a2c8a1deb23cf03855d67f942c0fe3ded1ce)

## 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.
