# gristlabs/grist-core SLOC report

> As of 2026-10-22 (commit 8a56e00bc23e), gristlabs/grist-core contains 392,733 total lines: 308,024 code, 52,098 comments, 32,611 blank, across 1,653 files in 15 languages (top: TypeScript 59.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

gristlabs/grist-core has 308,024 source lines of code out of 392,733 total lines across 1,653 files, counted from the main ref at commit 8a56e00bc23e by the OctoCounts tokei engine on 2026-10-22. 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 gristlabs/grist-core to commit 8a56e00bc23e, 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 78.4% of all lines, comments represent 13.3%, and the repository averages 186 code lines per file. TypeScript accounts for 59.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 1,041 | 248,117 | 181,770 | 42,493 | 23,854 |
| JSON | 97 | 73,283 | 73,158 | 0 | 125 |
| Python | 158 | 48,285 | 37,493 | 4,666 | 6,126 |
| JavaScript | 56 | 10,098 | 6,182 | 2,851 | 1,065 |
| 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 |

Top language (TypeScript 59.0%). Generated at 2026-10-22T07:00:23.785174145+00:00. Canonical report: https://octocounts.com/github/gristlabs/grist-core

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gristlabs/grist-core/commit/8a56e00bc23e6f20cdbb9ee037fe9513bbf76ceb?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&reportId=a641f6327c1145f0e6b9d8db3cf01e911cc851a6b0687e9c4c1ab241b97b060d).

## Report FAQ

### How many lines of code does gristlabs/grist-core have?

gristlabs/grist-core has 392,733 total lines, including 308,024 code lines, 52,098 comment lines, and 32,611 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 8a56e00bc23e, 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 8a56e00bc23e on 2026-10-22T07:00:23.785174145+00:00.

## Similar repository reports

- [leather-io/mono](https://octocounts.com/github/leather-io/mono) — TypeScript, 307,192 code lines
- [NeuralNomadsAI/CodeNomad](https://octocounts.com/github/NeuralNomadsAI/CodeNomad) — TypeScript, 310,866 code lines
- [vercel-labs/just-bash](https://octocounts.com/github/vercel-labs/just-bash) — TypeScript, 311,069 code lines
- [firecrawl/firecrawl](https://octocounts.com/github/firecrawl/firecrawl) — TypeScript, 304,564 code lines
- [foundation50/classroom50](https://octocounts.com/github/foundation50/classroom50) — TypeScript, 312,794 code lines
- [x-tools-author/x-tools](https://octocounts.com/github/x-tools-author/x-tools) — TypeScript, 301,005 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)
