openai/openai-cli has 292,149 source lines of code out of 315,818 total lines across 1,216 files, counted from the main ref at commit a74037654d66 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit a74037654d66), openai/openai-cli contains 315,818 total lines: 292,149 code, 9,835 comments, 13,834 blank, across 1,216 files in 12 languages (top: Go 53.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving openai/openai-cli to commit a74037654d66, 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 large codebase by counted code lines. Code represents 92.5% of all lines, comments represent 3.1%, and the repository averages 240 code lines per file. Go accounts for 53.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 1007 | 172214 | 156975 | 5782 | 9457 |
| YAML | 1 | 108900 | 107720 | 17 | 1163 |
| Python | 74 | 19617 | 17616 | 285 | 1716 |
| Shell | 52 | 5176 | 4845 | 182 | 149 |
| JSON | 9 | 1789 | 1789 | 0 | 0 |
| BASH | 19 | 1332 | 1116 | 79 | 137 |
| Fish | 6 | 765 | 683 | 53 | 29 |
| JavaScript | 11 | 737 | 639 | 58 | 40 |
| Zsh | 6 | 673 | 587 | 50 | 36 |
| PowerShell | 2 | 213 | 179 | 26 | 8 |
| Markdown | 26 | 4015 | 0 | 3003 | 1012 |
| Plain Text | 3 | 387 | 0 | 300 | 87 |
Top language (Go 53.7%). Generated at .
openai/openai-cli has 315,818 total lines, including 292,149 code lines, 9,835 comment lines, and 13,834 blank lines.
OctoCounts resolved the public GitHub repository to commit a74037654d66, 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 a74037654d66 on 2026-10-22T07:54:07.547922788+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for openai/openai-cli on this page — 292,149 code lines across 12 languages, counted by tokei.