niri-wm/niri SLOC report
As of 2026-05-11 (commit 38191826cb1e), niri-wm/niri contains 103,951 total lines: 79,447 code, 10,373 comments, 14,131 blank, across 270 files in 12 languages (top: Rust 94.8%). Counted with tokei via OctoCounts.
Repository size insights
This is a medium-sized codebase by counted code lines. Code represents 76.4% of all lines, comments represent 10.0%, and the repository averages 294 code lines per file. Rust accounts for 94.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Rust | 175 | 91100 | 75307 | 4248 | 11545 |
| SVG | 7 | 2702 | 2696 | 3 | 3 |
| GLSL | 20 | 1237 | 721 | 270 | 246 |
| TOML | 8 | 287 | 245 | 16 | 26 |
| Nix | 1 | 269 | 202 | 36 | 31 |
| YAML | 1 | 118 | 116 | 1 | 1 |
| CSS | 2 | 69 | 56 | 1 | 12 |
| Shell | 1 | 95 | 54 | 26 | 15 |
| Python | 2 | 63 | 29 | 26 | 8 |
| XML | 1 | 18 | 15 | 0 | 3 |
| HTML | 1 | 6 | 6 | 0 | 0 |
| Markdown | 51 | 7987 | 0 | 5746 | 2241 |
Top language (Rust 94.8%). Generated at 2026-05-11T06:12:33.360579943+00:00.
Report FAQ
How many lines of code does niri-wm/niri have?
niri-wm/niri has 103,951 total lines, including 79,447 code lines, 10,373 comment lines, and 14,131 blank lines.
How was the niri-wm/niri line count measured?
OctoCounts resolved the public GitHub repository to commit 38191826cb1e, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for niri-wm/niri?
This OctoCounts report was generated from main at commit 38191826cb1e on 2026-05-11T06:12:33.360579943+00:00.