Repository

ilbertt/bun-sqlgen

bun-sqlgen

Types generator for your Bun.sql queries

114stars

Open github.com

ilbertt/bun-sqlgen

bun-sqlgen

Codegen tool that validates SQL queries against a database schema and generates TypeScript result types for Bun applications. Uses in-memory Wasm Postgres (PGlite) to run migrations at codegen time.

Visit project

Show me a random project

First shared
Jun 23, 2026
HN activity
5542

Show HN@ilbertJun 23, 2026

Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM

Community

Hacker News discussion

Loading the thread…