This page compares the source lines of code (SLOC) of vercel/next.js and remix-run/react-router using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-09-08, vercel/next.js contains 888,801 total lines (717,794 code) across 8,045 files, while remix-run/react-router contains 146,558 total lines (103,560 code) across 682 files as of 2026-09-07. vercel/next.js is about 6.9x the size of remix-run/react-router by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | vercel/next.js | remix-run/react-router |
|---|---|---|
| Files | 8,045 | 682 |
| Total lines | 888,801 | 146,558 |
| Code lines | 717,794 | 103,560 |
| Comment lines | 82,809 | 24,530 |
| Blank lines | 88,198 | 18,468 |
| Languages counted | 12 | 12 |
Top languages in vercel/next.js: Rust (33.7% of code), TypeScript (30.4% of code), TSX (11.1% of code). Top languages in remix-run/react-router: TypeScript (72.6% of code), YAML (14.1% of code), TSX (9.6% of code). TypeScript, TSX, JSON, JavaScript appear in both top language lists; Rust appears only in vercel/next.js's top languages; YAML appears only in remix-run/react-router's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. vercel/next.js was counted at ref canary (commit 969733cfb701) on 2026-09-08; remix-run/react-router was counted at ref main (commit 7aea711dd1ae) on 2026-09-07. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
vercel/next.js has more code: 717,794 code lines versus 103,560 for remix-run/react-router, about 6.9x as much, based on cached OctoCounts reports as of 2026-09-08.
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for vercel/next.js, remix-run/react-router, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. vercel/next.js was counted at ref canary (commit 969733cfb701) on 2026-09-08; remix-run/react-router was counted at ref main (commit 7aea711dd1ae) on 2026-09-07. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.