As of 2026-09-06 (commit d316760e8cae), oven-sh/bun contains 1,959,331 total lines: 1,465,280 code, 332,472 comments, 161,579 blank, across 4,082 files in 33 languages (top: Rust 54.0%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving oven-sh/bun to commit d316760e8cae, 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 74.8% of all lines, comments represent 17.0%, and the repository averages 359 code lines per file. Rust accounts for 54.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 1518 | 970157 | 791208 | 99894 | 79055 |
| C | 26 | 298177 | 200189 | 80065 | 17923 |
| C++ | 581 | 208304 | 162611 | 19008 | 26685 |
| TypeScript | 448 | 193281 | 126829 | 51519 | 14933 |
| JavaScript | 343 | 92554 | 82075 | 5569 | 4910 |
| C Header | 746 | 96995 | 55694 | 28000 | 13301 |
| JSON | 90 | 29834 | 29788 | 0 | 46 |
| TOML | 120 | 3968 | 3200 | 298 | 470 |
| Shell | 28 | 3698 | 2849 | 438 | 411 |
| TSX | 23 | 2856 | 2397 | 213 | 246 |
| CSS | 12 | 1495 | 1328 | 28 | 139 |
| Python | 2 | 1641 | 1160 | 102 | 379 |
Top language (Rust 54.0%). Generated at 2026-09-06T19:39:00.760374172+00:00.
oven-sh/bun has 1,959,331 total lines, including 1,465,280 code lines, 332,472 comment lines, and 161,579 blank lines.
OctoCounts resolved the public GitHub repository to commit d316760e8cae, 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 d316760e8cae0d69ae927898d5afc933ecf34671 at commit d316760e8cae on 2026-09-06T19:39:00.760374172+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: