# langgenius/dify SLOC report

> langgenius/dify: 1,117,298 code lines at commit 07a1debf7cea, counted with tokei-14.0.0 on 2026-10-22. Saved result d4a04505f3989781b96979a166cf672952613535c6cc4f077e76000e89972a08.

langgenius/dify has 1,117,298 source lines of code out of 1,317,959 total lines across 9,384 files, counted from the main ref at commit 07a1debf7cea 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 langgenius/dify to commit 07a1debf7cea, 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 84.8% of all lines, comments represent 5.8%, and the repository averages 119 code lines per file. Python accounts for 33.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 2,465 | 444,386 | 374,433 | 10,246 | 59,707 |
| TSX | 2,614 | 344,484 | 320,228 | 2,011 | 22,245 |
| TypeScript | 1,673 | 192,430 | 169,586 | 3,474 | 19,370 |
| JSON | 1,413 | 167,009 | 167,007 | 0 | 2 |
| JavaScript | 117 | 55,569 | 27,957 | 23,339 | 4,273 |
| YAML | 45 | 27,535 | 23,857 | 420 | 3,258 |
| Go | 66 | 12,438 | 10,558 | 646 | 1,234 |
| SVG | 642 | 9,601 | 9,595 | 0 | 6 |
| CSS | 65 | 8,186 | 6,965 | 239 | 982 |
| Shell | 27 | 2,969 | 2,125 | 407 | 437 |
| HTML | 60 | 1,715 | 1,511 | 29 | 175 |
| Gherkin (Cucumber) | 40 | 1,369 | 1,260 | 0 | 109 |
| TOML | 43 | 944 | 776 | 43 | 125 |
| Makefile | 3 | 424 | 330 | 32 | 62 |
| BASH | 11 | 413 | 306 | 36 | 71 |
| Dockerfile | 7 | 447 | 286 | 73 | 88 |
| PowerShell | 2 | 331 | 256 | 40 | 35 |
| PHP | 1 | 206 | 173 | 0 | 33 |
| INI | 2 | 92 | 71 | 9 | 12 |
| XML | 1 | 17 | 17 | 0 | 0 |
| SQL | 1 | 1 | 1 | 0 | 0 |
| Markdown | 84 | 47,354 | 0 | 35,243 | 12,111 |
| Plain Text | 2 | 39 | 0 | 37 | 2 |

Top language (Python 33.5%). Generated at 2026-10-22T05:21:55.446366177Z. Canonical report: https://octocounts.com/github/langgenius/dify/commit/07a1debf7cea2c214639f8d16907cc0d7ccf950f?reportId=d4a04505f3989781b96979a166cf672952613535c6cc4f077e76000e89972a08&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/langgenius/dify/commit/07a1debf7cea2c214639f8d16907cc0d7ccf950f?reportId=d4a04505f3989781b96979a166cf672952613535c6cc4f077e76000e89972a08&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 langgenius/dify have?

langgenius/dify has 1,317,959 total lines, including 1,117,298 code lines, 76,324 comment lines, and 124,337 blank lines.

### How was the langgenius/dify line count measured?

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

### What commit was counted for langgenius/dify?

This OctoCounts report was generated from main at commit 07a1debf7cea on 2026-10-22T05:21:55.446366177Z.

## Similar repository reports

- [huggingface/transformers](https://octocounts.com/github/huggingface/transformers) — Python, 1,049,862 code lines
- [Significant-Gravitas/AutoGPT](https://octocounts.com/github/Significant-Gravitas/AutoGPT) — Python, 1,049,578 code lines
- [agentscope-ai/QwenPaw](https://octocounts.com/github/agentscope-ai/QwenPaw) — Python, 1,271,394 code lines
- [houmo-ai/postmo-quantflow](https://octocounts.com/github/houmo-ai/postmo-quantflow) — Python, 1,321,386 code lines
- [apache/airflow](https://octocounts.com/github/apache/airflow) — Python, 906,561 code lines
- [unslothai/unsloth](https://octocounts.com/github/unslothai/unsloth) — Python, 1,406,112 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
