# langgenius/dify SLOC report

> As of 2026-09-16 (commit 9c6c48b50ba9), langgenius/dify contains 1,308,492 total lines: 1,118,531 code, 69,171 comments, 120,790 blank, across 9,306 files in 23 languages (top: Python 30.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

langgenius/dify has 1,118,531 source lines of code out of 1,308,492 total lines across 9,306 files, counted from the main ref at commit 9c6c48b50ba9 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 langgenius/dify to commit 9c6c48b50ba9, 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 85.5% of all lines, comments represent 5.3%, and the repository averages 120 code lines per file. Python accounts for 30.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 2,190 | 403,602 | 338,552 | 10,229 | 54,821 |
| TSX | 2,825 | 346,198 | 320,008 | 2,512 | 23,678 |
| JSON | 1,361 | 203,983 | 203,981 | 0 | 2 |
| TypeScript | 1,732 | 192,481 | 167,534 | 3,785 | 21,162 |
| JavaScript | 136 | 58,770 | 30,839 | 23,366 | 4,565 |
| YAML | 39 | 27,633 | 23,811 | 407 | 3,415 |
| Go | 65 | 12,308 | 10,431 | 647 | 1,230 |
| SVG | 637 | 9,584 | 9,578 | 0 | 6 |
| CSS | 67 | 8,192 | 6,969 | 238 | 985 |
| Shell | 26 | 2,915 | 2,093 | 393 | 429 |
| HTML | 60 | 1,715 | 1,511 | 29 | 175 |
| Gherkin (Cucumber) | 37 | 1,129 | 1,054 | 0 | 75 |

Top language (Python 30.3%). Generated at 2026-09-16T15:49:00.337626939+00:00. Canonical report: https://octocounts.com/github/langgenius/dify

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/langgenius/dify/commit/9c6c48b50ba99512801873350702326a44dc62de?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 langgenius/dify have?

langgenius/dify has 1,308,492 total lines, including 1,118,531 code lines, 69,171 comment lines, and 120,790 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 9c6c48b50ba9, 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 9c6c48b50ba9 on 2026-09-16T15:49:00.337626939+00:00.

## Similar repository reports

- [agentscope-ai/QwenPaw](https://octocounts.com/github/agentscope-ai/QwenPaw) — Python, 1,140,238 code lines
- [huggingface/transformers](https://octocounts.com/github/huggingface/transformers) — Python, 1,038,193 code lines
- [NousResearch/hermes-agent](https://octocounts.com/github/NousResearch/hermes-agent) — Python, 1,268,423 code lines
- [nousresearch/hermes-agent](https://octocounts.com/github/nousresearch/hermes-agent) — Python, 1,373,652 code lines
- [volcengine/openviking](https://octocounts.com/github/volcengine/openviking) — Python, 848,685 code lines
- [unslothai/unsloth](https://octocounts.com/github/unslothai/unsloth) — Python, 823,519 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)
