# Comfy-Org/ComfyUI SLOC report

> Comfy-Org/ComfyUI: 1,353,591 code lines at commit f5c611e3849f, counted with tokei-14.0.0 on 2026-10-21. Saved result 27bbe9db383a4468a5359f21d411bd35c76a3a33550ff7e8fc0f1d0d874339b9.

Comfy-Org/ComfyUI has 1,353,591 source lines of code out of 1,904,845 total lines across 1,170 files, counted from the master ref at commit f5c611e3849f by the OctoCounts tokei engine on 2026-10-21. 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 Comfy-Org/ComfyUI to commit f5c611e3849f, 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 71.1% of all lines, comments represent 26.5%, and the repository averages 1,157 code lines per file. JSON accounts for 79.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 160 | 1,071,254 | 1,071,253 | 0 | 1 |
| Python | 979 | 331,018 | 275,954 | 8,196 | 46,868 |
| YAML | 12 | 6,371 | 6,302 | 6 | 63 |
| TOML | 1 | 75 | 67 | 3 | 5 |
| INI | 2 | 93 | 15 | 62 | 16 |
| Markdown | 9 | 1,102 | 0 | 839 | 263 |
| Plain Text | 7 | 494,932 | 0 | 494,931 | 1 |

Top language (JSON 79.1%). Generated at 2026-10-21T03:36:44.502894865Z. Canonical report: https://octocounts.com/github/Comfy-Org/ComfyUI/commit/f5c611e3849ff7219dfb7d7b251092ab8a9b51dc?reportId=27bbe9db383a4468a5359f21d411bd35c76a3a33550ff7e8fc0f1d0d874339b9&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/Comfy-Org/ComfyUI/commit/f5c611e3849ff7219dfb7d7b251092ab8a9b51dc?reportId=27bbe9db383a4468a5359f21d411bd35c76a3a33550ff7e8fc0f1d0d874339b9&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 Comfy-Org/ComfyUI have?

Comfy-Org/ComfyUI has 1,904,845 total lines, including 1,353,591 code lines, 504,037 comment lines, and 47,217 blank lines.

### How was the Comfy-Org/ComfyUI line count measured?

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

### What commit was counted for Comfy-Org/ComfyUI?

This OctoCounts report was generated from master at commit f5c611e3849f on 2026-10-21T03:36:44.502894865Z.

## Similar repository reports

- [oblien/openship](https://octocounts.com/github/oblien/openship) — JSON, 1,283,354 code lines
- [presenton/presenton](https://octocounts.com/github/presenton/presenton) — JSON, 1,428,114 code lines
- [Dokploy/dokploy](https://octocounts.com/github/Dokploy/dokploy) — JSON, 1,461,684 code lines
- [medplum/medplum](https://octocounts.com/github/medplum/medplum) — JSON, 1,477,279 code lines
- [thingsboard/thingsboard](https://octocounts.com/github/thingsboard/thingsboard) — JSON, 1,519,988 code lines
- [OriginTrail/dkg](https://octocounts.com/github/OriginTrail/dkg) — JSON, 1,199,311 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)
- [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)
