discourse/discourse SLOC report

As of 2026-06-21 (commit 9f5b80278d9d), discourse/discourse contains 1,680,542 total lines: 1,338,243 code, 76,637 comments, 265,662 blank, across 16,382 files in 18 languages (top: Ruby 66.5%). Counted with tokei via OctoCounts.

As of 2026-06-21 (commit 9f5b80278d9d), discourse/discourse contains 1,680,542 total lines: 1,338,243 code, 76,637 comments, 265,662 blank, across 16,382 files in 18 languages (top: Ruby 66.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving discourse/discourse to commit 9f5b80278d9d, 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 79.6% of all lines, comments represent 4.6%, and the repository averages 82 code lines per file. Ruby accounts for 66.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Ruby10133111958389015039684189749
JavaScript22821977931579771523124585
Glimmer JS2317152944125271672120952
Sass6588926673419139414453
YAML258551634891510045244
JSON1971373413670064
SQL6249541065271167186
Rakefile761135790805111766
Ruby HTML1184037372411302
HTML1973035282064151
CSS41438118538215
Mustache388247012598

Top language (Ruby 66.5%). Generated at 2026-06-21T12:00:04.217376091+00:00.

Report FAQ

How many lines of code does discourse/discourse have?

discourse/discourse has 1,680,542 total lines, including 1,338,243 code lines, 76,637 comment lines, and 265,662 blank lines.

How was the discourse/discourse line count measured?

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

What commit was counted for discourse/discourse?

This OctoCounts report was generated from main at commit 9f5b80278d9d on 2026-06-21T12:00:04.217376091+00:00.

Similar repository reports

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