As of 2026-08-03 (commit bfeb3146d163), nim-lang/Nim contains 130,603 total lines: 86,232 code, 30,057 comments, 14,314 blank, across 323 files in 16 languages (top: Nim 91.8%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving nim-lang/Nim to commit bfeb3146d163, 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 medium-sized codebase by counted code lines. Code represents 66.0% of all lines, comments represent 23.0%, and the repository averages 267 code lines per file. Nim accounts for 91.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Nim | 251 | 116345 | 79137 | 25186 | 12022 |
| HTML | 11 | 3296 | 2828 | 55 | 413 |
| C Header | 6 | 1411 | 905 | 290 | 216 |
| CSS | 1 | 1141 | 902 | 33 | 206 |
| C | 1 | 1207 | 797 | 289 | 121 |
| Forge Config | 11 | 768 | 549 | 117 | 102 |
| ReStructuredText | 3 | 700 | 524 | 0 | 176 |
| GNU Style Assembly | 2 | 160 | 144 | 0 | 16 |
| ReScript | 6 | 130 | 126 | 0 | 4 |
| YAML | 1 | 172 | 120 | 23 | 29 |
| Shell | 2 | 164 | 111 | 36 | 17 |
| Batch | 3 | 69 | 59 | 0 | 10 |
Top language (Nim 91.8%). Generated at .
nim-lang/Nim has 130,603 total lines, including 86,232 code lines, 30,057 comment lines, and 14,314 blank lines.
OctoCounts resolved the public GitHub repository to commit bfeb3146d163, 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 v2.2.10 at commit bfeb3146d163 on 2026-08-03T16:51:50.897223049+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: