# telegramdesktop/tdesktop SLOC report

> telegramdesktop/tdesktop: 1,120,606 code lines at commit 0eca52223cce, counted with tokei-14.0.0 on 2026-10-21. Saved result cf284e489ed65004b9d858e0592ca53004152764123cc3fcb660247737512499.

telegramdesktop/tdesktop has 1,120,606 source lines of code out of 1,383,414 total lines across 3,584 files, counted from the dev ref at commit 0eca52223cce by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving telegramdesktop/tdesktop to commit 0eca52223cce, 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 81.0% of all lines, comments represent 10.1%, and the repository averages 313 code lines per file. C++ accounts for 85.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 1,489 | 1,067,072 | 960,188 | 19,643 | 87,241 |
| C Header | 1,603 | 180,622 | 136,246 | 13,254 | 31,122 |
| Objective-C++ | 31 | 9,669 | 8,077 | 338 | 1,254 |
| CMake | 32 | 5,950 | 5,341 | 274 | 335 |
| CSS | 4 | 2,775 | 2,754 | 0 | 21 |
| SVG | 339 | 2,524 | 2,524 | 0 | 0 |
| GLSL | 37 | 2,129 | 1,790 | 80 | 259 |
| JavaScript | 4 | 1,554 | 1,466 | 2 | 86 |
| Python | 9 | 990 | 797 | 36 | 157 |
| YAML | 1 | 546 | 520 | 0 | 26 |
| XML | 7 | 872 | 335 | 519 | 18 |
| Objective-C | 1 | 285 | 248 | 10 | 27 |
| Batch | 2 | 151 | 135 | 0 | 16 |
| JSON | 3 | 84 | 83 | 0 | 1 |
| HTML | 1 | 45 | 45 | 0 | 0 |
| Shell | 2 | 40 | 30 | 1 | 9 |
| C | 1 | 32 | 19 | 7 | 6 |
| MSBuild | 1 | 8 | 8 | 0 | 0 |
| Markdown | 13 | 2,449 | 0 | 1,914 | 535 |
| Plain Text | 4 | 105,617 | 0 | 103,729 | 1,888 |

Top language (C++ 85.7%). Generated at 2026-10-21T02:19:20.161645430Z. Canonical report: https://octocounts.com/github/telegramdesktop/tdesktop/commit/0eca52223cceed229932add1cc80792763120844?reportId=cf284e489ed65004b9d858e0592ca53004152764123cc3fcb660247737512499&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/telegramdesktop/tdesktop/commit/0eca52223cceed229932add1cc80792763120844?reportId=cf284e489ed65004b9d858e0592ca53004152764123cc3fcb660247737512499&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does telegramdesktop/tdesktop have?

telegramdesktop/tdesktop has 1,383,414 total lines, including 1,120,606 code lines, 139,807 comment lines, and 123,001 blank lines.

### How was the telegramdesktop/tdesktop line count measured?

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

### What commit was counted for telegramdesktop/tdesktop?

This OctoCounts report was generated from dev at commit 0eca52223cce on 2026-10-21T02:19:20.161645430Z.

## Similar repository reports

- [SerenityOS/serenity](https://octocounts.com/github/SerenityOS/serenity) — C++, 1,115,305 code lines
- [duckdb/duckdb](https://octocounts.com/github/duckdb/duckdb) — C++, 1,128,168 code lines
- [fbraz3/GeneralsX](https://octocounts.com/github/fbraz3/GeneralsX) — C++, 1,044,162 code lines
- [wxwidgets/wxwidgets](https://octocounts.com/github/wxwidgets/wxwidgets) — C++, 1,214,783 code lines
- [ammaarreshi/Generals-Mac-iOS-iPad](https://octocounts.com/github/ammaarreshi/Generals-Mac-iOS-iPad) — C++, 1,033,274 code lines
- [wxWidgets/wxWidgets](https://octocounts.com/github/wxWidgets/wxWidgets) — C++, 1,225,225 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
