# infiniflow/ragflow SLOC report

> As of 2026-09-16 (commit 780081177da4), infiniflow/ragflow contains 1,515,650 total lines: 1,231,485 code, 156,300 comments, 127,865 blank, across 5,154 files in 27 languages (top: Go 50.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

infiniflow/ragflow has 1,231,485 source lines of code out of 1,515,650 total lines across 5,154 files, counted from the 780081177da47a77de61a8a200b057517e493d42 ref at commit 780081177da4 by the OctoCounts tokei engine on 2026-09-16. 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 780081177da4, 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.3% of all lines, comments represent 10.3%, and the repository averages 239 code lines per file. Go accounts for 50.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 2,261 | 790,787 | 615,503 | 103,577 | 71,707 |
| Python | 667 | 244,350 | 195,932 | 18,589 | 29,829 |
| JSON | 212 | 151,992 | 151,982 | 0 | 10 |
| TSX | 857 | 134,140 | 116,484 | 8,058 | 9,598 |
| TypeScript | 565 | 106,450 | 92,392 | 7,507 | 6,551 |
| C++ | 54 | 44,478 | 38,318 | 3,117 | 3,043 |
| C Header | 65 | 9,682 | 5,614 | 2,425 | 1,643 |
| YAML | 38 | 3,562 | 2,985 | 470 | 107 |
| Shell | 27 | 4,085 | 2,862 | 801 | 422 |
| SVG | 202 | 2,177 | 2,166 | 8 | 3 |
| LESS | 39 | 2,745 | 2,119 | 363 | 263 |
| C | 10 | 2,222 | 1,598 | 244 | 380 |

Top language (Go 50.0%). Generated at 2026-09-16T01:41:56.884383952+00:00. Canonical report: https://octocounts.com/github/infiniflow/ragflow

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/infiniflow/ragflow/commit/780081177da47a77de61a8a200b057517e493d42?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 infiniflow/ragflow have?

infiniflow/ragflow has 1,515,650 total lines, including 1,231,485 code lines, 156,300 comment lines, and 127,865 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 780081177da4, 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 780081177da47a77de61a8a200b057517e493d42 at commit 780081177da4 on 2026-09-16T01:41:56.884383952+00:00.

## Similar repository reports

- [coder/coder](https://octocounts.com/github/coder/coder) — Go, 1,386,154 code lines
- [apache/plc4x](https://octocounts.com/github/apache/plc4x) — Go, 1,455,182 code lines
- [Wei-Shaw/sub2api](https://octocounts.com/github/Wei-Shaw/sub2api) — Go, 980,164 code lines
- [multica-ai/multica](https://octocounts.com/github/multica-ai/multica) — Go, 973,611 code lines
- [esengine/deepseek-reasonix](https://octocounts.com/github/esengine/deepseek-reasonix) — Go, 973,015 code lines
- [cilium/cilium](https://octocounts.com/github/cilium/cilium) — Go, 963,698 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)
