As of 2026-08-23 (commit cbcbbbd4096d), modular/modular contains 1,876,965 total lines: 1,303,746 code, 399,658 comments, 173,561 blank, across 4,745 files in 26 languages (top: Mojo 48.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving modular/modular to commit cbcbbbd4096d, 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 very large codebase by counted code lines. Code represents 69.5% of all lines, comments represent 21.3%, and the repository averages 275 code lines per file. Mojo accounts for 48.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Mojo | 1167 | 762743 | 630850 | 63522 | 68371 |
| Python | 1804 | 481091 | 386895 | 42899 | 51297 |
| C++ | 537 | 248209 | 174498 | 44480 | 29231 |
| Bazel | 375 | 59089 | 52441 | 1391 | 5257 |
| C Header | 427 | 66824 | 32987 | 23377 | 10460 |
| YAML | 172 | 13293 | 9582 | 2881 | 830 |
| JSON | 10 | 8867 | 8867 | 0 | 0 |
| HTML | 5 | 4473 | 2870 | 120 | 1483 |
| TOML | 21 | 1066 | 877 | 66 | 123 |
| Bitbake | 13 | 837 | 774 | 32 | 31 |
| Shell | 19 | 1248 | 742 | 325 | 181 |
| C | 4 | 919 | 642 | 146 | 131 |
Top language (Mojo 48.4%). Generated at 2026-08-23T03:14:43.189845113+00:00.
modular/modular has 1,876,965 total lines, including 1,303,746 code lines, 399,658 comment lines, and 173,561 blank lines.
OctoCounts resolved the public GitHub repository to commit cbcbbbd4096d, 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 cbcbbbd4096d on 2026-08-23T03:14:43.189845113+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: