# sanity-io/sanity SLOC report

> sanity-io/sanity: 475,588 code lines at commit eb2f7057578f, counted with tokei-15.0.0 on 2026-11-16. Saved result 23936a8d079ed95afd5b7b54d6b72321a741a9ce9c2319e1fbca1d5256d98862.

sanity-io/sanity has 475,588 source lines of code out of 619,189 total lines across 5,263 files, counted with tokei from the main ref at commit eb2f7057578f on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving sanity-io/sanity to commit eb2f7057578f, 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

sanity-io/sanity: 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 large codebase by counted code lines. Code represents 76.8% of all lines, comments represent 12.9%, and the repository averages 90 code lines per file. TypeScript accounts for 50.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 3,078 | 315,691 | 239,018 | 45,519 | 31,154 |
| TSX | 1,761 | 228,429 | 192,420 | 15,515 | 20,494 |
| YAML | 5 | 32,321 | 29,908 | 32 | 2,381 |
| JSON | 191 | 7,586 | 7,580 | 0 | 6 |
| JavaScript | 89 | 5,927 | 5,337 | 407 | 183 |
| CSS | 21 | 1,616 | 1,252 | 143 | 221 |
| HTML | 4 | 61 | 61 | 0 | 0 |
| SVG | 1 | 12 | 12 | 0 | 0 |
| Markdown | 112 | 27,544 | 0 | 18,285 | 9,259 |
| Plain Text | 1 | 2 | 0 | 2 | 0 |

Top language: TypeScript 50.3%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/sanity-io/sanity/commit/eb2f7057578f2a48d7a28ac076c945fcc5433e61?reportId=23936a8d079ed95afd5b7b54d6b72321a741a9ce9c2319e1fbca1d5256d98862&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/sanity-io/sanity/commit/eb2f7057578f2a48d7a28ac076c945fcc5433e61?reportId=23936a8d079ed95afd5b7b54d6b72321a741a9ce9c2319e1fbca1d5256d98862&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 sanity-io/sanity have?

sanity-io/sanity has 475,588 lines of code, plus 79,903 comment lines and 63,698 blank lines, for 619,189 total lines at commit eb2f7057578f on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the sanity-io/sanity line count measured?

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

### What commit was counted for sanity-io/sanity?

This OctoCounts report was generated from main at commit eb2f7057578f on November 16, 2026.

## Similar repository reports

- [kestra-io/kestra](https://octocounts.com/github/kestra-io/kestra) — TypeScript, 478,091 code lines
- [holaboss-ai/holaOS](https://octocounts.com/github/holaboss-ai/holaOS) — TypeScript, 471,473 code lines
- [NangoHQ/nango](https://octocounts.com/github/NangoHQ/nango) — TypeScript, 470,601 code lines
- [claude-code-best/claude-code](https://octocounts.com/github/claude-code-best/claude-code) — TypeScript, 480,938 code lines
- [THU-MAIC/OpenMAIC](https://octocounts.com/github/THU-MAIC/OpenMAIC) — TypeScript, 470,101 code lines
- [opensec-git/Pi-Bolt](https://octocounts.com/github/opensec-git/Pi-Bolt) — TypeScript, 467,131 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)
- [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)
