ghostty-org/ghostty SLOC report

As of 2026-06-14 (commit 5659cef41f4f), ghostty-org/ghostty contains 365,880 total lines: 255,243 code, 63,627 comments, 47,010 blank, across 1,149 files in 26 languages (top: Zig 75.1%). Counted with tokei via OctoCounts.

As of 2026-06-14 (commit 5659cef41f4f), ghostty-org/ghostty contains 365,880 total lines: 255,243 code, 63,627 comments, 47,010 blank, across 1,149 files in 26 languages (top: Zig 75.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving ghostty-org/ghostty to commit 5659cef41f4f, 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 69.8% of all lines, comments represent 17.4%, and the repository averages 222 code lines per file. Zig accounts for 75.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Zig6712674251916994115834568
Swift189357052518952285288
C Header52252041323992452720
Python211025108837666
PO File3211454596030962398
Nix322324202499201
C3022241579324321
C++91248872199177
JSON2787187100
GLSL14940539241160
Metal Shading Language1853471258124
Shell560934518084

Top language (Zig 75.1%). Generated at 2026-06-14T16:17:15.236734410+00:00.

Report FAQ

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

ghostty-org/ghostty has 365,880 total lines, including 255,243 code lines, 63,627 comment lines, and 47,010 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 5659cef41f4f, 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 5659cef41f4f on 2026-06-14T16:17:15.236734410+00:00.

Similar repository reports

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