# HKUDS/LightRAG SLOC report

> HKUDS/LightRAG: 193,922 code lines at commit 327d183106df, counted with tokei-15.0.0 on 2026-11-16. Saved result d1ac00fde85e5b702ef32eab9a41cc605b6d18f06c02dcd4bbf30c042dc7cd1e.

HKUDS/LightRAG has 193,922 source lines of code out of 252,772 total lines across 579 files, counted with tokei from the main ref at commit 327d183106df on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving HKUDS/LightRAG to commit 327d183106df, 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

HKUDS/LightRAG: tokei-15.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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 76.7% of all lines, comments represent 13.9%, and the repository averages 335 code lines per file. Python accounts for 78.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 235 | 190,258 | 151,512 | 21,900 | 16,846 |
| TSX | 106 | 19,260 | 14,569 | 2,806 | 1,885 |
| TypeScript | 118 | 18,146 | 11,843 | 4,302 | 2,001 |
| Shell | 22 | 9,012 | 7,083 | 734 | 1,195 |
| JSON | 18 | 6,787 | 6,784 | 0 | 3 |
| YAML | 32 | 1,398 | 1,010 | 329 | 59 |
| JavaScript | 3 | 334 | 310 | 22 | 2 |
| CSS | 2 | 283 | 215 | 42 | 26 |
| TOML | 2 | 276 | 193 | 65 | 18 |
| Pan | 1 | 191 | 186 | 0 | 5 |
| Makefile | 1 | 129 | 107 | 4 | 18 |
| Dockerfile | 1 | 146 | 72 | 43 | 31 |
| HTML | 2 | 34 | 32 | 2 | 0 |
| Autoconf | 1 | 5 | 5 | 0 | 0 |
| SVG | 1 | 1 | 1 | 0 | 0 |
| Markdown | 29 | 6,375 | 0 | 4,649 | 1,726 |
| Plain Text | 5 | 137 | 0 | 125 | 12 |

Top language: Python 78.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/HKUDS/LightRAG/commit/327d183106dff0c96daa05f2235a98620db6ea8a?reportId=d1ac00fde85e5b702ef32eab9a41cc605b6d18f06c02dcd4bbf30c042dc7cd1e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/HKUDS/LightRAG/commit/327d183106dff0c96daa05f2235a98620db6ea8a?reportId=d1ac00fde85e5b702ef32eab9a41cc605b6d18f06c02dcd4bbf30c042dc7cd1e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does HKUDS/LightRAG have?

HKUDS/LightRAG has 193,922 lines of code, plus 35,023 comment lines and 23,827 blank lines, for 252,772 total lines at commit 327d183106df on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the HKUDS/LightRAG line count measured?

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

### What commit was counted for HKUDS/LightRAG?

This OctoCounts report was generated from main at commit 327d183106df on November 16, 2026.

## Similar repository reports

- [foryourhealth111-pixel/Vibe-Skills](https://octocounts.com/github/foryourhealth111-pixel/Vibe-Skills) — Python, 194,040 code lines
- [exteraless/chaquopy](https://octocounts.com/github/exteraless/chaquopy) — Python, 192,610 code lines
- [maximsokal/Blender_to_Spine_2D_Mesh_Export_Addon](https://octocounts.com/github/maximsokal/Blender_to_Spine_2D_Mesh_Export_Addon) — Python, 192,029 code lines
- [ostris/ai-toolkit](https://octocounts.com/github/ostris/ai-toolkit) — Python, 191,937 code lines
- [SanAntonio021/agents-skills](https://octocounts.com/github/SanAntonio021/agents-skills) — Python, 196,433 code lines
- [tradecatlabs-yongsheng-tv/human_infra](https://octocounts.com/github/tradecatlabs-yongsheng-tv/human_infra) — Python, 196,541 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
