HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ts-safeql
safeql
TypeScript2024–2024
ts-safeql / safeql

safeql

Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.

2Distinct people
2Mentions
0Explicit recommenders
1.6KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day2 dated mentions

Observed mentions: 2024-11-21 19:09:41 UTC to 2024-12-06 01:20:29 UTC.

012024-11-21 00:00:00 UTC to 2024-11-22 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 212024-11-22 00:00:00 UTC to 2024-11-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-23 00:00:00 UTC to 2024-11-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-24 00:00:00 UTC to 2024-11-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-25 00:00:00 UTC to 2024-11-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-26 00:00:00 UTC to 2024-11-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-27 00:00:00 UTC to 2024-11-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-28 00:00:00 UTC to 2024-11-29 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsNov 282024-11-29 00:00:00 UTC to 2024-11-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-30 00:00:00 UTC to 2024-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-01 00:00:00 UTC to 2024-12-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-02 00:00:00 UTC to 2024-12-03 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-03 00:00:00 UTC to 2024-12-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-04 00:00:00 UTC to 2024-12-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-05 00:00:00 UTC to 2024-12-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-06 00:00:00 UTC to 2024-12-07 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 6

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 212024-11-21 00:00:00 UTC2024-11-22 00:00:00 UTC110
Nov 222024-11-22 00:00:00 UTC2024-11-23 00:00:00 UTC000
Nov 232024-11-23 00:00:00 UTC2024-11-24 00:00:00 UTC000
Nov 242024-11-24 00:00:00 UTC2024-11-25 00:00:00 UTC000
Nov 252024-11-25 00:00:00 UTC2024-11-26 00:00:00 UTC000
Nov 262024-11-26 00:00:00 UTC2024-11-27 00:00:00 UTC000
Nov 272024-11-27 00:00:00 UTC2024-11-28 00:00:00 UTC000
Nov 282024-11-28 00:00:00 UTC2024-11-29 00:00:00 UTC000
Nov 292024-11-29 00:00:00 UTC2024-11-30 00:00:00 UTC000
Nov 302024-11-30 00:00:00 UTC2024-12-01 00:00:00 UTC000
Dec 12024-12-01 00:00:00 UTC2024-12-02 00:00:00 UTC000
Dec 22024-12-02 00:00:00 UTC2024-12-03 00:00:00 UTC000
Dec 32024-12-03 00:00:00 UTC2024-12-04 00:00:00 UTC000
Dec 42024-12-04 00:00:00 UTC2024-12-05 00:00:00 UTC000
Dec 52024-12-05 00:00:00 UTC2024-12-06 00:00:00 UTC000
Dec 62024-12-06 00:00:00 UTC2024-12-07 00:00:00 UTC101

What Hacker News says

2 sources
I'm really curious to see new DX for the problem of "type-safe queries with intellisense". Litdb provides SQL-like syntax, but it feels like knowing actual SQL should be enough. If the problem is seen as an editor or build-time problem, rather than a library one, you don't have to learn anything new, and you can save the weight in your dependencies. A fusion of ts-safeql [0] and postgres_lsp [1] is the closest I've seen to solving this as an editor/build problem. [0] - https://github.com/ts-safeql/safeql [1] - https://github.com/supabase-community/postgres_lsp
In Litdb – type safe SQL for JavaScript/TS

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.