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.
As of 2026-10-22 (commit 7a748413f944), oven-sh/bun contains 2,658,547 total lines: 2,104,076 code, 354,059 comments, 200,412 blank, across 5,943 files in 32 languages (top: Rust 66.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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 |
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.288913164+00:00.
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 12 languages, counted by tokei.