cloudflare/cloudflared has 65,333 source lines of code out of 82,023 total lines across 428 files, counted with tokei from the master ref at commit 518d7f7969b7 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-17 (commit 518d7f7969b7), cloudflare/cloudflared contains 82,023 total lines: 65,333 code, 5,732 comments, 10,958 blank, across 428 files in 10 languages (top language: Go 94.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving cloudflare/cloudflared to commit 518d7f7969b7, 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 medium-sized codebase by counted code lines. Code represents 79.7% of all lines, comments represent 7.0%, and the repository averages 153 code lines per file. Go accounts for 94.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 391 | 77005 | 62003 | 4914 | 10088 |
| Python | 21 | 3323 | 2632 | 169 | 522 |
| HTML | 1 | 355 | 284 | 1 | 70 |
| Makefile | 1 | 336 | 257 | 23 | 56 |
| JSON | 2 | 82 | 82 | 0 | 0 |
| YAML | 3 | 30 | 29 | 1 | 0 |
| Dockerfile | 1 | 49 | 24 | 14 | 11 |
| Shell | 3 | 33 | 22 | 8 | 3 |
| Markdown | 4 | 802 | 0 | 594 | 208 |
| Plain Text | 1 | 8 | 0 | 8 | 0 |
Top language: Go 94.9%. Generated on .
cloudflare/cloudflared: 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.
cloudflare/cloudflared has 65,333 lines of code, plus 5,732 comment lines and 10,958 blank lines, for 82,023 total lines at commit 518d7f7969b7 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 518d7f7969b7, 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 master at commit 518d7f7969b7 on November 17, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for cloudflare/cloudflared on this page — 65,333 code lines across 10 languages, counted by tokei.