withastro/astro
withastro/astro has 131,939 source lines of code out of 224,631 total lines across 1,765 files, counted with tokei from the main ref at commit 28a925e016fa on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
withastro/astro: 131,939 code lines at commit 28a925e016fa, counted with tokei-15.0.0 on 2026-11-23. Saved result cf303d0f57953cafb7b2605410e1abb27cba76caa5be9c2f854cfa3ec3a4db2c.
Source: withastro/astro on GitHub · counted commit 28a925e016fa
OctoCounts produced this report by resolving withastro/astro to commit 28a925e016fa, 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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 1109 | 121598 | 89182 | 20944 | 11472 |
| YAML | 3 | 28598 | 26212 | 125 | 2261 |
| Astro | 124 | 7049 | 6155 | 194 | 700 |
| JSON | 221 | 5626 | 5626 | 0 | 0 |
| JavaScript | 86 | 4413 | 3426 | 527 | 460 |
| CSS | 12 | 556 | 491 | 17 | 48 |
| Sass | 4 | 431 | 385 | 1 | 45 |
| SVG | 26 | 204 | 204 | 0 | 0 |
| TSX | 11 | 209 | 178 | 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 | 55768 | 0 | 33933 | 21835 |
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
Report FAQ
How many lines of code does withastro/astro have?
withastro/astro has 131,939 lines of code, plus 55,811 comment lines and 36,881 blank lines, for 224,631 total lines at commit 28a925e016fa on November 23, 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 28a925e016fa, 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 28a925e016fa on November 23, 2026.
Play the growth animation for withastro/astro on this page — 131,939 code lines across 14 languages, counted by tokei.