# storybookjs/storybook SLOC report

> storybookjs/storybook: 636,008 code lines at commit 228ffdf0b4e3, counted with tokei-14.0.0 on 2026-10-23. Saved result b1776bdef35410ccd0bc4de7878cf27809d7c7dead415575d63553c324f12210.

storybookjs/storybook has 636,008 source lines of code out of 826,821 total lines across 6,203 files, counted from the next ref at commit 228ffdf0b4e3 by the OctoCounts tokei engine on 2026-10-23. 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 storybookjs/storybook to commit 228ffdf0b4e3, 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 76.9% of all lines, comments represent 12.6%, and the repository averages 103 code lines per file. TypeScript accounts for 71.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 3,902 | 550,083 | 452,561 | 38,710 | 58,812 |
| TSX | 752 | 82,805 | 70,550 | 3,300 | 8,955 |
| JSON | 565 | 58,406 | 58,393 | 0 | 13 |
| JavaScript | 249 | 72,603 | 46,049 | 24,220 | 2,334 |
| Svelte | 171 | 3,043 | 2,536 | 135 | 372 |
| JSX | 64 | 3,236 | 2,533 | 425 | 278 |
| CSS | 52 | 1,554 | 1,435 | 6 | 113 |
| Vue | 119 | 580 | 467 | 1 | 112 |
| Python | 1 | 531 | 447 | 42 | 42 |
| HTML | 22 | 433 | 404 | 3 | 26 |
| YAML | 9 | 313 | 292 | 5 | 16 |
| Pug | 44 | 146 | 139 | 0 | 7 |
| Handlebars | 4 | 63 | 62 | 0 | 1 |
| SVG | 12 | 57 | 55 | 0 | 2 |
| Shell | 4 | 84 | 45 | 23 | 16 |
| Sass | 12 | 45 | 37 | 7 | 1 |
| TOML | 1 | 5 | 3 | 2 | 0 |
| MDX | 37 | 2,937 | 0 | 2,574 | 363 |
| Markdown | 176 | 49,572 | 0 | 34,105 | 15,467 |
| Plain Text | 7 | 325 | 0 | 261 | 64 |

Top language (TypeScript 71.2%). Generated at 2026-10-23T08:16:12.464208103Z. Canonical report: https://octocounts.com/github/storybookjs/storybook/commit/228ffdf0b4e3e9f8ba5ed73034da1e4d86b4e80a?reportId=b1776bdef35410ccd0bc4de7878cf27809d7c7dead415575d63553c324f12210&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/storybookjs/storybook/commit/228ffdf0b4e3e9f8ba5ed73034da1e4d86b4e80a?reportId=b1776bdef35410ccd0bc4de7878cf27809d7c7dead415575d63553c324f12210&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 storybookjs/storybook have?

storybookjs/storybook has 826,821 total lines, including 636,008 code lines, 103,819 comment lines, and 86,994 blank lines.

### How was the storybookjs/storybook line count measured?

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

### What commit was counted for storybookjs/storybook?

This OctoCounts report was generated from next at commit 228ffdf0b4e3 on 2026-10-23T08:16:12.464208103Z.

## Similar repository reports

- [calcom/cal.diy](https://octocounts.com/github/calcom/cal.diy) — TypeScript, 635,792 code lines
- [vercel-labs/scriptc](https://octocounts.com/github/vercel-labs/scriptc) — TypeScript, 636,741 code lines
- [goauthentik/authentik](https://octocounts.com/github/goauthentik/authentik) — TypeScript, 634,424 code lines
- [swarajbachu/zuse](https://octocounts.com/github/swarajbachu/zuse) — TypeScript, 644,536 code lines
- [deepseek-ai/deepseek-harness](https://octocounts.com/github/deepseek-ai/deepseek-harness) — TypeScript, 624,757 code lines
- [genspark-ai/genoffice](https://octocounts.com/github/genspark-ai/genoffice) — TypeScript, 619,697 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)
