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.
As of 2026-10-22 (commit d7c8e1730da3), infiniflow/ragflow contains 1,394,463 total lines: 1,138,656 code, 149,763 comments, 106,044 blank, across 4,980 files in 25 languages (top: Go 62.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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.
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 | 2754 | 907846 | 711378 | 117524 | 78944 |
| JSON | 218 | 139766 | 139757 | 0 | 9 |
| TSX | 860 | 134978 | 116635 | 8391 | 9952 |
| TypeScript | 594 | 121879 | 106315 | 8533 | 7031 |
| C++ | 54 | 44612 | 38407 | 3152 | 3053 |
| Python | 49 | 9916 | 7461 | 1043 | 1412 |
| C Header | 65 | 9693 | 5618 | 2430 | 1645 |
| Shell | 21 | 3664 | 2477 | 775 | 412 |
| SVG | 209 | 2225 | 2215 | 7 | 3 |
| LESS | 39 | 2749 | 2122 | 363 | 264 |
| C | 10 | 2228 | 1600 | 248 | 380 |
| YAML | 21 | 1931 | 1532 | 326 | 73 |
Top language (Go 62.5%). Generated at .
infiniflow/ragflow has 1,394,463 total lines, including 1,138,656 code lines, 149,763 comment lines, and 106,044 blank lines.
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.
This OctoCounts report was generated from main at commit d7c8e1730da3 on 2026-10-22T05:13:12.606236287+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for infiniflow/ragflow on this page — 1,138,656 code lines across 12 languages, counted by tokei.