# LostRuins/koboldcpp SLOC report

> LostRuins/koboldcpp: 1,169,474 code lines at commit 6b23d9670604, counted with tokei-14.0.0 on 2026-10-08. Saved result 7137556f8b1136c2a2eceb535f1abaf08704168489e94c93980745354cd9e23e.

LostRuins/koboldcpp has 1,169,474 source lines of code out of 1,506,865 total lines across 2,376 files, counted from the concedo ref at commit 6b23d9670604 by the OctoCounts tokei engine on 2026-10-08. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.

OctoCounts produced this report by resolving LostRuins/koboldcpp to commit 6b23d9670604, 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, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.

## Counting rules and retention

LostRuins/koboldcpp: counting rules unknown; engine tokei-14.0.0.

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 77.6% of all lines, comments represent 10.5%, and the repository averages 492 code lines per file. C++ Header accounts for 31.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 114 | 433,738 | 366,629 | 17,970 | 49,139 |
| C++ | 500 | 360,444 | 288,279 | 19,828 | 52,337 |
| C Header | 399 | 179,060 | 135,936 | 19,594 | 23,530 |
| JSON | 70 | 101,034 | 101,019 | 0 | 15 |
| C | 18 | 103,738 | 79,562 | 5,853 | 18,323 |
| Python | 151 | 68,068 | 55,634 | 3,513 | 8,921 |
| CUDA | 192 | 38,493 | 30,875 | 1,586 | 6,032 |
| TypeScript | 324 | 42,659 | 27,232 | 9,072 | 6,355 |
| JavaScript | 14 | 38,219 | 25,384 | 9,678 | 3,157 |
| GLSL | 190 | 23,961 | 19,215 | 836 | 3,910 |
| Svelte | 302 | 12,163 | 10,742 | 79 | 1,342 |
| Metal Shading Language | 20 | 12,301 | 9,483 | 433 | 2,385 |
| C++ Module | 1 | 8,520 | 6,048 | 1,250 | 1,222 |
| Objective-C | 2 | 3,297 | 2,443 | 206 | 648 |
| 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 | 16 | 1,526 | 1,148 | 167 | 211 |
| Makefile | 1 | 997 | 824 | 53 | 120 |
| CSS | 2 | 994 | 816 | 48 | 130 |
| CMake | 7 | 848 | 701 | 51 | 96 |
| Jupyter Notebooks | 1 | 303 | 248 | 28 | 27 |
| XML | 1 | 304 | 122 | 159 | 23 |
| YAML | 4 | 82 | 78 | 3 | 1 |
| Autoconf | 3 | 92 | 58 | 16 | 18 |
| Batch | 6 | 63 | 54 | 3 | 6 |
| TOML | 1 | 45 | 38 | 0 | 7 |
| HTML | 1 | 23 | 18 | 0 | 5 |
| Sass | 1 | 16 | 10 | 4 | 2 |
| INI | 1 | 7 | 7 | 0 | 0 |
| SVG | 1 | 7 | 7 | 0 | 0 |
| Markdown | 22 | 3,011 | 0 | 2,279 | 732 |
| Plain Text | 8 | 65,621 | 0 | 65,617 | 4 |

Top language (C++ Header 31.3%). Generated at 2026-10-08T22:17:23.753770704Z. Canonical report: https://octocounts.com/github/LostRuins/koboldcpp/commit/6b23d96706048e9542a02d809125cb789c6cfeff?reportId=7137556f8b1136c2a2eceb535f1abaf08704168489e94c93980745354cd9e23e&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/6b23d96706048e9542a02d809125cb789c6cfeff?reportId=7137556f8b1136c2a2eceb535f1abaf08704168489e94c93980745354cd9e23e&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,506,865 total lines, including 1,169,474 code lines, 158,461 comment lines, and 178,930 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 6b23d9670604, 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 6b23d9670604 on 2026-10-08T22:17:23.753770704Z.

## Similar repository reports

- [lightvector/KataGo](https://octocounts.com/github/lightvector/KataGo) — C++ Header, 702,153 code lines
- [love2d/love](https://octocounts.com/github/love2d/love) — C++ Header, 684,888 code lines
- [gexgd0419/NaturalVoiceSAPIAdapter](https://octocounts.com/github/gexgd0419/NaturalVoiceSAPIAdapter) — C++ Header, 230,023 code lines
- [mysql/mysql-server](https://octocounts.com/github/mysql/mysql-server) — C++ Header, 7,187,066 code lines
- [juzzlin/DustRacing2D](https://octocounts.com/github/juzzlin/DustRacing2D) — C++ Header, 139,176 code lines
- [vtil-project/VTIL-Core](https://octocounts.com/github/vtil-project/VTIL-Core) — C++ Header, 111,669 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)
- [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)
