# LostRuins/koboldcpp SLOC report

> As of 2026-09-05 (commit 5d44db60089b), LostRuins/koboldcpp contains 684,220 total lines: 529,734 code, 50,531 comments, 103,955 blank, across 2,241 files in 38 languages (top: C++ 43.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving LostRuins/koboldcpp to commit 5d44db60089b, 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 large codebase by counted code lines. Code represents 77.4% of all lines, comments represent 7.4%, and the repository averages 236 code lines per file. C++ accounts for 43.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 466 | 288,008 | 227,912 | 17,081 | 43,015 |
| C | 40 | 55,507 | 43,306 | 2,585 | 9,616 |
| Python | 78 | 49,031 | 38,527 | 2,839 | 7,665 |
| C Header | 211 | 51,445 | 33,774 | 9,512 | 8,159 |
| HTML | 5 | 35,173 | 25,510 | 6 | 9,657 |
| CUDA | 183 | 22,678 | 18,093 | 1,100 | 3,485 |
| TypeScript | 206 | 27,306 | 17,934 | 6,292 | 3,080 |
| OpenCL | 121 | 20,829 | 17,812 | 0 | 3,017 |
| GLSL | 182 | 19,007 | 15,132 | 625 | 3,250 |
| JSON | 14 | 13,936 | 13,925 | 0 | 11 |
| JavaScript | 6 | 13,781 | 13,707 | 23 | 51 |
| C++ Header | 59 | 16,862 | 13,044 | 1,299 | 2,519 |

Top language (C++ 43.0%). Generated at 2026-09-05T19:38:05.500428861+00:00. Canonical report: https://octocounts.com/github/LostRuins/koboldcpp

## Report FAQ

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

LostRuins/koboldcpp has 684,220 total lines, including 529,734 code lines, 50,531 comment lines, and 103,955 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 5d44db60089b, 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 5d44db60089b0381cdbf7c45ce9ded43fc0c7f4c at commit 5d44db60089b on 2026-09-05T19:38:05.500428861+00:00.

## Similar repository reports

- [noctalia-dev/noctalia](https://octocounts.com/github/noctalia-dev/noctalia) — C++, 523,478 code lines
- [memgraph/memgraph](https://octocounts.com/github/memgraph/memgraph) — C++, 540,246 code lines
- [PointCloudLibrary/pcl](https://octocounts.com/github/PointCloudLibrary/pcl) — C++, 514,267 code lines
- [pointcloudlibrary/pcl](https://octocounts.com/github/pointcloudlibrary/pcl) — C++, 514,267 code lines
- [handy-computer/transcribe.cpp](https://octocounts.com/github/handy-computer/transcribe.cpp) — C++, 492,331 code lines
- [RexarX/HeliosEngine](https://octocounts.com/github/RexarX/HeliosEngine) — C++, 487,354 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)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
