# better-auth/better-auth SLOC report

> As of 2026-10-23 (commit d32b5b271ce6), better-auth/better-auth contains 478,342 total lines: 398,522 code, 34,918 comments, 44,902 blank, across 1,537 files in 11 languages (top: TypeScript 83.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

better-auth/better-auth has 398,522 source lines of code out of 478,342 total lines across 1,537 files, counted from the main ref at commit d32b5b271ce6 by the OctoCounts tokei engine on 2026-10-23. 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 better-auth/better-auth to commit d32b5b271ce6, 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 83.3% of all lines, comments represent 7.3%, and the repository averages 259 code lines per file. TypeScript accounts for 83.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 1,196 | 385,948 | 330,607 | 26,566 | 28,775 |
| YAML | 15 | 55,487 | 45,891 | 14 | 9,582 |
| TSX | 160 | 18,453 | 17,230 | 25 | 1,198 |
| JSON | 87 | 4,071 | 4,071 | 0 | 0 |
| CSS | 5 | 574 | 539 | 0 | 35 |
| JavaScript | 5 | 128 | 109 | 13 | 6 |
| HTML | 4 | 50 | 48 | 1 | 1 |
| Svelte | 1 | 14 | 13 | 0 | 1 |
| SVG | 1 | 8 | 8 | 0 | 0 |
| Vue | 2 | 7 | 6 | 0 | 1 |
| Markdown | 61 | 13,602 | 0 | 8,299 | 5,303 |

Top language (TypeScript 83.0%). Generated at 2026-10-23T08:01:23.582229638+00:00. Canonical report: https://octocounts.com/github/better-auth/better-auth

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/better-auth/better-auth/commit/d32b5b271ce6f36f62a3296f0c9fbc1427d33a7f?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&reportId=73bef949207cf42066a2d9db9f27f19001dac3eabd97e66f13af1c5f6d911fce).

## Report FAQ

### How many lines of code does better-auth/better-auth have?

better-auth/better-auth has 478,342 total lines, including 398,522 code lines, 34,918 comment lines, and 44,902 blank lines.

### How was the better-auth/better-auth line count measured?

OctoCounts resolved the public GitHub repository to commit d32b5b271ce6, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for better-auth/better-auth?

This OctoCounts report was generated from main at commit d32b5b271ce6 on 2026-10-23T08:01:23.582229638+00:00.

## Similar repository reports

- [readest/readest](https://octocounts.com/github/readest/readest) — TypeScript, 397,650 code lines
- [akoita/resonate](https://octocounts.com/github/akoita/resonate) — TypeScript, 397,294 code lines
- [jarmuine/claude-code](https://octocounts.com/github/jarmuine/claude-code) — TypeScript, 397,215 code lines
- [THU-MAIC/OpenMAIC](https://octocounts.com/github/THU-MAIC/OpenMAIC) — TypeScript, 400,051 code lines
- [FlowiseAI/Flowise](https://octocounts.com/github/FlowiseAI/Flowise) — TypeScript, 391,608 code lines
- [MemTensor/MemOS](https://octocounts.com/github/MemTensor/MemOS) — TypeScript, 406,214 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)
