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.
As of 2026-11-16 (commit 5f6d04c8decd), infiniflow/ragflow contains 1,527,561 total lines: 1,249,111 code, 163,252 comments, 115,198 blank, across 5,644 files in 25 languages (top language: Go 64.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 3205 | 1018179 | 802820 | 129173 | 86186 |
| JSON | 235 | 142652 | 142643 | 0 | 9 |
| TSX | 969 | 147220 | 126903 | 9171 | 11146 |
| TypeScript | 653 | 127001 | 110496 | 9036 | 7469 |
| C++ | 58 | 44849 | 38620 | 3155 | 3074 |
| Python | 45 | 10965 | 8224 | 1158 | 1583 |
| C Header | 66 | 9878 | 5774 | 2447 | 1657 |
| Shell | 25 | 4208 | 2740 | 1024 | 444 |
| SVG | 225 | 2275 | 2265 | 7 | 3 |
| LESS | 39 | 2747 | 2119 | 364 | 264 |
| C | 10 | 2228 | 1600 | 248 | 380 |
| YAML | 21 | 1938 | 1552 | 313 | 73 |
Top language: Go 64.3%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit 5f6d04c8decd on November 16, 2026.
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,249,111 code lines across 25 languages, counted by tokei.