PostHog/posthog SLOC report

As of 2026-08-25 (commit 876d2d04550b), PostHog/posthog contains 6,928,965 total lines: 5,791,773 code, 485,930 comments, 651,262 blank, across 34,929 files in 32 languages (top: Python 34.9%). Counted with tokei via OctoCounts.

As of 2026-08-25 (commit 876d2d04550b), PostHog/posthog contains 6,928,965 total lines: 5,791,773 code, 485,930 comments, 651,262 blank, across 34,929 files in 32 languages (top: Python 34.9%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving PostHog/posthog to commit 876d2d04550b, 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 very large codebase by counted code lines. Code represents 83.6% of all lines, comments represent 7.0%, and the repository averages 166 code lines per file. Python accounts for 34.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python1441024346302019851133000281779
TypeScript864518489161514773164486169657
TSX6782120214310697014362488818
Rust11964439803729102522045850
JSON527316210316183027
YAML249213511200046131212153
HCL1011198821175364051941
SQL1663347032507714249
JavaScript130336512923124301990
Go124269962237213833241
Sass251265572138512303942
C++1123829195984623769

Top language (Python 34.9%). Generated at 2026-08-25T03:12:13.065001786+00:00.

Report FAQ

How many lines of code does PostHog/posthog have?

PostHog/posthog has 6,928,965 total lines, including 5,791,773 code lines, 485,930 comment lines, and 651,262 blank lines.

How was the PostHog/posthog line count measured?

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

What commit was counted for PostHog/posthog?

This OctoCounts report was generated from master at commit 876d2d04550b on 2026-08-25T03:12:13.065001786+00:00.

Similar repository reports

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