tdlib/td has 574,166 source lines of code out of 734,957 total lines across 1,604 files, counted from the master ref at commit ea3f69ce11ae by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-23 (commit ea3f69ce11ae), tdlib/td contains 734,957 total lines: 574,166 code, 86,694 comments, 74,097 blank, across 1,604 files in 24 languages (top: C++ 52.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving tdlib/td to commit ea3f69ce11ae, 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.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 580 | 346826 | 303304 | 7247 | 36275 |
| C | 5 | 236950 | 168586 | 56485 | 11879 |
| C Header | 786 | 114655 | 73251 | 18055 | 23349 |
| JSON | 3 | 9520 | 9520 | 0 | 0 |
| C++ Header | 132 | 11221 | 9437 | 797 | 987 |
| CMake | 25 | 4128 | 3498 | 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.8%). Generated at .
tdlib/td has 734,957 total lines, including 574,166 code lines, 86,694 comment lines, and 74,097 blank lines.
OctoCounts resolved the public GitHub repository to commit ea3f69ce11ae, 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 ea3f69ce11ae on 2026-10-23T08:39:45.010332796+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,166 code lines across 12 languages, counted by tokei.