#151151st of 275 in Backends, databases and hosting

sqlc

SQL compiler that generates type-safe application code from SQL queries

Releases and problems feed (RSS)

Stars
18.5k
License
MIT
Last commit
Oct 2026
Last release
Apr 2026
Language
Go
Stars, last 29 weeks+1,181
28 Apr 2026: 17,288 stars5 May 2026: 17,331 stars12 May 2026: 17,366 stars19 May 2026: 17,626 stars26 May 2026: 17,673 stars2 Jun 2026: 17,710 stars9 Jun 2026: 17,743 stars16 Jun 2026: 17,775 stars23 Jun 2026: 17,809 stars30 Jun 2026: 17,841 stars7 Jul 2026: 17,874 stars14 Jul 2026: 17,916 stars21 Jul 2026: 17,967 stars28 Jul 2026: 18,002 stars4 Aug 2026: 18,040 stars11 Aug 2026: 18,080 stars18 Aug 2026: 18,115 stars25 Aug 2026: 18,140 stars1 Sept 2026: 18,179 stars8 Sept 2026: 18,212 stars15 Sept 2026: 18,246 stars22 Sept 2026: 18,270 stars29 Sept 2026: 18,295 stars6 Oct 2026: 18,319 stars13 Oct 2026: 18,353 stars20 Oct 2026: 18,379 stars27 Oct 2026: 18,405 stars3 Nov 2026: 18,424 stars10 Nov 2026: 18,445 stars17 Nov 2026: 18,469 stars

17,288 on 28 Apr 202618,469 on 17 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

sqlc reads SQL queries and generates type-safe code with interfaces to those queries, so application code calls generated functions instead of hand-written database glue. Go, Kotlin, Python and TypeScript are supported through separate sqlc-gen plugins, and other languages can be added as community plugins. It is written in Go and has a browser playground.

Who it is for: Developers who want typed database access code generated from raw SQL

Strengths

  • Queries stay in plain SQL; generated code gives typed interfaces to them
  • Language backends are plugins: Go, Kotlin, Python and TypeScript, plus community ones
  • Browser playground at play.sqlc.dev for trying it without installing
  • MIT licensed, written in Go, with downloads and docs published

Weaknesses

  • Not a database or backend; it only generates client code for SQL you write
  • Language support lives in separate plugin repositories, each with its own maturity
  • README does not describe how schemas or database engines are configured

What it needs

  • no GPU
  • Docker + Compose
  • Compose runs MySQL, PostgreSQL, ClickHouse

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Open now, reported in the last 90 days

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Backends, databases and hosting

See all 275
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.8k starscustom license94 out of 100
2coolifySelf-hosted Heroku and Vercel alternative that deploys apps and databases over SSH66.2k stars+3,121 (+4.9%) in 30 daysApache-2.093 out of 100
3traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.6k starsMIT93 out of 100
#4appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.4k stars+641 (+1.1%) in 30 daysBSD-3-Clause93 out of 100
#5medusaNode.js commerce platform with modular products, carts, orders and payments37.3k starscustom license93 out of 100