TelegramMessenger/Telegram-iOS has 6,252,797 source lines of code out of 8,049,911 total lines across 23,340 files, counted from the master ref at commit fb0e62ba8a14 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.
TelegramMessenger/Telegram-iOS: 6,252,797 code lines at commit fb0e62ba8a14, counted with tokei-14.0.0 on 2026-10-23. Saved result 81dae2fade24c880756f45aa8ba8080f6ecd535ecad4d8a8cb4ce1687c8d6fb8.
OctoCounts produced this report by resolving TelegramMessenger/Telegram-iOS to commit fb0e62ba8a14, 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.7% of all lines, comments represent 10.8%, and the repository averages 268 code lines per file. C accounts for 31.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 4474 | 2561002 | 1974657 | 296954 | 289391 |
| Swift | 6368 | 2251042 | 1882131 | 114382 | 254529 |
| C Header | 4934 | 1110986 | 685188 | 262403 | 163395 |
| C++ | 1329 | 635646 | 500997 | 64701 | 69948 |
| GNU Style Assembly | 397 | 337718 | 296715 | 12995 | 28008 |
| Objective-C | 967 | 335727 | 278857 | 9320 | 47550 |
| Assembly | 326 | 212313 | 173337 | 17060 | 21916 |
| JSON | 1921 | 107887 | 107717 | 0 | 170 |
| Perl | 61 | 69308 | 56505 | 6507 | 6296 |
| Bazel | 886 | 49830 | 46707 | 977 | 2146 |
| C++ Header | 114 | 49321 | 39843 | 6151 | 3327 |
| Objective-C++ | 109 | 40356 | 31211 | 2655 | 6490 |
| Python | 112 | 36780 | 30675 | 1970 | 4135 |
| Shell | 178 | 35787 | 28061 | 4144 | 3582 |
| CMake | 146 | 25823 | 21163 | 2540 | 2120 |
| Visual Studio Project | 72 | 16637 | 16637 | 0 | 0 |
| Autoconf | 73 | 15507 | 13263 | 839 | 1405 |
| M4 | 45 | 16103 | 11064 | 3818 | 1221 |
| Bitbake | 71 | 7182 | 6168 | 303 | 711 |
| Makefile | 75 | 6815 | 5964 | 187 | 664 |
| Metal Shading Language | 31 | 6147 | 5020 | 320 | 807 |
| C# | 20 | 4907 | 3822 | 823 | 262 |
| JavaScript | 23 | 5007 | 3670 | 708 | 629 |
| Java | 19 | 6119 | 3546 | 2077 | 496 |
| GLSL | 34 | 5175 | 3537 | 824 | 814 |
| OCaml | 12 | 3375 | 3170 | 20 | 185 |
| Forge Config | 11 | 2620 | 2568 | 39 | 13 |
| CUDA | 9 | 2618 | 1994 | 262 | 362 |
| Go | 9 | 2557 | 1819 | 438 | 300 |
| Pascal | 2 | 2478 | 1793 | 211 | 474 |
| XML | 8 | 1934 | 1722 | 0 | 212 |
| OpenCL | 14 | 2054 | 1499 | 272 | 283 |
| Automake | 30 | 1602 | 1170 | 208 | 224 |
| PO File | 1 | 2425 | 1100 | 788 | 537 |
| FlatBuffers Schema | 34 | 1340 | 1088 | 15 | 237 |
| TeX | 1 | 1334 | 1043 | 124 | 167 |
| Visual Studio Solution | 8 | 991 | 986 | 0 | 5 |
| Module-Definition | 9 | 981 | 947 | 31 | 3 |
| F# | 2 | 1054 | 748 | 82 | 224 |
| Meson | 21 | 857 | 741 | 31 | 85 |
| Cython | 8 | 1013 | 633 | 247 | 133 |
| SVG | 111 | 592 | 591 | 1 | 0 |
| YAML | 5 | 619 | 512 | 105 | 2 |
| BASH | 3 | 473 | 404 | 37 | 32 |
| Batch | 25 | 606 | 376 | 126 | 104 |
| CSS | 3 | 371 | 311 | 8 | 52 |
| MSBuild | 6 | 292 | 292 | 0 | 0 |
| HICAD | 3 | 288 | 245 | 0 | 43 |
| HTML | 12 | 196 | 175 | 9 | 12 |
| Snakemake | 1 | 115 | 114 | 0 | 1 |
| TypeScript | 1 | 87 | 52 | 28 | 7 |
| Ruby | 1 | 61 | 51 | 1 | 9 |
| Rust | 1 | 59 | 51 | 0 | 8 |
| Coq | 7 | 49 | 49 | 0 | 0 |
| Lex | 1 | 319 | 41 | 272 | 6 |
| LD Script | 3 | 47 | 30 | 14 | 3 |
| Xcode Config | 3 | 17 | 13 | 0 | 4 |
| TOML | 2 | 22 | 11 | 9 | 2 |
| ReScript | 1 | 3 | 3 | 0 | 0 |
| Markdown | 108 | 26920 | 0 | 22140 | 4780 |
| Plain Text | 79 | 40417 | 0 | 34371 | 6046 |
Top language (C 31.6%). Generated at .
TelegramMessenger/Telegram-iOS has 8,049,911 total lines, including 6,252,797 code lines, 872,547 comment lines, and 924,567 blank lines.
OctoCounts resolved the public GitHub repository to commit fb0e62ba8a14, 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 fb0e62ba8a14 on 2026-10-23T07:33:45.284451630Z.
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,252,797 code lines across 61 languages, counted by tokei.