# leptos-rs/leptos SLOC report

> leptos-rs/leptos: 116,122 code lines at commit 9b311998b685, counted with tokei-15.0.0 on 2026-11-23. Saved result bc4fb7c674dfe33e5fada9e2c57814e1561a3962aa000a4a4072b368eac70179.

Source: [leptos-rs/leptos on GitHub](https://github.com/leptos-rs/leptos) · counted commit [9b311998b685](https://github.com/leptos-rs/leptos/tree/9b311998b68584bcf486987518b70d43e3aac030)

leptos-rs/leptos has 116,122 source lines of code out of 138,685 total lines across 1,098 files, counted with tokei from the main ref at commit 9b311998b685 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving leptos-rs/leptos to commit 9b311998b685, 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

leptos-rs/leptos: 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 83.7% of all lines, comments represent 6.0%, and the repository averages 106 code lines per file. Rust accounts for 86.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 567 | 117,073 | 100,232 | 5,169 | 11,672 |
| TOML | 253 | 7,460 | 5,720 | 909 | 831 |
| JSON | 28 | 5,030 | 5,021 | 0 | 9 |
| Gherkin (Cucumber) | 63 | 1,792 | 1,533 | 16 | 243 |
| CSS | 19 | 1,562 | 1,297 | 1 | 264 |
| JavaScript | 5 | 1,040 | 908 | 55 | 77 |
| TypeScript | 10 | 806 | 281 | 441 | 84 |
| HTML | 26 | 235 | 233 | 0 | 2 |
| Sass | 14 | 272 | 226 | 2 | 44 |
| Shell | 6 | 290 | 216 | 27 | 47 |
| Nix | 3 | 141 | 133 | 0 | 8 |
| YAML | 2 | 137 | 114 | 0 | 23 |
| SQL | 9 | 127 | 104 | 8 | 15 |
| XML | 2 | 51 | 51 | 0 | 0 |
| SVG | 2 | 34 | 34 | 0 | 0 |
| Dockerfile | 1 | 25 | 19 | 5 | 1 |
| Markdown | 88 | 2,610 | 0 | 1,744 | 866 |

Top language: Rust 86.3%. Generated on November 23, 2026. Canonical report: https://octocounts.com/github/leptos-rs/leptos/commit/9b311998b68584bcf486987518b70d43e3aac030?reportId=bc4fb7c674dfe33e5fada9e2c57814e1561a3962aa000a4a4072b368eac70179&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/leptos-rs/leptos/commit/9b311998b68584bcf486987518b70d43e3aac030?reportId=bc4fb7c674dfe33e5fada9e2c57814e1561a3962aa000a4a4072b368eac70179&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 leptos-rs/leptos have?

leptos-rs/leptos has 116,122 lines of code, plus 8,377 comment lines and 14,186 blank lines, for 138,685 total lines at commit 9b311998b685 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the leptos-rs/leptos line count measured?

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

### What commit was counted for leptos-rs/leptos?

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

## Similar repository reports

- [oxiglade/mlx-rs](https://octocounts.com/github/oxiglade/mlx-rs) — Rust, 116,119 code lines
- [tauri-apps/tauri](https://octocounts.com/github/tauri-apps/tauri) — Rust, 116,108 code lines
- [antithesishq/bombadil](https://octocounts.com/github/antithesishq/bombadil) — Rust, 115,729 code lines
- [ferronweb/ferron](https://octocounts.com/github/ferronweb/ferron) — Rust, 116,573 code lines
- [artcraft-android/capcraft-android](https://octocounts.com/github/artcraft-android/capcraft-android) — Rust, 116,673 code lines
- [donnes/monodrive](https://octocounts.com/github/donnes/monodrive) — Rust, 116,674 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Yew vs Leptos](https://octocounts.com/compare/yew-vs-leptos)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
