withastro/astro has 128,481 source lines of code out of 218,326 total lines across 1,606 files, counted from the main ref at commit 8ea79a282e53 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-21 (commit 8ea79a282e53), withastro/astro contains 218,326 total lines: 128,481 code, 53,877 comments, 35,968 blank, across 1,606 files in 14 languages (top: TypeScript 67.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving withastro/astro to commit 8ea79a282e53, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 58.8% of all lines, comments represent 24.7%, and the repository averages 80 code lines per file. TypeScript accounts for 67.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 1003 | 117829 | 86630 | 20014 | 11185 |
| YAML | 3 | 28296 | 25926 | 123 | 2247 |
| Astro | 123 | 7023 | 6134 | 192 | 697 |
| JSON | 191 | 5079 | 5079 | 0 | 0 |
| JavaScript | 83 | 4357 | 3386 | 517 | 454 |
| CSS | 11 | 555 | 490 | 17 | 48 |
| Sass | 4 | 431 | 385 | 1 | 45 |
| SVG | 26 | 204 | 204 | 0 | 0 |
| TSX | 10 | 197 | 167 | 6 | 24 |
| Svelte | 4 | 44 | 38 | 3 | 3 |
| JSX | 2 | 35 | 32 | 0 | 3 |
| Vue | 2 | 13 | 10 | 0 | 3 |
Top language (TypeScript 67.4%). Generated at .
withastro/astro has 218,326 total lines, including 128,481 code lines, 53,877 comment lines, and 35,968 blank lines.
OctoCounts resolved the public GitHub repository to commit 8ea79a282e53, 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 8ea79a282e53 on 2026-10-21T19:07:44.543161457+00:00.
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 — 128,481 code lines across 12 languages, counted by tokei.