# niri-wm/niri SLOC report

> As of 2026-09-06 (commit 4294948cf1c7), niri-wm/niri contains 86,808 total lines: 71,809 code, 4,038 comments, 10,961 blank, across 194 files in 9 languages (top: Rust 98.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

niri-wm/niri has 71,809 source lines of code out of 86,808 total lines across 194 files, counted from the 4294948cf1c70c50e938383c2c865d7ca455ac7e ref at commit 4294948cf1c7 by the OctoCounts tokei engine on 2026-09-06. 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 4294948cf1c7, 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.7% of all lines, comments represent 4.7%, and the repository averages 370 code lines per file. Rust accounts for 98.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 161 | 85,115 | 70,745 | 3,718 | 10,652 |
| GLSL | 17 | 751 | 550 | 43 | 158 |
| TOML | 7 | 273 | 234 | 14 | 25 |
| Nix | 1 | 269 | 202 | 36 | 31 |
| 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 | 278 | 0 | 201 | 77 |

Top language (Rust 98.5%). Generated at 2026-09-06T00:16:32.377170795+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/4294948cf1c70c50e938383c2c865d7ca455ac7e?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 86,808 total lines, including 71,809 code lines, 4,038 comment lines, and 10,961 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 4294948cf1c7, 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 4294948cf1c70c50e938383c2c865d7ca455ac7e at commit 4294948cf1c7 on 2026-09-06T00:16:32.377170795+00:00.

## Similar repository reports

- [acsandmann/rift](https://octocounts.com/github/acsandmann/rift) — Rust, 71,357 code lines
- [tree-sitter/tree-sitter](https://octocounts.com/github/tree-sitter/tree-sitter) — Rust, 72,382 code lines
- [Ranrar/Marco](https://octocounts.com/github/Ranrar/Marco) — Rust, 72,645 code lines
- [insightlabs38-pixel/AICAD](https://octocounts.com/github/insightlabs38-pixel/AICAD) — Rust, 70,947 code lines
- [sxyazi/yazi](https://octocounts.com/github/sxyazi/yazi) — Rust, 70,628 code lines
- [3899/SimAdmin](https://octocounts.com/github/3899/SimAdmin) — Rust, 73,025 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)
