LostRuins/koboldcpp has 1,534,345 source lines of code out of 1,937,031 total lines across 3,368 files, counted with tokei from the concedo ref at commit 6d2fedf8624e on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
LostRuins/koboldcpp: 1,534,345 code lines at commit 6d2fedf8624e, counted with tokei-15.0.0 on 2026-11-02. Saved result 6a838803877ad3d898b50d167c9026a465600273e01264af99e59eb1b9cdb2d4.
OctoCounts produced this report by resolving LostRuins/koboldcpp to commit 6d2fedf8624e, 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 very large codebase by counted code lines. Code represents 79.2% of all lines, comments represent 9.5%, and the repository averages 456 code lines per file. C++ accounts for 29.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 822 | 538553 | 445568 | 25797 | 67188 |
| C++ Header | 128 | 440393 | 372520 | 18149 | 49724 |
| C Header | 874 | 264111 | 196446 | 32502 | 35163 |
| C | 43 | 206036 | 168641 | 9938 | 27457 |
| JSON | 89 | 107561 | 107544 | 0 | 17 |
| Python | 167 | 75217 | 61620 | 3832 | 9765 |
| CUDA | 194 | 40889 | 32868 | 1712 | 6309 |
| TypeScript | 356 | 48322 | 30741 | 10271 | 7310 |
| Bitbake | 7 | 28283 | 27881 | 317 | 85 |
| JavaScript | 14 | 38218 | 25383 | 9678 | 3157 |
| GLSL | 192 | 25169 | 20222 | 862 | 4085 |
| Svelte | 363 | 15031 | 13163 | 222 | 1646 |
| Metal Shading Language | 38 | 14174 | 10931 | 523 | 2720 |
| C++ Module | 1 | 8520 | 6048 | 1250 | 1222 |
| Objective-C | 2 | 3550 | 2650 | 207 | 693 |
| C# | 1 | 2435 | 2315 | 43 | 77 |
| D | 1 | 2437 | 2310 | 49 | 78 |
| Lua | 1 | 2359 | 2239 | 43 | 77 |
| Shell | 12 | 1439 | 1098 | 159 | 182 |
| Makefile | 1 | 1290 | 1042 | 82 | 166 |
| CSS | 2 | 1070 | 863 | 69 | 138 |
| PowerShell | 1 | 903 | 796 | 46 | 61 |
| CMake | 7 | 923 | 767 | 59 | 97 |
| Jupyter Notebooks | 1 | 306 | 249 | 29 | 28 |
| XML | 1 | 304 | 122 | 159 | 23 |
| Autoconf | 4 | 148 | 79 | 34 | 35 |
| YAML | 4 | 82 | 78 | 3 | 1 |
| Batch | 5 | 60 | 51 | 3 | 6 |
| TOML | 1 | 45 | 38 | 0 | 7 |
| AWK | 1 | 49 | 37 | 7 | 5 |
| HTML | 1 | 23 | 18 | 0 | 5 |
| Sass | 1 | 16 | 10 | 4 | 2 |
| SVG | 1 | 7 | 7 | 0 | 0 |
| Markdown | 24 | 3487 | 0 | 2687 | 800 |
| Plain Text | 8 | 65621 | 0 | 65617 | 4 |
Top language: C++ 29.0%. Generated on .
LostRuins/koboldcpp: 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.
LostRuins/koboldcpp has 1,534,345 lines of code, plus 184,353 comment lines and 218,333 blank lines, for 1,937,031 total lines at commit 6d2fedf8624e on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 6d2fedf8624e, 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 concedo at commit 6d2fedf8624e on November 2, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for LostRuins/koboldcpp on this page — 1,534,345 code lines across 35 languages, counted by tokei.