# strapi/strapi SLOC report

> As of 2026-11-24 (commit 859ca95a886d), strapi/strapi contains 460,859 total lines: 363,929 code, 45,332 comments, 51,598 blank, across 4,424 files in 13 languages (top language: TypeScript 49.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [strapi/strapi on GitHub](https://github.com/strapi/strapi) · counted commit [859ca95a886d](https://github.com/strapi/strapi/tree/859ca95a886d52535ef9ffb1997ad872ea57e4dd)

strapi/strapi has 363,929 source lines of code out of 460,859 total lines across 4,424 files, counted with tokei from the develop ref at commit 859ca95a886d on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving strapi/strapi to commit 859ca95a886d, 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

strapi/strapi: 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 79.0% of all lines, comments represent 9.8%, and the repository averages 82 code lines per file. TypeScript accounts for 49.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 2,630 | 247,614 | 181,310 | 31,205 | 35,099 |
| TSX | 592 | 122,537 | 101,637 | 8,486 | 12,414 |
| JSON | 630 | 62,922 | 62,907 | 0 | 15 |
| JavaScript | 426 | 17,739 | 13,355 | 2,001 | 2,383 |
| JSX | 29 | 3,386 | 3,017 | 59 | 310 |
| YAML | 6 | 1,269 | 1,213 | 4 | 52 |
| Handlebars | 30 | 427 | 374 | 0 | 53 |
| Shell | 3 | 86 | 50 | 13 | 23 |
| SVG | 11 | 39 | 38 | 1 | 0 |
| HTML | 1 | 28 | 28 | 0 | 0 |
| MDX | 1 | 66 | 0 | 60 | 6 |
| Markdown | 55 | 4,717 | 0 | 3,474 | 1,243 |

Top language: TypeScript 49.8%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/strapi/strapi

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/strapi/strapi/commit/859ca95a886d52535ef9ffb1997ad872ea57e4dd?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=d728dae4d1d0765b6161738c93f96040b0182395625ab0653f0aeaf298bb1fc3).

## Report FAQ

### How many lines of code does strapi/strapi have?

strapi/strapi has 363,929 lines of code, plus 45,332 comment lines and 51,598 blank lines, for 460,859 total lines at commit 859ca95a886d on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the strapi/strapi line count measured?

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

### What commit was counted for strapi/strapi?

This OctoCounts report was generated from develop at commit 859ca95a886d on November 24, 2026.

## 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
