# koreader/koreader SLOC report

> As of 2026-08-26 (commit 5e45c4b5c7bc), koreader/koreader contains 235,679 total lines: 196,346 code, 23,914 comments, 15,419 blank, across 851 files in 14 languages (top: Lua 91.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

koreader/koreader has 196,346 source lines of code out of 235,679 total lines across 851 files, counted from the master ref at commit 5e45c4b5c7bc by the OctoCounts tokei engine on 2026-08-26. 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 koreader/koreader to commit 5e45c4b5c7bc, 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 83.3% of all lines, comments represent 10.1%, and the repository averages 231 code lines per file. Lua accounts for 91.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Lua | 558 | 216,350 | 180,173 | 22,018 | 14,159 |
| SVG | 130 | 9,499 | 9,175 | 1 | 323 |
| Shell | 36 | 4,927 | 3,547 | 815 | 565 |
| JSON | 5 | 818 | 818 | 0 | 0 |
| XML | 3 | 708 | 695 | 1 | 12 |
| BASH | 1 | 777 | 660 | 64 | 53 |
| Makefile | 21 | 768 | 555 | 86 | 127 |
| Python | 2 | 668 | 516 | 97 | 55 |
| XAML | 18 | 93 | 93 | 0 | 0 |
| Pan | 1 | 89 | 73 | 13 | 3 |
| Nix | 1 | 38 | 35 | 1 | 2 |
| INI | 1 | 11 | 6 | 5 | 0 |

Top language (Lua 91.8%). Generated at 2026-08-26T07:15:07.736916615+00:00. Canonical report: https://octocounts.com/github/koreader/koreader

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/koreader/koreader/commit/5e45c4b5c7bc5d29dee5ce98b3e9c380905788d8?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).

## Report FAQ

### How many lines of code does koreader/koreader have?

koreader/koreader has 235,679 total lines, including 196,346 code lines, 23,914 comment lines, and 15,419 blank lines.

### How was the koreader/koreader line count measured?

OctoCounts resolved the public GitHub repository to commit 5e45c4b5c7bc, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for koreader/koreader?

This OctoCounts report was generated from master at commit 5e45c4b5c7bc on 2026-08-26T07:15:07.736916615+00:00.

## Similar repository reports

- [noctalia-dev/community-plugins](https://octocounts.com/github/noctalia-dev/community-plugins) — Lua, 184,781 code lines
- [AnthonyGress/zen_ui.koplugin](https://octocounts.com/github/AnthonyGress/zen_ui.koplugin) — Lua, 162,610 code lines
- [xmake-io/xmake](https://octocounts.com/github/xmake-io/xmake) — Lua, 153,244 code lines
- [megalithic/dotfiles](https://octocounts.com/github/megalithic/dotfiles) — Lua, 93,207 code lines
- [carlos-algms/agentic.nvim](https://octocounts.com/github/carlos-algms/agentic.nvim) — Lua, 40,036 code lines
- [saya-ashen/agent-workbench.nvim](https://octocounts.com/github/saya-ashen/agent-workbench.nvim) — Lua, 35,936 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [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)
- [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)
