As of 2026-08-23 (commit 99d3d3dbbfa4), withastro/astro contains 211,386 total lines: 124,703 code, 51,827 comments, 34,856 blank, across 1,560 files in 14 languages (top: TypeScript 67.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving withastro/astro to commit 99d3d3dbbfa4, 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 59.0% of all lines, comments represent 24.5%, and the repository averages 80 code lines per file. TypeScript accounts for 67.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 965 | 113706 | 83808 | 19030 | 10868 |
| YAML | 3 | 27394 | 25077 | 117 | 2200 |
| Astro | 123 | 7089 | 6196 | 190 | 703 |
| JSON | 187 | 5026 | 5026 | 0 | 0 |
| JavaScript | 83 | 4199 | 3270 | 493 | 436 |
| 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.2%). Generated at 2026-08-23T09:14:10.797188165+00:00.
withastro/astro has 211,386 total lines, including 124,703 code lines, 51,827 comment lines, and 34,856 blank lines.
OctoCounts resolved the public GitHub repository to commit 99d3d3dbbfa4, 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 99d3d3dbbfa4 on 2026-08-23T09:14:10.797188165+00:00.