sqlc-dev

    sqlc-dev/sqlc

    Generate type-safe code from SQL

    android
    database
    code-generator
    go
    kotlin
    mysql
    orm
    Go
    MIT
    18.4K stars
    1.1K forks
    18.4K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 197 days ago, with 242 contributors on GitHub.

    Peaked at #58 in the weekly ranking the week of Feb 22, its best in the past year.

    Use Cases & Benefits

    • Generates type-safe code from SQL queries for multiple programming languages.
    • Ensures compile-time safety by producing code that matches SQL schema and queries exactly.
    • Use for building type-safe database access layers in Go applications.
    • Use for generating Kotlin or Python client code from SQL for mobile or backend services.
    • Use for integrating SQL queries directly into TypeScript projects with type safety.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    sqlc generates type-safe code from SQL. Here's how it works:

    Check out an interactive example to see it in action, and the introductory blog post for the motivation behind sqlc.

    Excerpt from the sqlc-dev/sqlc README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    1.1K+29

    Open issues

    714+4

    Compared with peers in Android

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    sqlc-dev/sqlc compared with Android repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    rustdesk/rustdesk128.3K+839654 days ago
    makecindy/cindy9.3K+77145today
    DioxusLabs/dioxus39.5K—5412 days ago
    MatsuriDayo/NekoBoxForAndroid23.3K—24262 days ago
    0x192/universal-android-debloater20.3K—32—
    sqlc-dev/sqlc18.4K—44197 days ago
    Category median23.3K+80545—

    Discover Repositories

    Search across tracked repositories by name or description