11st of 102 in Backends, databases and hosting

bun

JavaScript and TypeScript runtime with bundler, test runner and package manager

Stars
96.7k
License
custom license
Last commit
Nov 2026
Last release
Oct 2026
Language
Rust
Stars, last 29 weeks+9,188
20 Apr 2026: 87,491 stars27 Apr 2026: 87,669 stars4 May 2026: 87,894 stars11 May 2026: 88,244 stars18 May 2026: 90,556 stars25 May 2026: 91,174 stars1 Jun 2026: 91,446 stars8 Jun 2026: 91,702 stars15 Jun 2026: 91,954 stars22 Jun 2026: 92,129 stars29 Jun 2026: 92,334 stars6 Jul 2026: 92,485 stars13 Jul 2026: 93,531 stars20 Jul 2026: 93,966 stars27 Jul 2026: 94,172 stars3 Aug 2026: 94,404 stars10 Aug 2026: 94,534 stars17 Aug 2026: 94,691 stars24 Aug 2026: 95,007 stars31 Aug 2026: 95,200 stars7 Sept 2026: 95,336 stars14 Sept 2026: 95,444 stars21 Sept 2026: 95,542 stars28 Sept 2026: 95,654 stars5 Oct 2026: 95,760 stars12 Oct 2026: 95,920 stars19 Oct 2026: 96,087 stars26 Oct 2026: 96,281 stars2 Nov 2026: 96,417 stars9 Nov 2026: 96,679 stars

87,491 on 20 Apr 202696,679 on 9 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Bun ships as a single `bun` executable that runs JS and TS (including JSX) on JavaScriptCore, as a drop-in Node.js replacement. The same binary provides a Node-compatible package manager, a bundler, a test runner and a single-file executable compiler. It also has built-in APIs for an HTTP server, WebSockets, SQLite, PostgreSQL, Redis and S3.

Who it is for: JS/TS developers replacing Node.js, npm and separate build or test tooling

Ranked among open-source alternatives to Firebase (#1 of 10).

Strengths

  • One executable covers runtime, package manager, bundler and test runner
  • Runs TypeScript and JSX directly without a separate build step
  • Built-in clients for SQLite, PostgreSQL, Redis and S3 and a WebSocket-capable HTTP server
  • Canary build published on every commit to main; `bun upgrade` self-updates

Weaknesses

  • Node.js compatibility is a goal, so some Node APIs or native modules may differ
  • x64 builds can fail with illegal instruction errors on CPUs lacking required features
  • Linux kernel 5.6+ strongly recommended; minimum is 5.1
  • Not a backend service: it is a runtime, so auth and storage are up to you

What it needs

  • no GPU

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Quick answers

Is bun open source?

Its code is public on GitHub under its own license terms; read them before you use it at work.

Can you run bun with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Head to head

Also in Backends, databases and hosting

See all 102
Also in Backends, databases and hosting
RankProjectScore
2strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k stars+245 (+0.3%) in 30 dayscustom license92 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k stars+446 (+0.7%) in 30 daysMIT92 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58k stars+463 (+0.8%) in 30 daysBSD-3-Clause92 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.2k starscustom license92 out of 100
#6tidbDistributed MySQL-compatible SQL database with row and columnar storage Live demo ↗ (opens in a new tab)40.7k stars+133 (+0.3%) in 30 daysApache-2.0known advisory in latest version91 out of 100