# withastro/astro SLOC report

> As of 2026-09-16 (commit c2e6b0d7c7ba), withastro/astro contains 214,901 total lines: 127,062 code, 52,519 comments, 35,320 blank, across 1,578 files in 14 languages (top: TypeScript 67.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

withastro/astro has 127,062 source lines of code out of 214,901 total lines across 1,578 files, counted from the c2e6b0d7c7badff6f27cfb8d7dbe8bcaad64759f ref at commit c2e6b0d7c7ba by the OctoCounts tokei engine on 2026-09-16. 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 c2e6b0d7c7ba, 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 59.1% of all lines, comments represent 24.4%, and the repository averages 81 code lines per file. TypeScript accounts for 67.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 981 | 115,736 | 85,240 | 19,455 | 11,041 |
| YAML | 3 | 28,348 | 25,943 | 122 | 2,283 |
| Astro | 123 | 7,089 | 6,196 | 190 | 703 |
| JSON | 187 | 5,079 | 5,079 | 0 | 0 |
| JavaScript | 83 | 4,210 | 3,278 | 494 | 438 |
| 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-09-16T10:09:36.212040701+00:00. Canonical report: https://octocounts.com/github/withastro/astro

## Reproduce this report

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

## Report FAQ

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

withastro/astro has 214,901 total lines, including 127,062 code lines, 52,519 comment lines, and 35,320 blank lines.

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

OctoCounts resolved the public GitHub repository to commit c2e6b0d7c7ba, 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 c2e6b0d7c7badff6f27cfb8d7dbe8bcaad64759f at commit c2e6b0d7c7ba on 2026-09-16T10:09:36.212040701+00:00.

## Similar repository reports

- [nashsu/llm_wiki](https://octocounts.com/github/nashsu/llm_wiki) — TypeScript, 126,222 code lines
- [BytePioneer-AI/codex-host](https://octocounts.com/github/BytePioneer-AI/codex-host) — TypeScript, 127,996 code lines
- [webadderallorg/Recordly](https://octocounts.com/github/webadderallorg/Recordly) — TypeScript, 129,839 code lines
- [vercel-labs/open-agents](https://octocounts.com/github/vercel-labs/open-agents) — TypeScript, 123,396 code lines
- [altair-graphql/altair](https://octocounts.com/github/altair-graphql/altair) — TypeScript, 131,167 code lines
- [23blocks-OS/ai-maestro](https://octocounts.com/github/23blocks-OS/ai-maestro) — TypeScript, 122,716 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)
