HackerLinks

Tool Profile

bun-sqlgen

A Bun SQL codegen tool that keeps raw SQL and adds types.

At a glance:
First seen:2026-06-23
Last seen:2026-06-23
Sightings:1
Source:github.com

What it is

A Bun SQL codegen tool that keeps raw SQL and adds types.

Why developers recommend it

Commenters liked the raw-SQL-plus-types approach as a pragmatic alternative to ORMs.

Hacker News evidence

2026-06-23

The thread compared it favorably with sqlc, Kysely, and pgtyped while focusing on nullability and generated typings.

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