qmetrics.net

sqlc

Command-line SQL compiler for type-safe application code

sqlc screenshot

sqlc turns SQL queries into typed code for your language. You write SQL, run the tool, then call generated interfaces from application code.

Overview

sqlc is a SQL compiler that generates type-safe code from SQL you maintain by hand. The workflow is to author queries in SQL, run sqlc to emit code with typed accessors, and integrate those generated calls in the rest of the application.

The generated layer is meant to remove handwritten boilerplate for query execution while keeping SQL as the source of truth. Multiple databases and languages are supported; additional languages can be added through plugins.

Downloads, documentation, and an online playground let you try queries interactively. Installable binaries are published for common desktop operating systems.

Recent releases have added capabilities such as local managed databases for development workflows. The tool is intended to catch query and typing issues earlier in development rather than only at runtime.

Key features

  • SQL-authored queries as source input
  • Generated type-safe query interfaces
  • Plugin support for more languages
  • CLI-driven code generation
  • Documentation and interactive playground
  • Desktop binaries for major OS targets
  • Managed local database workflows

Use cases

  • Typed data access without hand-written DAOs
  • Keeping SQL explicit in the codebase
  • PostgreSQL or MySQL backed services
  • Early failure on query or schema mismatches

Tags

Similar software

SQLBoiler

Go ORM code generator from existing database schemas

SQLBoiler reads your live database schema and generates type-safe Go models and query helpers. It is database-first, not code-first.

★ 7k⟳ 20 days agoBSD-3-Clause
Code Analysis & TransformationMaintenance modeDesktop/CLI app

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

★ 480.8k⟳ todayMIT

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

TypeScript

Typed JavaScript language with compile-time checks

TypeScript adds optional static types to JavaScript and compiles to standard JavaScript. It targets application-scale code on browsers, Node.js, and other JavaScript runtimes.

★ 111.9k⟳ yesterdayApache-2.0

Ghidra

NSA software reverse engineering and disassembly analysis suite

Ghidra is an NSA Research Directorate SRE framework with disassembly, decompilation, graphing, and scripting for analyzing compiled code on Windows, macOS, and Linux.

★ 101.5k⟳ yesterdayApache-2.0