oven-sh/bun has 2,104,076 source lines of code out of 2,658,547 total lines across 5,943 files, counted from the main ref at commit 7a748413f944 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
oven-sh/bun: 2,104,076 code lines at commit 7a748413f944, counted with tokei-14.0.0 on 2026-10-22. Saved result 6447c2a1aea0e0d8534b5496e468c5d04196424bd803a0d4b71460cb8dc79d29.
OctoCounts produced this report by resolving oven-sh/bun to commit 7a748413f944, 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 very large codebase by counted code lines. Code represents 79.1% of all lines, comments represent 13.3%, and the repository averages 354 code lines per file. Rust accounts for 66.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 3235 | 1631590 | 1401280 | 114546 | 115764 |
| C | 26 | 299367 | 201105 | 80204 | 18058 |
| C++ | 601 | 220111 | 172819 | 19802 | 27490 |
| TypeScript | 493 | 211705 | 140908 | 54346 | 16451 |
| JavaScript | 374 | 90883 | 82503 | 4298 | 4082 |
| C Header | 765 | 101346 | 58652 | 28872 | 13822 |
| JSON | 92 | 31559 | 31513 | 0 | 46 |
| TOML | 144 | 4672 | 3792 | 310 | 570 |
| TSX | 25 | 3099 | 2612 | 228 | 259 |
| CSS | 12 | 1630 | 1467 | 26 | 137 |
| Zsh | 1 | 1486 | 1294 | 11 | 181 |
| Python | 2 | 1641 | 1160 | 102 | 379 |
| Shell | 27 | 1457 | 1077 | 203 | 177 |
| Module-Definition | 1 | 686 | 679 | 7 | 0 |
| LD Script | 2 | 669 | 661 | 0 | 8 |
| PowerShell | 3 | 521 | 401 | 58 | 62 |
| Fish | 1 | 461 | 388 | 25 | 48 |
| Dockerfile | 4 | 397 | 330 | 32 | 35 |
| Svelte | 2 | 321 | 293 | 0 | 28 |
| Perl | 1 | 335 | 254 | 44 | 37 |
| BASH | 4 | 271 | 234 | 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 | 44 | 31 | 4 | 9 |
| SVG | 9 | 30 | 30 | 0 | 0 |
| YAML | 1 | 20 | 19 | 1 | 0 |
| Protocol Buffers | 1 | 14 | 11 | 0 | 3 |
| MDX | 4 | 44 | 0 | 24 | 20 |
| Markdown | 80 | 7029 | 0 | 5143 | 1886 |
| Plain Text | 18 | 46493 | 0 | 45707 | 786 |
Top language (Rust 66.6%). Generated at .
oven-sh/bun has 2,658,547 total lines, including 2,104,076 code lines, 354,059 comment lines, and 200,412 blank lines.
OctoCounts resolved the public GitHub repository to commit 7a748413f944, 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 7a748413f944 on 2026-10-22T04:49:27.288913164Z.
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,104,076 code lines across 32 languages, counted by tokei.