# withastro/astro SLOC report

> withastro/astro: 128,481 code lines at commit 8ea79a282e53, counted with tokei-14.0.0 on 2026-10-21. Saved result d115a81554ea0de237660c8f94474688d88683da706f3fe2cf06d4d20959b34f.

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.

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.

## Repository size insights

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 | 1,003 | 117,829 | 86,630 | 20,014 | 11,185 |
| YAML | 3 | 28,296 | 25,926 | 123 | 2,247 |
| Astro | 123 | 7,023 | 6,134 | 192 | 697 |
| JSON | 191 | 5,079 | 5,079 | 0 | 0 |
| JavaScript | 83 | 4,357 | 3,386 | 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 |
| MDX | 4 | 87 | 0 | 61 | 26 |
| Markdown | 140 | 54,176 | 0 | 32,943 | 21,233 |

Top language (TypeScript 67.4%). Generated at 2026-10-21T19:07:44.543161457Z. Canonical report: https://octocounts.com/github/withastro/astro/commit/8ea79a282e53b83c65f69c9013f5eeb5d97aadb1?reportId=d115a81554ea0de237660c8f94474688d88683da706f3fe2cf06d4d20959b34f&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/withastro/astro/commit/8ea79a282e53b83c65f69c9013f5eeb5d97aadb1?reportId=d115a81554ea0de237660c8f94474688d88683da706f3fe2cf06d4d20959b34f&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does withastro/astro have?

withastro/astro has 218,326 total lines, including 128,481 code lines, 53,877 comment lines, and 35,968 blank lines.

### How was the withastro/astro line count measured?

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.

### What commit was counted for withastro/astro?

This OctoCounts report was generated from main at commit 8ea79a282e53 on 2026-10-21T19:07:44.543161457Z.

## Similar repository reports

- [altair-graphql/altair](https://octocounts.com/github/altair-graphql/altair) — TypeScript, 128,547 code lines
- [webadderallorg/Recordly](https://octocounts.com/github/webadderallorg/Recordly) — TypeScript, 129,839 code lines
- [ueberdosis/tiptap](https://octocounts.com/github/ueberdosis/tiptap) — TypeScript, 129,907 code lines
- [compiler-explorer/compiler-explorer](https://octocounts.com/github/compiler-explorer/compiler-explorer) — TypeScript, 126,685 code lines
- [linshenkx/prompt-optimizer](https://octocounts.com/github/linshenkx/prompt-optimizer) — TypeScript, 131,177 code lines
- [huangkaoya/ts-redalert2](https://octocounts.com/github/huangkaoya/ts-redalert2) — TypeScript, 131,916 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
