songquanpeng/one-api

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
JavaScript24233348303969302022
Go23522179196055252049
JSON101887188700
SVG1936236101
CSS33422711754
Sass33282423848
HTML3575412
YAML1494333
Shell25341210
Dockerfile14733014
SQL2232300
Markdown811840948236
Plain Text26060

Top language: JavaScript 57.4%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does songquanpeng/one-api have?

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.

How was the songquanpeng/one-api line count measured?

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.

What commit was counted for songquanpeng/one-api?

This OctoCounts report was generated from main at commit 8df4a2670b98 on November 13, 2026.

Similar repository reports

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.