agent-substrate/substrate has 346,264 source lines of code out of 468,873 total lines across 1,771 files, counted from the main ref at commit 5dcea389ec3b by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
agent-substrate/substrate: 346,264 code lines at commit 5dcea389ec3b, counted with tokei-14.0.0 on 2026-10-21. Saved result edbc00f6cb89951f2095321b97e61848b84d6947b7e9ad01a2abaf60f60f68cd.
OctoCounts produced this report by resolving agent-substrate/substrate to commit 5dcea389ec3b, 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.
This is a large codebase by counted code lines. Code represents 73.9% of all lines, comments represent 17.6%, and the repository averages 196 code lines per file. Go accounts for 90.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 1389 | 411426 | 314677 | 62741 | 34008 |
| YAML | 76 | 13588 | 10660 | 2679 | 249 |
| Python | 56 | 11083 | 8418 | 1295 | 1370 |
| Shell | 74 | 6778 | 3929 | 2096 | 753 |
| Protocol Buffers | 14 | 7214 | 2282 | 3906 | 1026 |
| Templ | 36 | 2191 | 2126 | 0 | 65 |
| SVG | 2 | 1521 | 1517 | 2 | 2 |
| Rust | 5 | 1196 | 966 | 119 | 111 |
| JSON | 6 | 929 | 929 | 0 | 0 |
| HTML | 2 | 336 | 287 | 30 | 19 |
| SQL | 4 | 333 | 216 | 81 | 36 |
| Dockerfile | 6 | 338 | 153 | 139 | 46 |
| Jinja2 | 1 | 50 | 49 | 0 | 1 |
| Makefile | 1 | 56 | 28 | 18 | 10 |
| TOML | 2 | 63 | 27 | 30 | 6 |
| Markdown | 61 | 7439 | 0 | 5781 | 1658 |
| Plain Text | 36 | 4332 | 0 | 3647 | 685 |
Top language (Go 90.9%). Generated at .
agent-substrate/substrate has 468,873 total lines, including 346,264 code lines, 82,564 comment lines, and 40,045 blank lines.
OctoCounts resolved the public GitHub repository to commit 5dcea389ec3b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 5dcea389ec3b on 2026-10-21T03:44:03.282714066Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for agent-substrate/substrate on this page — 346,264 code lines across 17 languages, counted by tokei.