withastro/astro

withastro/astro has 131,423 source lines of code out of 223,804 total lines across 1,761 files, counted with tokei from the main ref at commit 9d475f633be1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit 9d475f633be1), withastro/astro contains 223,804 total lines: 131,423 code, 55,590 comments, 36,791 blank, across 1,761 files in 14 languages (top language: TypeScript 67.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit 9d475f633be1), withastro/astro contains 223,804 total lines: 131,423 code, 55,590 comments, 36,791 blank, across 1,761 files in 14 languages (top language: TypeScript 67.6%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving withastro/astro to commit 9d475f633be1, 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 58.7% of all lines, comments represent 24.8%, and the repository averages 75 code lines per file. TypeScript accounts for 67.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
TypeScript1105120975887992075511421
YAML328448260721242252
Astro12470496155194700
JSON2215634563400
JavaScript8644153427528460
CSS125564911748
Sass4431385145
SVG2620420400
TSX11207176625
Svelte4443833
JSX2353203
Vue2131003

Top language: TypeScript 67.6%. Generated on .

Counting rules and retention

withastro/astro: 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 withastro/astro have?

withastro/astro has 131,423 lines of code, plus 55,590 comment lines and 36,791 blank lines, for 223,804 total lines at commit 9d475f633be1 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the withastro/astro line count measured?

OctoCounts resolved the public GitHub repository to commit 9d475f633be1, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for withastro/astro?

This OctoCounts report was generated from main at commit 9d475f633be1 on November 16, 2026.

Play the growth animation for withastro/astro on this page — 131,423 code lines across 14 languages, counted by tokei.