uptrace/bun
Some data may be outdated — see provenance labels.
SQL-first Golang ORM observed · 2026-10-02
Health v2 · maintenance only
86/100
- Activity 97
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: 23
- age_days: 1997
- days_rel: 235
- days_push: 21
- n_releases_24m: 14
Adoption not part of the score
4983 stars · 307 forks observed · 2026-10-02
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Bun is a lightweight, SQL-first ORM for Go built on database/sql, supporting PostgreSQL, MySQL/MariaDB, MSSQL, SQLite, and Oracle. It provides type-safe query building, flexible result scanning, migrations, fixtures, soft deletes, and OpenTelemetry tracing while keeping SQL front and center.
Use cases
- build type-safe SQL queries in Go without hiding the SQL
- manage database schema migrations for a Go application
- query results into structs, maps, scalars, or slices
- write one codebase that works across PostgreSQL, MySQL, MSSQL, SQLite, and Oracle
- add query tracing with OpenTelemetry to database calls
- implement soft deletes and table relationships with struct tags
When to choose
- you want ORM convenience but full control over generated SQL
- you need multi-database support from a single Go codebase
- you prefer compile-time type safety over string-based query building
- you want a lightweight layer over database/sql with minimal overhead
When to avoid
- you want a fully abstracted ORM that hides SQL entirely
- your project uses a non-SQL database
- you need an ORM outside the Go ecosystem
Facets
library · maturity stable
orm database database-driver databases backend web-development developer-tools go windows cross-platform sql-first query-builder migrations postgresql mysql sqlite mssql oracle opentelemetry linux macos
2 sources
- readme: https://github.com/uptrace/bun · fetched 2026-10-02 · 2b5204e2fdab
- homepage: https://bun.uptrace.dev · fetched 2026-08-29 · e9f1430455e9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| uptrace/bun | main | 86 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem