# garrytan/gbrain SLOC report

> As of 2026-09-16 (commit 668b9bac3027), garrytan/gbrain contains 573,082 total lines: 305,394 code, 217,876 comments, 49,812 blank, across 1,940 files in 12 languages (top: TypeScript 92.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

garrytan/gbrain has 305,394 source lines of code out of 573,082 total lines across 1,940 files, counted from the master ref at commit 668b9bac3027 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 garrytan/gbrain to commit 668b9bac3027, 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 53.3% of all lines, comments represent 38.0%, and the repository averages 157 code lines per file. TypeScript accounts for 92.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 1,261 | 430,859 | 281,878 | 123,924 | 25,057 |
| JSON | 179 | 9,623 | 9,623 | 0 | 0 |
| Shell | 79 | 9,582 | 5,614 | 3,163 | 805 |
| JavaScript | 26 | 6,828 | 4,148 | 2,239 | 441 |
| TSX | 10 | 1,584 | 1,429 | 49 | 106 |
| YAML | 14 | 2,014 | 1,337 | 510 | 167 |
| SQL | 1 | 1,670 | 1,013 | 566 | 91 |
| CSS | 1 | 366 | 309 | 26 | 31 |
| HTML | 2 | 42 | 40 | 0 | 2 |
| TOML | 1 | 60 | 3 | 56 | 1 |
| Markdown | 360 | 102,881 | 0 | 81,438 | 21,443 |
| Plain Text | 6 | 7,573 | 0 | 5,905 | 1,668 |

Top language (TypeScript 92.3%). Generated at 2026-09-16T22:29:36.206206317+00:00. Canonical report: https://octocounts.com/github/garrytan/gbrain

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/garrytan/gbrain/commit/668b9bac302705f3bca0ae4792a49fab0a79a74e?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 garrytan/gbrain have?

garrytan/gbrain has 573,082 total lines, including 305,394 code lines, 217,876 comment lines, and 49,812 blank lines.

### How was the garrytan/gbrain line count measured?

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

### What commit was counted for garrytan/gbrain?

This OctoCounts report was generated from master at commit 668b9bac3027 on 2026-09-16T22:29:36.206206317+00:00.

## Similar repository reports

- [refactoringhq/tolaria](https://octocounts.com/github/refactoringhq/tolaria) — TypeScript, 307,330 code lines
- [better-auth/better-auth](https://octocounts.com/github/better-auth/better-auth) — TypeScript, 310,780 code lines
- [PeakCode-AI/PeakCode](https://octocounts.com/github/PeakCode-AI/PeakCode) — TypeScript, 299,884 code lines
- [callstack/agent-device](https://octocounts.com/github/callstack/agent-device) — TypeScript, 296,076 code lines
- [melgarafael/DeskcommCRM](https://octocounts.com/github/melgarafael/DeskcommCRM) — TypeScript, 296,058 code lines
- [magnitudedev/magnitude](https://octocounts.com/github/magnitudedev/magnitude) — TypeScript, 295,996 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)
