yt-dlp/yt-dlp has 203,422 source lines of code out of 250,246 total lines across 1,108 files, counted with tokei from the master ref at commit 897341241f2b on October 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
yt-dlp/yt-dlp: 203,422 code lines at commit 897341241f2b, counted with tokei-14.0.0 on 2026-10-11. Saved result 20787eb361d0b69956577b2586008467eaf19facb69c4a0908f9f043eea5d00c.
OctoCounts produced this report by resolving yt-dlp/yt-dlp to commit 897341241f2b, 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 large codebase by counted code lines. Code represents 81.3% of all lines, comments represent 8.9%, and the repository averages 184 code lines per file. Python accounts for 99.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 1070 | 229503 | 201955 | 5112 | 22436 |
| JSON | 2 | 498 | 498 | 0 | 0 |
| TOML | 1 | 484 | 454 | 0 | 30 |
| Makefile | 1 | 240 | 200 | 6 | 34 |
| YAML | 1 | 181 | 171 | 0 | 10 |
| Shell | 3 | 89 | 74 | 5 | 10 |
| Autoconf | 3 | 68 | 59 | 1 | 8 |
| Dockerfile | 1 | 16 | 10 | 0 | 6 |
| Batch | 1 | 1 | 1 | 0 | 0 |
| Markdown | 7 | 11263 | 0 | 10076 | 1187 |
| Plain Text | 18 | 7903 | 0 | 6999 | 904 |
Top language: Python 99.3%. Generated on .
yt-dlp/yt-dlp: counting rules unknown; engine tokei-14.0.0.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
yt-dlp/yt-dlp has 203,422 lines of code, plus 22,199 comment lines and 24,625 blank lines, for 250,246 total lines at commit 897341241f2b on October 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 897341241f2b, 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 897341241f2b on October 11, 2026.
Play the growth animation for yt-dlp/yt-dlp on this page — 203,422 code lines across 11 languages, counted by tokei.