As of 2026-06-21 (commit 310e82109b8c), mastodon/mastodon contains 693,091 total lines: 622,545 code, 15,045 comments, 55,501 blank, across 9,501 files in 19 languages (top: YAML 34.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving mastodon/mastodon to commit 310e82109b8c, 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 large codebase by counted code lines. Code represents 89.8% of all lines, comments represent 2.2%, and the repository averages 66 code lines per file. YAML accounts for 34.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| YAML | 548 | 214040 | 213891 | 111 | 38 |
| Ruby | 3212 | 183503 | 137956 | 8421 | 37126 |
| JSON | 118 | 91355 | 91355 | 0 | 0 |
| SVG | 4298 | 70336 | 70335 | 0 | 1 |
| TSX | 399 | 49316 | 42691 | 906 | 5719 |
| Sass | 78 | 22756 | 19028 | 205 | 3523 |
| TypeScript | 256 | 19227 | 15863 | 826 | 2538 |
| JSX | 98 | 14732 | 12083 | 103 | 2546 |
| JavaScript | 93 | 11631 | 8911 | 894 | 1826 |
| Haml | 310 | 8620 | 7432 | 19 | 1169 |
| Rakefile | 12 | 2323 | 1892 | 55 | 376 |
| CSS | 9 | 370 | 312 | 1 | 57 |
Top language (YAML 34.4%). Generated at 2026-06-21T12:32:53.651651603+00:00.
mastodon/mastodon has 693,091 total lines, including 622,545 code lines, 15,045 comment lines, and 55,501 blank lines.
OctoCounts resolved the public GitHub repository to commit 310e82109b8c, 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 main at commit 310e82109b8c on 2026-06-21T12:32:53.651651603+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: