oven-sh/bun has 2,638,181 source lines of code out of 3,219,843 total lines across 7,240 files, counted with tokei from the main ref at commit 5f3f8fe483e7 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
oven-sh/bun: 2,638,181 code lines at commit 5f3f8fe483e7, counted with tokei-15.0.0 on 2026-11-16. Saved result de88a69962c88df0fc8802d8972077c0468c94bd19e25bd48dc4ce4da6115f59.
OctoCounts produced this report by resolving oven-sh/bun to commit 5f3f8fe483e7, 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 very large codebase by counted code lines. Code represents 81.9% of all lines, comments represent 10.7%, and the repository averages 364 code lines per file. Rust accounts for 70.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 4246 | 2085642 | 1846030 | 95114 | 144498 |
| TypeScript | 746 | 302554 | 214589 | 64510 | 23455 |
| C++ | 618 | 250888 | 199587 | 21826 | 29475 |
| C | 20 | 290981 | 194974 | 78789 | 17218 |
| JavaScript | 357 | 80715 | 74668 | 2924 | 3123 |
| C Header | 776 | 103337 | 60213 | 29066 | 14058 |
| JSON | 92 | 31693 | 31646 | 0 | 47 |
| TOML | 157 | 5089 | 4118 | 323 | 648 |
| TSX | 25 | 3099 | 2612 | 228 | 259 |
| CSS | 12 | 1630 | 1467 | 26 | 137 |
| Module-Definition | 10 | 1741 | 1396 | 7 | 338 |
| Zsh | 1 | 1537 | 1342 | 11 | 184 |
| Python | 2 | 1641 | 1160 | 102 | 379 |
| Shell | 27 | 1458 | 1078 | 203 | 177 |
| LD Script | 3 | 688 | 676 | 4 | 8 |
| Fish | 1 | 495 | 422 | 25 | 48 |
| PowerShell | 3 | 538 | 414 | 61 | 63 |
| Dockerfile | 4 | 401 | 334 | 32 | 35 |
| Svelte | 2 | 321 | 293 | 0 | 28 |
| Perl | 1 | 335 | 254 | 44 | 37 |
| BASH | 4 | 274 | 237 | 10 | 27 |
| Nix | 2 | 279 | 219 | 35 | 25 |
| JSX | 5 | 168 | 138 | 17 | 13 |
| Autoconf | 1 | 120 | 118 | 0 | 2 |
| HTML | 6 | 99 | 88 | 4 | 7 |
| Makefile | 1 | 43 | 30 | 4 | 9 |
| SVG | 9 | 30 | 30 | 0 | 0 |
| YAML | 1 | 20 | 19 | 1 | 0 |
| GNU Style Assembly | 1 | 19 | 18 | 0 | 1 |
| Protocol Buffers | 1 | 14 | 11 | 0 | 3 |
| MDX | 4 | 44 | 0 | 24 | 20 |
| Markdown | 81 | 7223 | 0 | 5304 | 1919 |
| Plain Text | 21 | 46727 | 0 | 45913 | 814 |
Top language: Rust 70.0%. Generated on .
oven-sh/bun: 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.
oven-sh/bun has 2,638,181 lines of code, plus 344,607 comment lines and 237,055 blank lines, for 3,219,843 total lines at commit 5f3f8fe483e7 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 5f3f8fe483e7, 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 5f3f8fe483e7 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for oven-sh/bun on this page — 2,638,181 code lines across 33 languages, counted by tokei.