As of 2026-07-24 (commit 73ee493265ac), opencode-ai/opencode contains 43,749 total lines: 32,743 code, 6,144 comments, 4,862 blank, across 153 files in 7 languages (top: Go 97.5%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving opencode-ai/opencode to commit 73ee493265ac, 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 medium-sized codebase by counted code lines. Code represents 74.8% of all lines, comments represent 14.0%, and the repository averages 214 code lines per file. Go accounts for 97.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 140 | 42189 | 31911 | 5688 | 4590 |
| JSON | 1 | 425 | 425 | 0 | 0 |
| SQL | 5 | 270 | 200 | 36 | 34 |
| BASH | 3 | 226 | 176 | 12 | 38 |
| Shell | 1 | 41 | 17 | 15 | 9 |
| YAML | 1 | 14 | 14 | 0 | 0 |
| Markdown | 2 | 584 | 0 | 393 | 191 |
Top language (Go 97.5%). Generated at 2026-07-24T00:01:57.290539184+00:00.
opencode-ai/opencode has 43,749 total lines, including 32,743 code lines, 6,144 comment lines, and 4,862 blank lines.
OctoCounts resolved the public GitHub repository to commit 73ee493265ac, 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 73ee493265ac on 2026-07-24T00:01:57.290539184+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: