As of 2026-07-24 (commit 6ad963e5b62d), TelegramMessenger/Telegram-iOS contains 7,263,097 total lines: 5,657,212 code, 752,554 comments, 853,331 blank, across 21,218 files in 58 languages (top: C 32.5%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving TelegramMessenger/Telegram-iOS to commit 6ad963e5b62d, 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 very large codebase by counted code lines. Code represents 77.9% of all lines, comments represent 10.4%, and the repository averages 267 code lines per file. C accounts for 32.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 4287 | 2368218 | 1838165 | 265793 | 264260 |
| Swift | 4842 | 1918995 | 1653142 | 43106 | 222747 |
| C Header | 4926 | 1097910 | 668722 | 267457 | 161731 |
| C++ | 1416 | 630796 | 498703 | 62374 | 69719 |
| GNU Style Assembly | 363 | 327719 | 288822 | 11843 | 27054 |
| Objective-C | 775 | 218897 | 174423 | 5546 | 38928 |
| Assembly | 305 | 204165 | 166271 | 16367 | 21527 |
| Perl | 60 | 69042 | 56339 | 6431 | 6272 |
| C++ Header | 200 | 59379 | 47347 | 6815 | 5217 |
| Bazel | 838 | 45688 | 43199 | 620 | 1869 |
| JSON | 1801 | 32670 | 32670 | 0 | 0 |
| Objective-C++ | 112 | 41388 | 31942 | 2648 | 6798 |
Top language (C 32.5%). Generated at 2026-07-24T15:44:56.253854625+00:00.
TelegramMessenger/Telegram-iOS has 7,263,097 total lines, including 5,657,212 code lines, 752,554 comment lines, and 853,331 blank lines.
OctoCounts resolved the public GitHub repository to commit 6ad963e5b62d, 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 6ad963e5b62d on 2026-07-24T15:44:56.253854625+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: