# LostRuins/koboldcpp SLOC report

> As of 2026-10-18 (commit 76e77f34056c), LostRuins/koboldcpp contains 1,632,966 total lines: 1,278,632 code, 163,954 comments, 190,380 blank, across 2,498 files in 32 languages (top: C++ Header 28.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

LostRuins/koboldcpp has 1,278,632 source lines of code out of 1,632,966 total lines across 2,498 files, counted from the concedo ref at commit 76e77f34056c by the OctoCounts tokei engine on 2026-10-18. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving LostRuins/koboldcpp to commit 76e77f34056c, 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 78.3% of all lines, comments represent 10.0%, and the repository averages 512 code lines per file. C++ Header accounts for 28.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 121 | 437,696 | 370,075 | 18,106 | 49,515 |
| C++ | 511 | 374,877 | 300,166 | 20,757 | 53,954 |
| C | 37 | 195,165 | 161,513 | 8,171 | 25,481 |
| C Header | 413 | 185,406 | 140,399 | 20,622 | 24,385 |
| JSON | 70 | 101,107 | 101,092 | 0 | 15 |
| Python | 153 | 69,445 | 56,752 | 3,609 | 9,084 |
| CUDA | 192 | 39,616 | 31,772 | 1,662 | 6,182 |
| TypeScript | 343 | 45,955 | 29,325 | 9,711 | 6,919 |
| JavaScript | 14 | 38,218 | 25,383 | 9,678 | 3,157 |
| GLSL | 192 | 25,155 | 20,197 | 867 | 4,091 |
| Svelte | 338 | 13,452 | 11,878 | 124 | 1,450 |
| Metal Shading Language | 37 | 13,760 | 10,615 | 497 | 2,648 |

Top language (C++ Header 28.9%). Generated at 2026-10-18T21:33:42.383863269+00:00. Canonical report: https://octocounts.com/github/LostRuins/koboldcpp

## Reproduce this report

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

## Report FAQ

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

LostRuins/koboldcpp has 1,632,966 total lines, including 1,278,632 code lines, 163,954 comment lines, and 190,380 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 76e77f34056c, 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 76e77f34056c on 2026-10-18T21:33:42.383863269+00:00.

## 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)
