# niri-wm/niri SLOC report

> As of 2026-10-08 (commit 2c82b77a7116), niri-wm/niri contains 90,004 total lines: 74,356 code, 4,343 comments, 11,305 blank, across 196 files in 9 languages (top: Rust 98.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

niri-wm/niri has 74,356 source lines of code out of 90,004 total lines across 196 files, counted from the main ref at commit 2c82b77a7116 by the OctoCounts tokei engine on 2026-10-08. 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 niri-wm/niri to commit 2c82b77a7116, 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 medium-sized codebase by counted code lines. Code represents 82.6% of all lines, comments represent 4.8%, and the repository averages 379 code lines per file. Rust accounts for 98.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 163 | 88,317 | 73,299 | 4,024 | 10,994 |
| GLSL | 17 | 751 | 550 | 43 | 158 |
| TOML | 7 | 272 | 236 | 11 | 25 |
| Nix | 1 | 247 | 193 | 24 | 30 |
| Shell | 1 | 95 | 54 | 26 | 15 |
| XML | 1 | 18 | 15 | 0 | 3 |
| HTML | 1 | 6 | 6 | 0 | 0 |
| CSS | 1 | 3 | 3 | 0 | 0 |
| Markdown | 4 | 295 | 0 | 215 | 80 |

Top language (Rust 98.6%). Generated at 2026-10-08T22:21:30.586617576+00:00. Canonical report: https://octocounts.com/github/niri-wm/niri

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/niri-wm/niri/commit/2c82b77a7116a1241ea2fd41dd008ff00b609aae?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 niri-wm/niri have?

niri-wm/niri has 90,004 total lines, including 74,356 code lines, 4,343 comment lines, and 11,305 blank lines.

### How was the niri-wm/niri line count measured?

OctoCounts resolved the public GitHub repository to commit 2c82b77a7116, 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 2c82b77a7116 on 2026-10-08T22:21:30.586617576+00:00.

## Similar repository reports

- [julyx10/lap](https://octocounts.com/github/julyx10/lap) — Rust, 74,439 code lines
- [tree-sitter/tree-sitter](https://octocounts.com/github/tree-sitter/tree-sitter) — Rust, 74,490 code lines
- [schpet/linear-cli](https://octocounts.com/github/schpet/linear-cli) — Rust, 74,174 code lines
- [SimoHypers/limusic](https://octocounts.com/github/SimoHypers/limusic) — Rust, 73,214 code lines
- [lark-sh/lark](https://octocounts.com/github/lark-sh/lark) — Rust, 75,922 code lines
- [sxyazi/yazi](https://octocounts.com/github/sxyazi/yazi) — Rust, 72,786 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [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)
