songquanpeng/one-api has 52,956 source lines of code out of 59,865 total lines across 531 files, counted with tokei from the main ref at commit 8df4a2670b98 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
songquanpeng/one-api: 52,956 code lines at commit 8df4a2670b98, counted with tokei-15.0.0 on 2026-11-13. Saved result 5e0280a1a67d17f78a33e394b1b00815918a99a923e5b671509afaff0a07e1bb.
OctoCounts produced this report by resolving songquanpeng/one-api to commit 8df4a2670b98, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a medium-sized codebase by counted code lines. Code represents 88.5% of all lines, comments represent 4.1%, and the repository averages 100 code lines per file. JavaScript accounts for 57.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JavaScript | 242 | 33348 | 30396 | 930 | 2022 |
| Go | 235 | 22179 | 19605 | 525 | 2049 |
| JSON | 10 | 1887 | 1887 | 0 | 0 |
| SVG | 19 | 362 | 361 | 0 | 1 |
| CSS | 3 | 342 | 271 | 17 | 54 |
| Sass | 3 | 328 | 242 | 38 | 48 |
| HTML | 3 | 57 | 54 | 1 | 2 |
| YAML | 1 | 49 | 43 | 3 | 3 |
| Shell | 2 | 53 | 41 | 2 | 10 |
| Dockerfile | 1 | 47 | 33 | 0 | 14 |
| SQL | 2 | 23 | 23 | 0 | 0 |
| Markdown | 8 | 1184 | 0 | 948 | 236 |
| Plain Text | 2 | 6 | 0 | 6 | 0 |
Top language: JavaScript 57.4%. Generated on .
songquanpeng/one-api: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
songquanpeng/one-api has 52,956 lines of code, plus 2,470 comment lines and 4,439 blank lines, for 59,865 total lines at commit 8df4a2670b98 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 8df4a2670b98, 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 8df4a2670b98 on November 13, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for songquanpeng/one-api on this page — 52,956 code lines across 13 languages, counted by tokei.