tdlib/td

tdlib/td has 578,070 source lines of code out of 739,418 total lines across 1,607 files, counted with tokei from the master ref at commit ba976cb4aba5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-16 (commit ba976cb4aba5), tdlib/td contains 739,418 total lines: 578,070 code, 86,773 comments, 74,575 blank, across 1,607 files in 24 languages (top language: C++ 53.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-16 (commit ba976cb4aba5), tdlib/td contains 739,418 total lines: 578,070 code, 86,773 comments, 74,575 blank, across 1,607 files in 24 languages (top language: C++ 53.1%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving tdlib/td to commit ba976cb4aba5, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 78.2% of all lines, comments represent 11.7%, and the repository averages 360 code lines per file. C++ accounts for 53.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++581350749306848730736594
C52369501685865648511879
C Header788115185736031807423508
JSON39520952000
C++ Header132112229438797987
CMake2541343504205425
JavaScript619441671136137
PHP620921658218216
Java41176901174101
C#46154867653
Python26194616296
Shell135644492293

Top language: C++ 53.1%. Generated on .

Counting rules and retention

tdlib/td: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does tdlib/td have?

tdlib/td has 578,070 lines of code, plus 86,773 comment lines and 74,575 blank lines, for 739,418 total lines at commit ba976cb4aba5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the tdlib/td line count measured?

OctoCounts resolved the public GitHub repository to commit ba976cb4aba5, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for tdlib/td?

This OctoCounts report was generated from master at commit ba976cb4aba5 on November 16, 2026.

Similar repository reports

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 — 578,070 code lines across 24 languages, counted by tokei.