As of 2026-08-26 (commit 8bf6f1af6799), withastro/astro contains 212,045 total lines: 125,151 code, 51,923 comments, 34,971 blank, across 1,564 files in 14 languages (top: TypeScript 67.1%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving withastro/astro to commit 8bf6f1af6799, 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.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 967 | 113905 | 83973 | 19048 | 10884 |
| YAML | 3 | 27650 | 25303 | 118 | 2229 |
| Astro | 123 | 7089 | 6196 | 190 | 703 |
| JSON | 187 | 5082 | 5082 | 0 | 0 |
| JavaScript | 83 | 4201 | 3271 | 494 | 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.1%). Generated at 2026-08-26T18:31:29.854133229+00:00.
withastro/astro has 212,045 total lines, including 125,151 code lines, 51,923 comment lines, and 34,971 blank lines.
OctoCounts resolved the public GitHub repository to commit 8bf6f1af6799, 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 8bf6f1af6799 on 2026-08-26T18:31:29.854133229+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: