gradio-app/gradio has 209,389 source lines of code out of 344,765 total lines across 2,429 files, counted with tokei from the main ref at commit ec06278ed72e on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-13 (commit ec06278ed72e), gradio-app/gradio contains 344,765 total lines: 209,389 code, 71,722 comments, 63,654 blank, across 2,429 files in 18 languages (top language: Python 36.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving gradio-app/gradio to commit ec06278ed72e, 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 large codebase by counted code lines. Code represents 60.7% of all lines, comments represent 20.8%, and the repository averages 86 code lines per file. Python accounts for 36.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 688 | 89565 | 77215 | 2061 | 10289 |
| TypeScript | 413 | 76771 | 62938 | 3964 | 9869 |
| Svelte | 595 | 31879 | 30286 | 171 | 1422 |
| JSON | 135 | 14353 | 14351 | 0 | 2 |
| YAML | 3 | 15465 | 12490 | 0 | 2975 |
| SVG | 96 | 4543 | 4504 | 20 | 19 |
| CSS | 20 | 4784 | 4277 | 83 | 424 |
| JavaScript | 39 | 2413 | 1994 | 205 | 214 |
| TOML | 3 | 325 | 276 | 11 | 38 |
| Jupyter Notebooks | 1 | 293 | 255 | 12 | 26 |
| Shell | 18 | 443 | 248 | 112 | 83 |
| HTML | 8 | 502 | 221 | 268 | 13 |
Top language: Python 36.9%. Generated on .
gradio-app/gradio: 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.
gradio-app/gradio has 209,389 lines of code, plus 71,722 comment lines and 63,654 blank lines, for 344,765 total lines at commit ec06278ed72e on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit ec06278ed72e, 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 ec06278ed72e on November 13, 2026.
Play the growth animation for gradio-app/gradio on this page — 209,389 code lines across 18 languages, counted by tokei.