# gristlabs/grist-core SLOC report

> gristlabs/grist-core: 310,024 code lines at commit fd8117228f97, counted with tokei-15.0.0 on 2026-11-15. Saved result 4943ae4534071cd0723d08336c584382afc17af23c1c07ec10fb75d75e9d21a8.

gristlabs/grist-core has 310,024 source lines of code out of 395,425 total lines across 1,655 files, counted with tokei from the main ref at commit fd8117228f97 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving gristlabs/grist-core to commit fd8117228f97, 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,042 | 249,887 | 182,974 | 42,930 | 23,983 |
| JSON | 97 | 73,765 | 73,640 | 0 | 125 |
| Python | 159 | 48,682 | 37,776 | 4,734 | 6,172 |
| JavaScript | 56 | 10,138 | 6,212 | 2,860 | 1,066 |
| CSS | 40 | 5,498 | 4,245 | 306 | 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 15, 2026. Canonical report: https://octocounts.com/github/gristlabs/grist-core/commit/fd8117228f975ab4549bf169f6dfd24ea505d65d?reportId=4943ae4534071cd0723d08336c584382afc17af23c1c07ec10fb75d75e9d21a8&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/fd8117228f975ab4549bf169f6dfd24ea505d65d?reportId=4943ae4534071cd0723d08336c584382afc17af23c1c07ec10fb75d75e9d21a8&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 310,024 lines of code, plus 52,614 comment lines and 32,787 blank lines, for 395,425 total lines at commit fd8117228f97 on November 15, 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 fd8117228f97, 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 fd8117228f97 on November 15, 2026.

## Similar repository reports

- [cornerstonejs/cornerstone3D](https://octocounts.com/github/cornerstonejs/cornerstone3D) — TypeScript, 309,577 code lines
- [vercel-labs/just-bash](https://octocounts.com/github/vercel-labs/just-bash) — TypeScript, 311,069 code lines
- [slopus/happy-agent](https://octocounts.com/github/slopus/happy-agent) — TypeScript, 312,489 code lines
- [foundation50/classroom50](https://octocounts.com/github/foundation50/classroom50) — TypeScript, 315,943 code lines
- [gatewai-dev/framefields](https://octocounts.com/github/gatewai-dev/framefields) — TypeScript, 317,015 code lines
- [leather-io/mono](https://octocounts.com/github/leather-io/mono) — TypeScript, 302,970 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)
