# infiniflow/ragflow SLOC report

> infiniflow/ragflow: 1,249,111 code lines at commit 5f6d04c8decd, counted with tokei-15.0.0 on 2026-11-16. Saved result 2e369ea30c49ad96f1ee2ba5b4ce1390bb3a88629a2ef4f010623aecbfaff99e.

infiniflow/ragflow has 1,249,111 source lines of code out of 1,527,561 total lines across 5,644 files, counted with tokei from the main ref at commit 5f6d04c8decd on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving infiniflow/ragflow to commit 5f6d04c8decd, 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

infiniflow/ragflow: 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 very large codebase by counted code lines. Code represents 81.8% of all lines, comments represent 10.7%, and the repository averages 221 code lines per file. Go accounts for 64.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 3,205 | 1,018,179 | 802,820 | 129,173 | 86,186 |
| JSON | 235 | 142,652 | 142,643 | 0 | 9 |
| TSX | 969 | 147,220 | 126,903 | 9,171 | 11,146 |
| TypeScript | 653 | 127,001 | 110,496 | 9,036 | 7,469 |
| C++ | 58 | 44,849 | 38,620 | 3,155 | 3,074 |
| Python | 45 | 10,965 | 8,224 | 1,158 | 1,583 |
| C Header | 66 | 9,878 | 5,774 | 2,447 | 1,657 |
| Shell | 25 | 4,208 | 2,740 | 1,024 | 444 |
| SVG | 225 | 2,275 | 2,265 | 7 | 3 |
| LESS | 39 | 2,747 | 2,119 | 364 | 264 |
| C | 10 | 2,228 | 1,600 | 248 | 380 |
| YAML | 21 | 1,938 | 1,552 | 313 | 73 |
| JavaScript | 15 | 1,266 | 1,149 | 45 | 72 |
| CSS | 5 | 1,327 | 1,098 | 56 | 173 |
| TOML | 4 | 380 | 261 | 79 | 40 |
| CMake | 1 | 263 | 207 | 32 | 24 |
| Dockerfile | 2 | 338 | 175 | 111 | 52 |
| PowerShell | 1 | 232 | 174 | 15 | 43 |
| HTML | 5 | 139 | 136 | 0 | 3 |
| Templ | 6 | 72 | 72 | 0 | 0 |
| Makefile | 1 | 93 | 64 | 12 | 17 |
| XML | 2 | 15 | 15 | 0 | 0 |
| SQL | 3 | 4 | 4 | 0 | 0 |
| Markdown | 44 | 9,248 | 0 | 6,773 | 2,475 |
| Plain Text | 4 | 44 | 0 | 33 | 11 |

Top language: Go 64.3%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/infiniflow/ragflow/commit/5f6d04c8decdffbec0d935a1c51568a35c27daef?reportId=2e369ea30c49ad96f1ee2ba5b4ce1390bb3a88629a2ef4f010623aecbfaff99e&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/infiniflow/ragflow/commit/5f6d04c8decdffbec0d935a1c51568a35c27daef?reportId=2e369ea30c49ad96f1ee2ba5b4ce1390bb3a88629a2ef4f010623aecbfaff99e&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 infiniflow/ragflow have?

infiniflow/ragflow has 1,249,111 lines of code, plus 163,252 comment lines and 115,198 blank lines, for 1,527,561 total lines at commit 5f6d04c8decd on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the infiniflow/ragflow line count measured?

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

### What commit was counted for infiniflow/ragflow?

This OctoCounts report was generated from main at commit 5f6d04c8decd on November 16, 2026.

## Similar repository reports

- [openmeterio/openmeter](https://octocounts.com/github/openmeterio/openmeter) — Go, 1,265,470 code lines
- [yetone/magpie](https://octocounts.com/github/yetone/magpie) — Go, 1,214,049 code lines
- [multica-ai/multica](https://octocounts.com/github/multica-ai/multica) — Go, 1,387,953 code lines
- [Wei-Shaw/sub2api](https://octocounts.com/github/Wei-Shaw/sub2api) — Go, 1,115,350 code lines
- [strelov1/freehire](https://octocounts.com/github/strelov1/freehire) — Go, 1,114,566 code lines
- [esengine/DeepSeek-Reasonix](https://octocounts.com/github/esengine/DeepSeek-Reasonix) — Go, 1,107,544 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)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
