TelegramMessenger/Telegram-iOS has 6,741,519 source lines of code out of 8,673,129 total lines across 26,482 files, counted with tokei from the master ref at commit 24638bc69bd0 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-06 (commit 24638bc69bd0), TelegramMessenger/Telegram-iOS contains 8,673,129 total lines: 6,741,519 code, 969,766 comments, 961,844 blank, across 26,482 files in 62 languages (top language: C 30.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving TelegramMessenger/Telegram-iOS to commit 24638bc69bd0, 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 very large codebase by counted code lines. Code represents 77.7% of all lines, comments represent 11.2%, and the repository averages 255 code lines per file. C accounts for 30.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 4490 | 2664877 | 2070576 | 300519 | 293782 |
| Swift | 7205 | 2438531 | 2040061 | 128378 | 270092 |
| C Header | 5205 | 1152021 | 714795 | 269705 | 167521 |
| C++ | 1659 | 765611 | 614225 | 72555 | 78831 |
| GNU Style Assembly | 397 | 337718 | 296715 | 12995 | 28008 |
| Objective-C | 969 | 336276 | 279390 | 9329 | 47557 |
| Assembly | 326 | 212313 | 173337 | 17060 | 21916 |
| JSON | 1933 | 152537 | 152366 | 0 | 171 |
| Perl | 61 | 69308 | 56505 | 6507 | 6296 |
| Bazel | 915 | 53374 | 49773 | 1202 | 2399 |
| Objective-C++ | 124 | 54088 | 43760 | 3001 | 7327 |
| C++ Header | 114 | 49321 | 39843 | 6151 | 3327 |
Top language: C 30.7%. Generated on .
TelegramMessenger/Telegram-iOS: 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.
TelegramMessenger/Telegram-iOS has 6,741,519 lines of code, plus 969,766 comment lines and 961,844 blank lines, for 8,673,129 total lines at commit 24638bc69bd0 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 24638bc69bd0, 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 24638bc69bd0 on November 6, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for TelegramMessenger/Telegram-iOS on this page — 6,741,519 code lines across 62 languages, counted by tokei.