As of 2026-06-02 (commit 81468e2f16ea), duanzhenyu/grok2api contains 35,268 total lines: 29,216 code, 1,902 comments, 4,150 blank, across 179 files in 10 languages (top: Python 65.6%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving duanzhenyu/grok2api to commit 81468e2f16ea, 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 82.8% of all lines, comments represent 5.4%, and the repository averages 163 code lines per file. Python accounts for 65.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 142 | 23620 | 19180 | 924 | 3516 |
| JavaScript | 10 | 4512 | 4184 | 60 | 268 |
| JSON | 7 | 3493 | 3493 | 0 | 0 |
| CSS | 1 | 1128 | 1090 | 18 | 20 |
| HTML | 10 | 1114 | 1043 | 21 | 50 |
| TOML | 2 | 220 | 113 | 73 | 34 |
| Dockerfile | 2 | 91 | 61 | 7 | 23 |
| YAML | 1 | 82 | 39 | 39 | 4 |
| Shell | 2 | 21 | 13 | 2 | 6 |
| Markdown | 2 | 987 | 0 | 758 | 229 |
Top language (Python 65.6%). Generated at .
duanzhenyu/grok2api has 35,268 total lines, including 29,216 code lines, 1,902 comment lines, and 4,150 blank lines.
OctoCounts resolved the public GitHub repository to commit 81468e2f16ea, 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 81468e2f16ea on 2026-06-02T16:00:39.314316773+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: