vercel/next.js
vercel/next.js has 822,157 source lines of code out of 1,017,124 total lines across 8,566 files, counted with tokei from the canary ref at commit 254c50c3fd10 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
vercel/next.js: 822,157 code lines at commit 254c50c3fd10, counted with tokei-15.0.0 on 2026-11-24. Saved result 4656d68ea92986a393481e22e343698d309c267fa27d0b826e700edb431f9a1e.
Source: vercel/next.js on GitHub · counted commit 254c50c3fd10
OctoCounts produced this report by resolving vercel/next.js to commit 254c50c3fd10, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.
Repository size insights
This is a large codebase by counted code lines. Code represents 80.8% of all lines, comments represent 9.5%, and the repository averages 96 code lines per file. Rust accounts for 35.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 1016 | 341315 | 294711 | 15248 | 31356 |
| TypeScript | 2272 | 321908 | 253042 | 39710 | 29156 |
| TSX | 1655 | 102057 | 86924 | 6562 | 8571 |
| JSON | 707 | 63458 | 63445 | 0 | 13 |
| JavaScript | 1446 | 63029 | 53744 | 4184 | 5101 |
| YAML | 37 | 47437 | 39733 | 34 | 7670 |
| CSS | 209 | 19899 | 16917 | 279 | 2703 |
| Sass | 114 | 3544 | 3178 | 87 | 279 |
| Go | 14 | 3640 | 2918 | 509 | 213 |
| SVG | 146 | 2795 | 2793 | 2 | 0 |
| TOML | 76 | 3319 | 2724 | 175 | 420 |
| Shell | 17 | 994 | 670 | 184 | 140 |
| Dockerfile | 10 | 682 | 337 | 198 | 147 |
| JSX | 13 | 316 | 293 | 1 | 22 |
| Python | 1 | 340 | 286 | 6 | 48 |
| XML | 20 | 180 | 180 | 0 | 0 |
| HTML | 11 | 133 | 131 | 1 | 1 |
| PO File | 2 | 76 | 52 | 12 | 12 |
| Makefile | 1 | 35 | 27 | 0 | 8 |
| EdgeQL | 1 | 15 | 15 | 0 | 0 |
| BASH | 1 | 19 | 12 | 4 | 3 |
| EdgeDB Schema Definition | 1 | 11 | 9 | 0 | 2 |
| Batch | 1 | 8 | 7 | 0 | 1 |
| GraphQL | 1 | 7 | 7 | 0 | 0 |
| Stylus | 1 | 2 | 2 | 0 | 0 |
| MDX | 275 | 16870 | 0 | 12208 | 4662 |
| Markdown | 513 | 24812 | 0 | 16564 | 8248 |
| Plain Text | 5 | 223 | 0 | 182 | 41 |
Top language: Rust 35.8%. Generated on .
Counting rules and retention
vercel/next.js: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
Reproduce this report
Report FAQ
How many lines of code does vercel/next.js have?
vercel/next.js has 822,157 lines of code, plus 96,150 comment lines and 98,817 blank lines, for 1,017,124 total lines at commit 254c50c3fd10 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the vercel/next.js line count measured?
OctoCounts resolved the public GitHub repository to commit 254c50c3fd10, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for vercel/next.js?
This OctoCounts report was generated from canary at commit 254c50c3fd10 on November 24, 2026.
Play the growth animation for vercel/next.js on this page — 822,157 code lines across 28 languages, counted by tokei.