# xai-org/grok-build SLOC report

> xai-org/grok-build: 1,584,555 code lines at commit 2bdd1d6a6369, counted with tokei-15.0.0 on 2026-11-05. Saved result 9be9cc562ee686d03a25f87518bee76e1021161f71b47092989c8a7b4111b409.

xai-org/grok-build has 1,584,555 source lines of code out of 1,759,921 total lines across 3,746 files, counted with tokei from the main ref at commit 2bdd1d6a6369 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving xai-org/grok-build to commit 2bdd1d6a6369, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

xai-org/grok-build: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 90.0% of all lines, comments represent 2.8%, and the repository averages 423 code lines per file. Rust accounts for 99.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 3,214 | 1,730,637 | 1,568,844 | 41,118 | 120,675 |
| JSON | 181 | 7,943 | 7,943 | 0 | 0 |
| TOML | 111 | 5,409 | 4,014 | 848 | 547 |
| JavaScript | 4 | 1,716 | 1,276 | 191 | 249 |
| Shell | 7 | 1,138 | 861 | 169 | 108 |
| PowerShell | 2 | 1,002 | 769 | 117 | 116 |
| Protocol Buffers | 1 | 1,093 | 471 | 400 | 222 |
| Python | 2 | 444 | 377 | 19 | 48 |
| Markdown | 209 | 10,004 | 0 | 6,850 | 3,154 |
| Plain Text | 15 | 535 | 0 | 419 | 116 |

Top language: Rust 99.0%. Generated on November 5, 2026. Canonical report: https://octocounts.com/github/xai-org/grok-build/commit/2bdd1d6a6369de0e8c68132ea4539e9abd9e14a8?reportId=9be9cc562ee686d03a25f87518bee76e1021161f71b47092989c8a7b4111b409&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/xai-org/grok-build/commit/2bdd1d6a6369de0e8c68132ea4539e9abd9e14a8?reportId=9be9cc562ee686d03a25f87518bee76e1021161f71b47092989c8a7b4111b409&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 xai-org/grok-build have?

xai-org/grok-build has 1,584,555 lines of code, plus 50,131 comment lines and 125,235 blank lines, for 1,759,921 total lines at commit 2bdd1d6a6369 on November 5, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the xai-org/grok-build line count measured?

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

### What commit was counted for xai-org/grok-build?

This OctoCounts report was generated from main at commit 2bdd1d6a6369 on November 5, 2026.

## Similar repository reports

- [warpdotdev/warp](https://octocounts.com/github/warpdotdev/warp) — Rust, 1,584,459 code lines
- [nicodunks/mog](https://octocounts.com/github/nicodunks/mog) — Rust, 1,568,608 code lines
- [zed-industries/zed](https://octocounts.com/github/zed-industries/zed) — Rust, 1,565,814 code lines
- [t8y2/dbx](https://octocounts.com/github/t8y2/dbx) — Rust, 1,564,313 code lines
- [AerisTerminal/zed](https://octocounts.com/github/AerisTerminal/zed) — Rust, 1,543,892 code lines
- [Haleclipse/codex](https://octocounts.com/github/Haleclipse/codex) — Rust, 1,627,008 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
