TryGhost/Ghost has 707,332 source lines of code out of 861,651 total lines across 6,494 files, counted with tokei from the main ref at commit 6091cc5bc67b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 6091cc5bc67b), TryGhost/Ghost contains 861,651 total lines: 707,332 code, 71,600 comments, 82,719 blank, across 6,494 files in 16 languages (top language: TSX 33.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving TryGhost/Ghost to commit 6091cc5bc67b, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 82.1% of all lines, comments represent 8.3%, and the repository averages 109 code lines per file. TSX accounts for 33.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TSX | 1526 | 272526 | 236757 | 10320 | 25449 |
| TypeScript | 2490 | 264331 | 208513 | 25843 | 29975 |
| JavaScript | 1392 | 175943 | 133519 | 23138 | 19286 |
| JSON | 543 | 57734 | 57697 | 0 | 37 |
| YAML | 13 | 41215 | 39706 | 149 | 1360 |
| JSX | 58 | 13724 | 12301 | 393 | 1030 |
| CSS | 53 | 13073 | 10430 | 882 | 1761 |
| Handlebars | 38 | 5751 | 5303 | 170 | 278 |
| Shell | 22 | 1694 | 1175 | 246 | 273 |
| SVG | 202 | 864 | 859 | 1 | 4 |
| HTML | 19 | 941 | 840 | 21 | 80 |
| XSL | 1 | 137 | 135 | 0 | 2 |
Top language: TSX 33.5%. Generated on .
TryGhost/Ghost: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
TryGhost/Ghost has 707,332 lines of code, plus 71,600 comment lines and 82,719 blank lines, for 861,651 total lines at commit 6091cc5bc67b on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 6091cc5bc67b, 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 6091cc5bc67b on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for TryGhost/Ghost on this page — 707,332 code lines across 16 languages, counted by tokei.