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.

Read it as markdown

What they share and what sets them apart

gatsbyjs

gatsby

React-based framework with performance, scalability, and security built in.

JavaScript55.9kRead on November 5, 2026, at commit 516700aWhat is gatsby built with?

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

In common

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
gatsby344,142 lines written2,017 code files
next.js2,391,614 lines written5,697 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.
gatsby0% of its commits signed by AIWith GitHub Copilot and Claude Code
next.js0.8% of its commits signed by AIWith Claude Code, Cursor, GitHub Copilot, and Devin
ActivityFrom GitHub and its history, on the day SeeRepo read it.
gatsbyLast push October 20, 202621,540 commits55,919 stars
next.jsLast push November 4, 202636,392 commits143,262 stars
TestsThe files that test the code, and the share of code files a test imports.
gatsby1,688 test files15.7% of its code files have a test that imports them
next.js18,587 test files6.5% of its code files have a test that imports them

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

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

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

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

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

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 →