colinhacks / reylo
git clone https://github.com/colinhacks/reylo.git
v0.3.0 · 1d ago
Imports .sql files into TypeScript with inferred types derived from your live database schema, without code generation.
Why you might care
Reylo lets you write raw SQL in .sql files and import them directly, with row and parameter types inferred from your Postgres, MySQL, or SQLite database rather than hand-written types or generated files. Type errors for misspelled columns or wrong parameters show up in tsc and your editor. It relies on TypeScript 7.1 content mappers, which are still in beta.
+319
stars, 24h · #90
+1.1k
stars, 7 days · #205
+1.1k
stars, 30 days · #790
1.1k
★ total · +1089% this week
8
forks · 10 open issues
Star history (as recorded here)
LanguageRust
LicenseMIT
Created2026-10-21 (3d ago)
Last pushtoday
Watchers1
OwnerUser
Links
- GitHub: github.com/colinhacks/reylo
- Homepage: https://reylo.dev
- Releases · Issues · Hacker News mentions
README
Loading README…
Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.