# TryGhost/Ghost SLOC report

> As of 2026-09-16 (commit 31b9d3854d2b), TryGhost/Ghost contains 785,775 total lines: 646,136 code, 57,530 comments, 82,109 blank, across 6,604 files in 15 languages (top: TSX 28.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

TryGhost/Ghost has 646,136 source lines of code out of 785,775 total lines across 6,604 files, counted from the 31b9d3854d2bf8928d00166ce21245539ae616cb ref at commit 31b9d3854d2b by the OctoCounts tokei engine on 2026-09-16. 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 31b9d3854d2b, 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.2% of all lines, comments represent 7.3%, and the repository averages 98 code lines per file. TSX accounts for 28.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TSX | 1,269 | 209,197 | 181,901 | 7,315 | 19,981 |
| JavaScript | 2,051 | 220,650 | 167,102 | 26,780 | 26,768 |
| TypeScript | 1,690 | 173,344 | 137,217 | 14,933 | 21,194 |
| JSON | 512 | 51,637 | 51,603 | 0 | 34 |
| YAML | 14 | 48,270 | 43,995 | 113 | 4,162 |
| CSS | 169 | 41,537 | 33,247 | 2,460 | 5,830 |
| Handlebars | 217 | 14,250 | 13,377 | 253 | 620 |
| JSX | 67 | 14,734 | 13,178 | 390 | 1,166 |
| SVG | 476 | 2,349 | 2,344 | 1 | 4 |
| Shell | 21 | 1,582 | 1,064 | 254 | 264 |
| HTML | 19 | 979 | 868 | 21 | 90 |
| XSL | 1 | 137 | 135 | 0 | 2 |

Top language (TSX 28.2%). Generated at 2026-09-16T10:15:11.374671779+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/31b9d3854d2bf8928d00166ce21245539ae616cb?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 785,775 total lines, including 646,136 code lines, 57,530 comment lines, and 82,109 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 31b9d3854d2b, 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 31b9d3854d2bf8928d00166ce21245539ae616cb at commit 31b9d3854d2b on 2026-09-16T10:15:11.374671779+00:00.

## Similar repository reports

- [Uniswap/interface](https://octocounts.com/github/Uniswap/interface) — TSX, 484,631 code lines
- [facebook/astryx](https://octocounts.com/github/facebook/astryx) — TSX, 481,237 code lines
- [makeplane/plane](https://octocounts.com/github/makeplane/plane) — TSX, 466,162 code lines
- [learnhouse/learnhouse](https://octocounts.com/github/learnhouse/learnhouse) — TSX, 395,554 code lines
- [supabase/supabase](https://octocounts.com/github/supabase/supabase) — TSX, 899,444 code lines
- [udecode/plate](https://octocounts.com/github/udecode/plate) — TSX, 330,613 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)
