# infiniflow/ragflow SLOC report

> infiniflow/ragflow: 1,138,656 code lines at commit d7c8e1730da3, counted with tokei-14.0.0 on 2026-10-22. Saved result d3ed65d33fdabe5bf23af179116820a61de21d3b2eb680af5400ac9f4b24ffe1.

infiniflow/ragflow has 1,138,656 source lines of code out of 1,394,463 total lines across 4,980 files, counted from the main ref at commit d7c8e1730da3 by the OctoCounts tokei engine on 2026-10-22. 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 infiniflow/ragflow to commit d7c8e1730da3, 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 very large codebase by counted code lines. Code represents 81.7% of all lines, comments represent 10.7%, and the repository averages 229 code lines per file. Go accounts for 62.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,754 | 907,846 | 711,378 | 117,524 | 78,944 |
| JSON | 218 | 139,766 | 139,757 | 0 | 9 |
| TSX | 860 | 134,978 | 116,635 | 8,391 | 9,952 |
| TypeScript | 594 | 121,879 | 106,315 | 8,533 | 7,031 |
| C++ | 54 | 44,612 | 38,407 | 3,152 | 3,053 |
| Python | 49 | 9,916 | 7,461 | 1,043 | 1,412 |
| C Header | 65 | 9,693 | 5,618 | 2,430 | 1,645 |
| Shell | 21 | 3,664 | 2,477 | 775 | 412 |
| SVG | 209 | 2,225 | 2,215 | 7 | 3 |
| LESS | 39 | 2,749 | 2,122 | 363 | 264 |
| C | 10 | 2,228 | 1,600 | 248 | 380 |
| YAML | 21 | 1,931 | 1,532 | 326 | 73 |
| CSS | 4 | 1,310 | 1,082 | 55 | 173 |
| JavaScript | 11 | 1,159 | 1,055 | 45 | 59 |
| TOML | 4 | 380 | 261 | 79 | 40 |
| PowerShell | 1 | 232 | 174 | 15 | 43 |
| Dockerfile | 2 | 298 | 158 | 91 | 49 |
| CMake | 1 | 176 | 141 | 17 | 18 |
| HTML | 5 | 139 | 136 | 0 | 3 |
| Templ | 5 | 60 | 60 | 0 | 0 |
| Makefile | 1 | 81 | 54 | 12 | 15 |
| XML | 2 | 14 | 14 | 0 | 0 |
| SQL | 3 | 4 | 4 | 0 | 0 |
| Markdown | 43 | 9,079 | 0 | 6,624 | 2,455 |
| Plain Text | 4 | 44 | 0 | 33 | 11 |

Top language (Go 62.5%). Generated at 2026-10-22T05:13:12.606236287Z. Canonical report: https://octocounts.com/github/infiniflow/ragflow/commit/d7c8e1730da37f8ea236a8be5f22b54e28873961?reportId=d3ed65d33fdabe5bf23af179116820a61de21d3b2eb680af5400ac9f4b24ffe1&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/d7c8e1730da37f8ea236a8be5f22b54e28873961?reportId=d3ed65d33fdabe5bf23af179116820a61de21d3b2eb680af5400ac9f4b24ffe1&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,394,463 total lines, including 1,138,656 code lines, 149,763 comment lines, and 106,044 blank lines.

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

OctoCounts resolved the public GitHub repository to commit d7c8e1730da3, 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 d7c8e1730da3 on 2026-10-22T05:13:12.606236287Z.

## Similar repository reports

- [OrchestratorInc/agent-orchestrator](https://octocounts.com/github/OrchestratorInc/agent-orchestrator) — Go, 1,152,377 code lines
- [multica-ai/multica](https://octocounts.com/github/multica-ai/multica) — Go, 1,122,965 code lines
- [esengine/DeepSeek-Reasonix](https://octocounts.com/github/esengine/DeepSeek-Reasonix) — Go, 1,103,720 code lines
- [Wei-Shaw/sub2api](https://octocounts.com/github/Wei-Shaw/sub2api) — Go, 1,056,662 code lines
- [openmeterio/openmeter](https://octocounts.com/github/openmeterio/openmeter) — Go, 1,240,382 code lines
- [cilium/cilium](https://octocounts.com/github/cilium/cilium) — Go, 982,420 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)
- [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)
