tdlib/td has 574,334 source lines of code out of 735,078 total lines across 1,603 files, counted from the master ref at commit 9d92b49bc5d0 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit 9d92b49bc5d0), tdlib/td contains 735,078 total lines: 574,334 code, 86,674 comments, 74,070 blank, across 1,603 files in 24 languages (top: C++ 52.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving tdlib/td to commit 9d92b49bc5d0, 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 78.1% of all lines, comments represent 11.8%, and the repository averages 358 code lines per file. C++ accounts for 52.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 580 | 347137 | 303620 | 7246 | 36271 |
| C | 5 | 236950 | 168586 | 56485 | 11879 |
| C Header | 785 | 114467 | 73105 | 18036 | 23326 |
| JSON | 3 | 9520 | 9520 | 0 | 0 |
| C++ Header | 132 | 11220 | 9436 | 797 | 987 |
| CMake | 25 | 4127 | 3497 | 205 | 425 |
| JavaScript | 6 | 1944 | 1671 | 136 | 137 |
| PHP | 6 | 2091 | 1657 | 218 | 216 |
| Java | 4 | 1176 | 901 | 174 | 101 |
| C# | 4 | 615 | 486 | 76 | 53 |
| Python | 2 | 619 | 461 | 62 | 96 |
| Shell | 13 | 564 | 449 | 22 | 93 |
Top language (C++ 52.9%). Generated at .
tdlib/td has 735,078 total lines, including 574,334 code lines, 86,674 comment lines, and 74,070 blank lines.
OctoCounts resolved the public GitHub repository to commit 9d92b49bc5d0, 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 9d92b49bc5d0 on 2026-10-22T06:11:53.685826351+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for tdlib/td on this page — 574,334 code lines across 12 languages, counted by tokei.