sqlc-dev

    sqlc-dev/sqlc

    #473 this week

    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 Oct 23, 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.

    Ranks #473 of 3,103 repositories GStars tracks this week (top 15%).

    No releases in the last 90 days; the most recent was 184 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

    696-20

    Compared with peers in Android

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, 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
    google-ai-edge/mediapipe37.4K+0758 days ago
    sqlc-dev/sqlc18.4K+045184 days ago
    droidrun/mobilerun9.7K+0756 days ago
    rust-windowing/winit6.2K+07546 days ago
    MetaMask/metamask-mobile3.1K+0755 days ago
    modstart-lib/linkandroid2.7K+07512 days ago
    Category median6.2K+075—

    Discover Repositories

    Search across tracked repositories by name or description