# gristlabs/grist-core SLOC report

> gristlabs/grist-core: 309,492 code lines at commit fa19f551e8d9, counted with tokei-15.0.0 on 2026-11-09. Saved result 5bb29a5133058156d5d147c6f3a9be25913a37dda410266d81048d5ffa73979a.

gristlabs/grist-core has 309,492 source lines of code out of 394,693 total lines across 1,654 files, counted with tokei from the main ref at commit fa19f551e8d9 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving gristlabs/grist-core to commit fa19f551e8d9, 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

gristlabs/grist-core: 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 78.4% of all lines, comments represent 13.3%, and the repository averages 187 code lines per file. TypeScript accounts for 59.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 1,041 | 249,270 | 182,550 | 42,797 | 23,923 |
| JSON | 97 | 73,672 | 73,547 | 0 | 125 |
| Python | 159 | 48,682 | 37,776 | 4,734 | 6,172 |
| JavaScript | 56 | 10,119 | 6,198 | 2,855 | 1,066 |
| CSS | 40 | 5,495 | 4,244 | 304 | 947 |
| SVG | 196 | 3,843 | 3,699 | 140 | 4 |
| YAML | 11 | 769 | 563 | 168 | 38 |
| Shell | 24 | 896 | 531 | 228 | 137 |
| HTML | 9 | 239 | 197 | 24 | 18 |
| Dockerfile | 2 | 220 | 101 | 83 | 36 |
| TOML | 1 | 58 | 44 | 5 | 9 |
| Makefile | 2 | 43 | 29 | 6 | 8 |
| Autoconf | 2 | 18 | 13 | 3 | 2 |
| Markdown | 11 | 1,105 | 0 | 897 | 208 |
| Plain Text | 3 | 264 | 0 | 230 | 34 |

Top language: TypeScript 59.0%. Generated on November 9, 2026. Canonical report: https://octocounts.com/github/gristlabs/grist-core/commit/fa19f551e8d90c1b15783068d1f28f76f0026ce2?reportId=5bb29a5133058156d5d147c6f3a9be25913a37dda410266d81048d5ffa73979a&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/gristlabs/grist-core/commit/fa19f551e8d90c1b15783068d1f28f76f0026ce2?reportId=5bb29a5133058156d5d147c6f3a9be25913a37dda410266d81048d5ffa73979a&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 gristlabs/grist-core have?

gristlabs/grist-core has 309,492 lines of code, plus 52,474 comment lines and 32,727 blank lines, for 394,693 total lines at commit fa19f551e8d9 on November 9, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the gristlabs/grist-core line count measured?

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

### What commit was counted for gristlabs/grist-core?

This OctoCounts report was generated from main at commit fa19f551e8d9 on November 9, 2026.

## Similar repository reports

- [slopus/happy-agent](https://octocounts.com/github/slopus/happy-agent) — TypeScript, 314,489 code lines
- [foundation50/classroom50](https://octocounts.com/github/foundation50/classroom50) — TypeScript, 315,943 code lines
- [vercel-labs/just-bash](https://octocounts.com/github/vercel-labs/just-bash) — TypeScript, 311,073 code lines
- [cornerstonejs/cornerstone3D](https://octocounts.com/github/cornerstonejs/cornerstone3D) — TypeScript, 310,632 code lines
- [vercel-labs/ui](https://octocounts.com/github/vercel-labs/ui) — TypeScript, 320,138 code lines
- [first-fluke/oh-my-agent](https://octocounts.com/github/first-fluke/oh-my-agent) — TypeScript, 321,741 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)
