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.

LanguageFilesLinesCodeCommentsBlanks
Rust10163413152947111524831356
TypeScript22723219082530423971029156
TSX16551020578692465628571
JSON7076345863445013
JavaScript1446630295374441845101
YAML374743739733347670
CSS20919899169172792703
Sass1143544317887279
Go1436402918509213
SVG1462795279320
TOML7633192724175420
Shell17994670184140
Dockerfile10682337198147
JSX13316293122
Python1340286648
XML2018018000
HTML1113313111
PO File276521212
Makefile1352708
EdgeQL1151500
BASH1191243
EdgeDB Schema Definition111902
Batch18701
GraphQL17700
Stylus12200
MDX275168700122084662
Markdown513248120165648248
Plain Text5223018241

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

Reproduce this exact report and configuration.

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.