# LostRuins/koboldcpp SLOC report

> LostRuins/koboldcpp: 1,534,345 code lines at commit 6d2fedf8624e, counted with tokei-15.0.0 on 2026-11-02. Saved result 6a838803877ad3d898b50d167c9026a465600273e01264af99e59eb1b9cdb2d4.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 538,553 | 445,568 | 25,797 | 67,188 |
| C++ Header | 128 | 440,393 | 372,520 | 18,149 | 49,724 |
| C Header | 874 | 264,111 | 196,446 | 32,502 | 35,163 |
| C | 43 | 206,036 | 168,641 | 9,938 | 27,457 |
| JSON | 89 | 107,561 | 107,544 | 0 | 17 |
| Python | 167 | 75,217 | 61,620 | 3,832 | 9,765 |
| CUDA | 194 | 40,889 | 32,868 | 1,712 | 6,309 |
| TypeScript | 356 | 48,322 | 30,741 | 10,271 | 7,310 |
| Bitbake | 7 | 28,283 | 27,881 | 317 | 85 |
| JavaScript | 14 | 38,218 | 25,383 | 9,678 | 3,157 |
| GLSL | 192 | 25,169 | 20,222 | 862 | 4,085 |
| Svelte | 363 | 15,031 | 13,163 | 222 | 1,646 |
| Metal Shading Language | 38 | 14,174 | 10,931 | 523 | 2,720 |
| C++ Module | 1 | 8,520 | 6,048 | 1,250 | 1,222 |
| Objective-C | 2 | 3,550 | 2,650 | 207 | 693 |
| C# | 1 | 2,435 | 2,315 | 43 | 77 |
| D | 1 | 2,437 | 2,310 | 49 | 78 |
| Lua | 1 | 2,359 | 2,239 | 43 | 77 |
| Shell | 12 | 1,439 | 1,098 | 159 | 182 |
| Makefile | 1 | 1,290 | 1,042 | 82 | 166 |
| CSS | 2 | 1,070 | 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 | 3,487 | 0 | 2,687 | 800 |
| Plain Text | 8 | 65,621 | 0 | 65,617 | 4 |

Top language: C++ 29.0%. Generated on November 2, 2026. Canonical report: https://octocounts.com/github/LostRuins/koboldcpp/commit/6d2fedf8624e5f05926af3191f9efdcb13c4133c?reportId=6a838803877ad3d898b50d167c9026a465600273e01264af99e59eb1b9cdb2d4&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/LostRuins/koboldcpp/commit/6d2fedf8624e5f05926af3191f9efdcb13c4133c?reportId=6a838803877ad3d898b50d167c9026a465600273e01264af99e59eb1b9cdb2d4&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does LostRuins/koboldcpp have?

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.

### How was the LostRuins/koboldcpp line count measured?

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.

### What commit was counted for LostRuins/koboldcpp?

This OctoCounts report was generated from concedo at commit 6d2fedf8624e on November 2, 2026.

## Similar repository reports

- [opencv/opencv](https://octocounts.com/github/opencv/opencv) — C++, 1,578,337 code lines
- [sarahkittyy/brawlonline.net](https://octocounts.com/github/sarahkittyy/brawlonline.net) — C++, 1,476,000 code lines
- [C-GBL/P3FES-Decompilation](https://octocounts.com/github/C-GBL/P3FES-Decompilation) — C++, 1,631,711 code lines
- [v8/v8](https://octocounts.com/github/v8/v8) — C++, 1,649,323 code lines
- [arangodb/arangodb](https://octocounts.com/github/arangodb/arangodb) — C++, 1,673,211 code lines
- [Snowy-Fluffy/freshGram](https://octocounts.com/github/Snowy-Fluffy/freshGram) — C++, 1,754,946 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
