ncruces/go-sqlite3
Go bindings to SQLite using wasm2go observed · 2026-09-01
Health v2 · maintenance only
98/100
- Activity 100
- Release rhythm 96
- Longevity 95
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 13.0
- age_days: 1330
- days_rel: 30
- days_push: 2
- n_releases_24m: 49
Adoption not part of the score
1099 stars · 32 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A cgo-free Go binding to SQLite that wraps a WebAssembly build of SQLite translated to Go via wasm2go. It provides a database/sql compatible driver, direct access to the C SQLite API, a pure Go VFS, and a GORM driver.
Use cases
- use sqlite in go without cgo
- embed a sqlite database in a go application
- connect to sqlite with database/sql
- use sqlite with gorm in go
- cross-compile go binaries with sqlite
- create custom sqlite virtual tables or vfs in go
- run sqlite and math functions from go
When to choose
- you need sqlite in Go without cgo for easy cross-compilation or minimal dependencies
- you want a database/sql driver plus low-level access to the SQLite C API
- you need advanced SQLite features like custom functions, virtual tables, or incremental blob I/O
When to avoid
- you need maximum raw query performance, since the wasm-based approach adds overhead over cgo bindings
- you prefer the widely used mattn/go-sqlite3 cgo driver and don't mind cgo
- you need other databases than sqlite
Facets
library · maturity active
database-driver database orm databases developer-tools backend go cross-platform wasm sqlite cgo-free wasm2go database-sql-driver gorm vfs
3 sources
- readme: https://github.com/ncruces/go-sqlite3 · fetched 2026-09-01 · d3ac9040790f
- homepage: https://pkg.go.dev/github.com/ncruces/go-sqlite3 · fetched 2026-08-29 · 515938599fc6
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ncruces/go-sqlite3 | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="ncruces/go-sqlite3")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem