HKUDS/LightRAG has 177,807 source lines of code out of 232,012 total lines across 555 files, counted from the 453dce83d6d0354a06e46c8d4029a0895c4e054b ref at commit 453dce83d6d0 by the OctoCounts tokei engine on 2026-10-18. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.
As of 2026-10-18 (commit 453dce83d6d0), HKUDS/LightRAG contains 232,012 total lines: 177,807 code, 32,098 comments, 22,107 blank, across 555 files in 17 languages (top: Python 76.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving HKUDS/LightRAG to commit 453dce83d6d0, downloading the repository source archive, and counting files selected by the effective rules 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, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.
This is a large codebase by counted code lines. Code represents 76.6% of all lines, comments represent 13.8%, and the repository averages 320 code lines per file. Python accounts for 76.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 217 | 171713 | 136423 | 19846 | 15444 |
| TSX | 103 | 18677 | 14107 | 2759 | 1811 |
| TypeScript | 118 | 18042 | 11779 | 4271 | 1992 |
| JSON | 18 | 6763 | 6760 | 0 | 3 |
| Shell | 22 | 8309 | 6628 | 535 | 1146 |
| YAML | 31 | 1371 | 994 | 318 | 59 |
| JavaScript | 3 | 334 | 310 | 22 | 2 |
| CSS | 2 | 283 | 215 | 42 | 26 |
| TOML | 2 | 253 | 188 | 48 | 17 |
| Pan | 1 | 191 | 186 | 0 | 5 |
| Makefile | 1 | 129 | 107 | 4 | 18 |
| Dockerfile | 1 | 146 | 72 | 43 | 31 |
Top language (Python 76.7%). Generated at .
HKUDS/LightRAG: tokei-14.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
HKUDS/LightRAG has 232,012 total lines, including 177,807 code lines, 32,098 comment lines, and 22,107 blank lines.
OctoCounts resolved the public GitHub repository to commit 453dce83d6d0, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from 453dce83d6d0354a06e46c8d4029a0895c4e054b at commit 453dce83d6d0 on 2026-10-18T18:58:39.875739772+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for HKUDS/LightRAG on this page — 177,807 code lines across 12 languages, counted by tokei.