ghostty-org/ghostty

ghostty-org/ghostty has 399,385 source lines of code out of 570,992 total lines across 1,341 files, counted with tokei from the main ref at commit d4cf6ec225dc on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

ghostty-org/ghostty: 399,385 code lines at commit d4cf6ec225dc, counted with tokei-15.0.0 on 2026-11-16. Saved result fc9c891e645a51071a6e3200c85539e3d4eda07c65dde684e4f620d01c5f5d50.

OctoCounts produced this report by resolving ghostty-org/ghostty to commit d4cf6ec225dc, 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.

Repository size insights

This is a large codebase by counted code lines. Code represents 69.9% of all lines, comments represent 17.7%, and the repository averages 298 code lines per file. Zig accounts for 69.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Zig7753907252785316344848746
C Header684982830396154493983
Swift200385252707758225626
PO File354099921837100279135
JSON32193951939500
Python4117971153784176
C3635782469627482
Nix3224081967221220
HEX32160714400167
C++91376959230187
Shell61280728411141
GLSL15944543241160
XML2552529914
Metal Shading Language1853471258124
YAML43693212424
CMake449328015360
BASH12831619230
CSS12321465531
Nushell22031363928
Fish11781183426
HTML3118100018
Elvish1130951619
TOML19768254
Objective-C28362813
Makefile1281945
Markdown62345802629829
Plain Text1114530142528

Top language: Zig 69.7%. Generated on .

Counting rules and retention

ghostty-org/ghostty: 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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does ghostty-org/ghostty have?

ghostty-org/ghostty has 399,385 lines of code, plus 101,331 comment lines and 70,276 blank lines, for 570,992 total lines at commit d4cf6ec225dc on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the ghostty-org/ghostty line count measured?

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

What commit was counted for ghostty-org/ghostty?

This OctoCounts report was generated from main at commit d4cf6ec225dc on November 16, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for ghostty-org/ghostty on this page — 399,385 code lines across 27 languages, counted by tokei.