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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Ruby | 10133 | 1119583 | 890150 | 39684 | 189749 |
| JavaScript | 2282 | 197793 | 157977 | 15231 | 24585 |
| Glimmer JS | 2317 | 152944 | 125271 | 6721 | 20952 |
| Sass | 658 | 89266 | 73419 | 1394 | 14453 |
| YAML | 258 | 55163 | 48915 | 1004 | 5244 |
| JSON | 197 | 13734 | 13670 | 0 | 64 |
| SQL | 6 | 24954 | 10652 | 7116 | 7186 |
| Rakefile | 76 | 11357 | 9080 | 511 | 1766 |
| Ruby HTML | 118 | 4037 | 3724 | 11 | 302 |
| HTML | 197 | 3035 | 2820 | 64 | 151 |
| CSS | 4 | 1438 | 1185 | 38 | 215 |
| Mustache | 38 | 824 | 701 | 25 | 98 |
Top language (Ruby 66.5%). Generated at 2026-06-21T12:00:04.217376091+00:00.
discourse/discourse has 1,680,542 total lines, including 1,338,243 code lines, 76,637 comment lines, and 265,662 blank lines.
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.
This OctoCounts report was generated from main at commit 9f5b80278d9d on 2026-06-21T12:00:04.217376091+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: