mmkal
Re:Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM
on Wednesday June 24, 2026 @11:24AM (#48661364)
have a look at https://sqlfu.dev - if you're using sqlite especially this likely has what you're looking for
(disclaimer: i made sqlfu! and it's pretty early so use with appropriate caution. there's very little to the runtime part of it though, just very thin adapters around battle-tested clients)
Re:Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM
on Wednesday June 24, 2026 @11:22AM (#48661354)
We built something quite similar - a full SQL framework with migrations, schema diffing, type-generation (this is the similar part I think), and named queries along with observability and more: https://sqlfu.dev
It also ships adapters for pretty much all platforms, for sqlite at least: bun, node, libsql, better-sqlite3, expo-sqlite, sqlite-wasm, etc. etc.
github: https://github.com/iterate/sqlfu