qmetrics.net

SQLBoiler

Go ORM code generator from existing database schemas

Code Analysis & TransformationDatabasesMaintenance modeDesktop/CLI app

SQLBoiler is in maintenance mode: “This package is currently in maintenance mode, which means:” source

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

Overview

SQLBoiler is a command-line generator that produces a Go object-relational layer matched to tables and relationships already present in a database. You maintain schema with a separate migration tool, point SQLBoiler at the database, and regenerate models when the schema changes.

Generated code emphasizes compile-time type safety, relationship helpers, hooks around create and update operations, eager loading, transactions, and strongly typed query modifiers. It targets PostgreSQL, MySQL, Microsoft SQL Server, and SQLite through separate driver binaries, with hooks to supply other engines out of band.

Configuration uses a TOML file or environment variables for connection details, output package names, table whitelists, and generation switches such as disabling hooks or tests. The tool wipes or replaces output directories on regeneration to avoid stale files from dropped tables.

The project is in maintenance mode: maintainers focus on compatibility and community fixes rather than new features. Documentation positions alternatives such as Bob and sqlc for teams wanting actively developed options.

Key features

  • Schema-driven Go model generation
  • PostgreSQL, MySQL, MSSQL, SQLite
  • Type-safe query modifiers
  • Relationship eager loading
  • Lifecycle hooks and transactions
  • TOML and env configuration
  • Compatibility test generation
  • Regeneration with wipe support

Use cases

  • Go apps on legacy SQL schemas
  • Replacing hand-written sql.DB boilerplate
  • ActiveRecord-style Go data access

Tags

Similar software

sqlc

Command-line SQL compiler for type-safe application code

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

★ 18.5k⟳ 1 month agoMIT

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