# near/nearcore SLOC report

> As of 2026-07-16 (commit c3a1ca6f5c87), near/nearcore contains 457,123 total lines: 400,391 code, 21,398 comments, 35,334 blank, across 1,536 files in 23 languages (top: Rust 68.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving near/nearcore to commit c3a1ca6f5c87, 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 87.6% of all lines, comments represent 4.7%, and the repository averages 261 code lines per file. Rust accounts for 68.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 998 | 317,582 | 274,176 | 14,064 | 29,342 |
| JSON | 104 | 97,187 | 97,185 | 0 | 2 |
| Python | 56 | 12,667 | 10,344 | 436 | 1,887 |
| TSX | 48 | 7,951 | 7,015 | 306 | 630 |
| TOML | 101 | 4,970 | 4,405 | 95 | 470 |
| Sass | 30 | 1,757 | 1,481 | 0 | 276 |
| Shell | 21 | 1,886 | 1,340 | 241 | 305 |
| YAML | 39 | 1,385 | 1,172 | 133 | 80 |
| TypeScript | 7 | 1,074 | 719 | 275 | 80 |
| JavaScript | 3 | 616 | 535 | 40 | 41 |
| HTML | 11 | 592 | 526 | 11 | 55 |
| CSS | 8 | 387 | 317 | 0 | 70 |

Top language (Rust 68.5%). Generated at 2026-07-16T17:17:41.875561616+00:00. Canonical report: https://octocounts.com/github/near/nearcore

## Report FAQ

### How many lines of code does near/nearcore have?

near/nearcore has 457,123 total lines, including 400,391 code lines, 21,398 comment lines, and 35,334 blank lines.

### How was the near/nearcore line count measured?

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

### What commit was counted for near/nearcore?

This OctoCounts report was generated from master at commit c3a1ca6f5c87 on 2026-07-16T17:17:41.875561616+00:00.

## Similar repository reports

- [matter-labs/zksync-era](https://octocounts.com/github/matter-labs/zksync-era) — Rust, 389,450 code lines
- [t8y2/dbx](https://octocounts.com/github/t8y2/dbx) — Rust, 388,564 code lines
- [screenpipe/screenpipe](https://octocounts.com/github/screenpipe/screenpipe) — Rust, 413,895 code lines
- [mlx-node/mlx-node](https://octocounts.com/github/mlx-node/mlx-node) — Rust, 417,265 code lines
- [tencentcloud/CubeSandbox](https://octocounts.com/github/tencentcloud/CubeSandbox) — Rust, 419,979 code lines
- [servo/servo](https://octocounts.com/github/servo/servo) — Rust, 449,641 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)
- [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)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
