# element-hq/element-web SLOC report

> As of 2026-10-07 (commit 4d1993cc38ef), element-hq/element-web contains 786,550 total lines: 628,289 code, 84,689 comments, 73,572 blank, across 3,972 files in 18 languages (top: JSON 36.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

element-hq/element-web has 628,289 source lines of code out of 786,550 total lines across 3,972 files, counted from the develop ref at commit 4d1993cc38ef by the OctoCounts tokei engine on 2026-10-07. 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 element-hq/element-web to commit 4d1993cc38ef, 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 large codebase by counted code lines. Code represents 79.9% of all lines, comments represent 10.8%, and the repository averages 158 code lines per file. JSON accounts for 36.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 188 | 231,709 | 231,674 | 0 | 35 |
| TSX | 1,367 | 237,784 | 182,043 | 26,453 | 29,288 |
| TypeScript | 1,784 | 240,942 | 166,280 | 42,801 | 31,861 |
| YAML | 6 | 26,338 | 21,142 | 84 | 5,112 |
| PostCSS | 378 | 24,902 | 17,475 | 3,825 | 3,602 |
| CSS | 104 | 7,695 | 5,557 | 1,051 | 1,087 |
| JavaScript | 17 | 2,989 | 1,246 | 1,410 | 333 |
| HTML | 17 | 1,107 | 1,029 | 50 | 28 |
| SVG | 56 | 1,023 | 1,019 | 3 | 1 |
| Shell | 18 | 563 | 308 | 153 | 102 |
| Python | 1 | 242 | 191 | 12 | 39 |
| Perl | 2 | 248 | 152 | 50 | 46 |

Top language (JSON 36.9%). Generated at 2026-10-07T21:46:44.530517016+00:00. Canonical report: https://octocounts.com/github/element-hq/element-web

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/element-hq/element-web/commit/4d1993cc38ef6f96257bbe693863d56f1bd65b61?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does element-hq/element-web have?

element-hq/element-web has 786,550 total lines, including 628,289 code lines, 84,689 comment lines, and 73,572 blank lines.

### How was the element-hq/element-web line count measured?

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

### What commit was counted for element-hq/element-web?

This OctoCounts report was generated from develop at commit 4d1993cc38ef on 2026-10-07T21:46:44.530517016+00:00.

## Similar repository reports

- [openlibrecommunity/twl](https://octocounts.com/github/openlibrecommunity/twl) — JSON, 628,386 code lines
- [zzh4206/Desktop-Pet](https://octocounts.com/github/zzh4206/Desktop-Pet) — JSON, 647,316 code lines
- [harbor-framework/harbor](https://octocounts.com/github/harbor-framework/harbor) — JSON, 606,967 code lines
- [MSKazemi/idkmesh](https://octocounts.com/github/MSKazemi/idkmesh) — JSON, 654,358 code lines
- [unovue/shadcn-vue](https://octocounts.com/github/unovue/shadcn-vue) — JSON, 662,037 code lines
- [streetcomplete/StreetComplete](https://octocounts.com/github/streetcomplete/StreetComplete) — JSON, 594,040 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)
- [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)
