yt-dlp/yt-dlp has 203,422 source lines of code out of 250,246 total lines across 1,108 files, counted from the master ref at commit 897341241f2b by the OctoCounts tokei engine on 2026-10-11. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-11 (commit 897341241f2b), yt-dlp/yt-dlp contains 250,246 total lines: 203,422 code, 22,199 comments, 24,625 blank, across 1,108 files in 11 languages (top: Python 99.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving yt-dlp/yt-dlp to commit 897341241f2b, 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.
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 at .
yt-dlp/yt-dlp has 250,246 total lines, including 203,422 code lines, 22,199 comment lines, and 24,625 blank lines.
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 2026-10-11T02:53:28.409387337+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for yt-dlp/yt-dlp on this page — 203,422 code lines across 11 languages, counted by tokei.