#198198th of 358 in Backends, databases and hosting

uptrace/bun

SQL-first Go ORM for PostgreSQL, MySQL, MSSQL, SQLite and Oracle

Releases and problems feed (RSS)

Stars
5k
License
BSD-2-Clause
Last commit
Nov 2026
Last release
Oct 2026
Language
Go
Stars, last 30 weeks+275
26 Apr 2026: 4,729 stars3 May 2026: 4,738 stars10 May 2026: 4,753 stars17 May 2026: 4,767 stars24 May 2026: 4,784 stars31 May 2026: 4,800 stars7 Jun 2026: 4,808 stars14 Jun 2026: 4,817 stars21 Jun 2026: 4,827 stars28 Jun 2026: 4,830 stars5 Jul 2026: 4,836 stars12 Jul 2026: 4,849 stars19 Jul 2026: 4,859 stars26 Jul 2026: 4,877 stars2 Aug 2026: 4,887 stars9 Aug 2026: 4,897 stars16 Aug 2026: 4,903 stars23 Aug 2026: 4,913 stars30 Aug 2026: 4,924 stars6 Sept 2026: 4,938 stars13 Sept 2026: 4,947 stars20 Sept 2026: 4,954 stars27 Sept 2026: 4,961 stars4 Oct 2026: 4,965 stars11 Oct 2026: 4,973 stars18 Oct 2026: 4,982 stars25 Oct 2026: 4,991 stars1 Nov 2026: 4,994 stars8 Nov 2026: 4,996 stars15 Nov 2026: 5,000 stars22 Nov 2026: 5,004 stars

4,729 on 26 Apr 20265,004 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Bun is a Go library built on database/sql that maps structs to tables and lets you write queries in a builder that mirrors SQL, including CTEs. It covers relations via struct tags, bulk insert/update/delete, migrations, and query hooks for debug logging and OpenTelemetry. It is a data-access library, not an AI project or a hosted backend.

Who it is for: Go developers who want an ORM that keeps SQL visible

Strengths

  • Query builder follows SQL closely, including CTEs and raw expressions
  • One API across PostgreSQL, MySQL/MariaDB, MSSQL, SQLite and Oracle
  • Scans into structs, maps, scalars or slices
  • Ships migrations, fixtures, soft deletes and an OpenTelemetry query hook

Weaknesses

  • Go only; it is a library, not a standalone service
  • Queries use string expressions, so some SQL errors surface only at runtime
  • Not related to AI; it only fits as a database layer in a Go backend
  • Each database needs its own driver and dialect package

What it needs

  • no GPU
  • Needs A SQL database (PostgreSQL, MySQL/MariaDB, MSSQL, SQLite or Oracle)

What changed

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

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Backends, databases and hosting

See all 358
Also in Backends, databases and hosting
RankProjectScore
#196apache/camelJava integration framework with 350+ connectors, routes in Java, YAML or XML6.4k starsApache-2.069 out of 100
#197dynamic-datasourceSpring Boot starter that routes calls to multiple datasources via @DS5.2k starsApache-2.069 out of 100
#199csghubSelf-hosted hub for models, datasets and Spaces, like a private Hugging Face Live demo ↗ (opens in a new tab)4.1k starsApache-2.069 out of 100
#200avoAdmin panel and internal tool framework for Ruby on Rails apps Live demo ↗ (opens in a new tab)1.8k starscustom license69 out of 100
#201casosSingle-binary Kubernetes cluster with web UI, app store and MCP server Live demo ↗ (opens in a new tab)1.4k starsApache-2.069 out of 100