# TryGhost/Ghost SLOC report

> As of 2026-10-10 (commit a24f9adaf7d8), TryGhost/Ghost contains 874,694 total lines: 721,678 code, 64,491 comments, 88,525 blank, across 6,926 files in 16 languages (top: TSX 30.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

TryGhost/Ghost has 721,678 source lines of code out of 874,694 total lines across 6,926 files, counted from the main ref at commit a24f9adaf7d8 by the OctoCounts tokei engine on 2026-10-10. 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 TryGhost/Ghost to commit a24f9adaf7d8, 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 82.5% of all lines, comments represent 7.4%, and the repository averages 104 code lines per file. TSX accounts for 30.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TSX | 1,463 | 254,025 | 221,362 | 8,620 | 24,043 |
| TypeScript | 2,039 | 212,816 | 168,911 | 18,391 | 25,514 |
| JavaScript | 1,886 | 210,213 | 158,944 | 26,471 | 24,798 |
| YAML | 15 | 61,578 | 57,376 | 132 | 4,070 |
| JSON | 530 | 55,780 | 55,743 | 0 | 37 |
| CSS | 169 | 41,033 | 32,799 | 2,499 | 5,735 |
| JSX | 58 | 13,786 | 12,360 | 390 | 1,036 |
| Handlebars | 145 | 10,320 | 9,664 | 211 | 445 |
| SVG | 471 | 2,336 | 2,331 | 1 | 4 |
| Shell | 21 | 1,589 | 1,069 | 255 | 265 |
| HTML | 20 | 992 | 881 | 21 | 90 |
| XSL | 1 | 137 | 135 | 0 | 2 |

Top language (TSX 30.7%). Generated at 2026-10-10T01:14:11.047514155+00:00. Canonical report: https://octocounts.com/github/TryGhost/Ghost

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/TryGhost/Ghost/commit/a24f9adaf7d8e0d1b269af774fcf2078cbd99a0b?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 TryGhost/Ghost have?

TryGhost/Ghost has 874,694 total lines, including 721,678 code lines, 64,491 comment lines, and 88,525 blank lines.

### How was the TryGhost/Ghost line count measured?

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

### What commit was counted for TryGhost/Ghost?

This OctoCounts report was generated from main at commit a24f9adaf7d8 on 2026-10-10T01:14:11.047514155+00:00.

## Similar repository reports

- [facebook/astryx](https://octocounts.com/github/facebook/astryx) — TSX, 891,880 code lines
- [dubinc/dub](https://octocounts.com/github/dubinc/dub) — TSX, 516,705 code lines
- [supabase/supabase](https://octocounts.com/github/supabase/supabase) — TSX, 1,016,698 code lines
- [anywhere-labs/Agents-Anywhere](https://octocounts.com/github/anywhere-labs/Agents-Anywhere) — TSX, 468,312 code lines
- [makeplane/plane](https://octocounts.com/github/makeplane/plane) — TSX, 459,839 code lines
- [appwrite/appwrite](https://octocounts.com/github/appwrite/appwrite) — TSX, 1,273,525 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)
