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.
withastro/astro: 131,423 code lines at commit 9d475f633be1, counted with tokei-15.0.0 on 2026-11-16. Saved result 5e07538ecaf8d65ff815ccb47eb79eb880e239290503d9acb8a57b80f12befc6.
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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 1105 | 120975 | 88799 | 20755 | 11421 |
| YAML | 3 | 28448 | 26072 | 124 | 2252 |
| Astro | 124 | 7049 | 6155 | 194 | 700 |
| JSON | 221 | 5634 | 5634 | 0 | 0 |
| JavaScript | 86 | 4415 | 3427 | 528 | 460 |
| CSS | 12 | 556 | 491 | 17 | 48 |
| Sass | 4 | 431 | 385 | 1 | 45 |
| SVG | 26 | 204 | 204 | 0 | 0 |
| TSX | 11 | 207 | 176 | 6 | 25 |
| Svelte | 4 | 44 | 38 | 3 | 3 |
| JSX | 2 | 35 | 32 | 0 | 3 |
| Vue | 2 | 13 | 10 | 0 | 3 |
| MDX | 4 | 87 | 0 | 61 | 26 |
| Markdown | 157 | 55706 | 0 | 33901 | 21805 |
Top language: TypeScript 67.6%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit 9d475f633be1 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for withastro/astro on this page — 131,423 code lines across 14 languages, counted by tokei.