nim-lang/Nim has 215,428 source lines of code out of 332,651 total lines across 699 files, counted with tokei from the devel ref at commit 5b66f3bfeb99 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
nim-lang/Nim: 215,428 code lines at commit 5b66f3bfeb99, counted with tokei-15.0.0 on 2026-11-16. Saved result 4852ef6477d101089ca70e1a9bc56f092b8fc22546e3bca9b283613edbfe33a1.
OctoCounts produced this report by resolving nim-lang/Nim to commit 5b66f3bfeb99, 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.
This is a large codebase by counted code lines. Code represents 64.8% of all lines, comments represent 26.4%, and the repository averages 308 code lines per file. Nim accounts for 95.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Nim | 589 | 279867 | 205090 | 48787 | 25990 |
| HTML | 22 | 4268 | 3531 | 110 | 627 |
| Python | 4 | 2123 | 1471 | 95 | 557 |
| Lean | 3 | 2042 | 991 | 907 | 144 |
| CSS | 1 | 1150 | 910 | 33 | 207 |
| C Header | 6 | 1419 | 909 | 293 | 217 |
| C | 2 | 1216 | 804 | 289 | 123 |
| Forge Config | 15 | 864 | 604 | 129 | 131 |
| ReStructuredText | 3 | 700 | 524 | 0 | 176 |
| GNU Style Assembly | 2 | 160 | 144 | 0 | 16 |
| ReScript | 6 | 130 | 126 | 0 | 4 |
| INI | 1 | 152 | 114 | 10 | 28 |
| Shell | 2 | 164 | 111 | 36 | 17 |
| Batch | 4 | 78 | 65 | 1 | 12 |
| GDB Script | 1 | 39 | 22 | 15 | 2 |
| BASH | 1 | 25 | 12 | 8 | 5 |
| Markdown | 31 | 5345 | 0 | 4291 | 1054 |
| Plain Text | 6 | 32909 | 0 | 32894 | 15 |
Top language: Nim 95.2%. Generated on .
nim-lang/Nim: 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.
nim-lang/Nim has 215,428 lines of code, plus 87,898 comment lines and 29,325 blank lines, for 332,651 total lines at commit 5b66f3bfeb99 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 5b66f3bfeb99, 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 devel at commit 5b66f3bfeb99 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for nim-lang/Nim on this page — 215,428 code lines across 18 languages, counted by tokei.