# Bun-sqlgen

> Types generator for your Bun.sql queries.

Page: https://nowfound.app/launch/bun-sqlgen-type-safe-raw-sql-for-bun-no-orm

- Launched: 2026-06-23
- Launch-day votes: 55, 42 comments; #652 of 22,776 launches that month (top 3%)
- Website: [github.com](https://github.com/ilbertt/bun-sqlgen), online when checked 2026-11-15
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Pricing: Free. Free and open source (checked 2026-11-20 on its site)
- Forecast: 83% chance its website is still online in November 2031 (91% in November 2027, 86% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2026: 78%. [Method](https://nowfound.app/forecast.md)
- Originality: 35/100 (crowded field). More original than 35% of products launched in 2026. On its launch day the archive already held 39 similar products; 4 products like it have launched since.

## In plain words

Bun-sqlgen is a developer tool that generates type-safe raw SQL code for the Bun JavaScript runtime. It allows developers to write SQL queries with type checking without using an ORM, combining the flexibility of raw SQL with the safety of static typing. The tool targets JavaScript developers who prefer direct database control while maintaining code reliability through type safety.

_Written by AI from its launch page and website, 2026-09-05._

## What it does, from its own words

Types generator for your Bun.sql queries. Contribute to ilbertt/bun-sqlgen development by creating an account on GitHub.

## Does a similar job

- [ORM for TypeScript with no query-builder](https://nowfound.app/launch/orm-for-typescript-with-no-query-builder-supporting-full-sql): An extremely simple and explicit ORM for TypeScript (2020-09-03, 220 votes, free, forecast: 95% online in 2031, github.com)
- [A SQL database implemented purely in TypeScript](https://nowfound.app/launch/a-sql-database-implemented-purely-in-typescript-type-annotat): A SQL database implemented purely in TypeScript type annotations. (2020-09-28, 426 votes, free, forecast: 95% online in 2031, github.com)
- [PgTyped](https://nowfound.app/launch/pgtyped-typesafe-sql-in-typescript-and-postgres): pgTyped - Typesafe SQL in TypeScript. (2020-05-25, 269 votes, free, forecast: 95% online in 2031, github.com)
- [Kysely](https://nowfound.app/launch/kysely-a-type-safe-sql-query-builder-for-typescript): The most powerful type-safe SQL query builder for TypeScript (2023-06-21, 90 votes, free, forecast: 95% online in 2031, kysely.dev)
- [SQL Database Schema Generator](https://nowfound.app/launch/sql-database-schema-generator): Production-ready boilerplate for Claude Code. CLAUDE.md templates, MCP configs, hooks, workflows, and everything you need to build faster with Claude Code. (2024-01-25, 129 votes, free, forecast: 84% online in 2031, supalaunch.com)
- [AI2sql Chrome Extension](https://nowfound.app/launch/ai2sql-chrome-extension): Generate SQL directly in your browser with help of AI (2022-09-01, 233 votes, forecast: 89% online in 2031, chromewebstore.google.com)

All alternatives: https://nowfound.app/alternatives/bun-sqlgen-type-safe-raw-sql-for-bun-no-orm.md

## For the maker of Bun-sqlgen

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/bun-sqlgen-type-safe-raw-sql-for-bun-no-orm
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/bun-sqlgen-type-safe-raw-sql-for-bun-no-orm"><img src="https://nowfound.app/badge/bun-sqlgen-type-safe-raw-sql-for-bun-no-orm.svg" alt="Bun-sqlgen on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=48645390)
