# oven-sh/bun SLOC report

> As of 2026-08-26 (commit 731aa92dad37), oven-sh/bun contains 1,951,282 total lines: 1,457,654 code, 332,614 comments, 161,014 blank, across 4,068 files in 33 languages (top: Rust 53.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving oven-sh/bun to commit 731aa92dad37, 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.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 74.7% of all lines, comments represent 17.0%, and the repository averages 358 code lines per file. Rust accounts for 53.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 1,511 | 964,085 | 784,521 | 100,830 | 78,734 |
| C | 26 | 297,890 | 199,989 | 79,987 | 17,914 |
| C++ | 582 | 207,361 | 161,744 | 18,977 | 26,640 |
| TypeScript | 446 | 192,766 | 126,542 | 51,341 | 14,883 |
| JavaScript | 339 | 92,033 | 81,742 | 5,405 | 4,886 |
| C Header | 743 | 97,484 | 56,469 | 27,818 | 13,197 |
| JSON | 91 | 29,880 | 29,834 | 0 | 46 |
| TOML | 120 | 3,882 | 3,121 | 299 | 462 |
| Shell | 28 | 3,690 | 2,846 | 433 | 411 |
| TSX | 23 | 2,856 | 2,397 | 213 | 246 |
| CSS | 12 | 1,495 | 1,328 | 28 | 139 |
| Python | 2 | 1,641 | 1,160 | 102 | 379 |

Top language (Rust 53.8%). Generated at 2026-08-26T18:31:07.914706074+00:00. Canonical report: https://octocounts.com/github/oven-sh/bun

## Report FAQ

### How many lines of code does oven-sh/bun have?

oven-sh/bun has 1,951,282 total lines, including 1,457,654 code lines, 332,614 comment lines, and 161,014 blank lines.

### How was the oven-sh/bun line count measured?

OctoCounts resolved the public GitHub repository to commit 731aa92dad37, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for oven-sh/bun?

This OctoCounts report was generated from main at commit 731aa92dad37 on 2026-08-26T18:31:07.914706074+00:00.

## Similar repository reports

- [aptos-labs/aptos-core](https://octocounts.com/github/aptos-labs/aptos-core) — Rust, 1,439,996 code lines
- [zed-industries/zed](https://octocounts.com/github/zed-industries/zed) — Rust, 1,368,513 code lines
- [openai/codex](https://octocounts.com/github/openai/codex) — Rust, 1,236,363 code lines
- [paritytech/polkadot-sdk](https://octocounts.com/github/paritytech/polkadot-sdk) — Rust, 1,192,097 code lines
- [tinyhumansai/openhuman](https://octocounts.com/github/tinyhumansai/openhuman) — Rust, 1,170,843 code lines
- [nautechsystems/nautilus_trader](https://octocounts.com/github/nautechsystems/nautilus_trader) — Rust, 1,161,242 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
