{"repo":"t1mmen/srtd","free":true,"listed":false,"github":"https://github.com/t1mmen/srtd","clone":"git clone https://github.com/t1mmen/srtd.git","description":"🪄 Supabase migrations made magical: Live-reloading SQL + Sane, reviewable diffs + Maintainable templates = Delightful DX","language":"TypeScript","stars":105,"topics":["cli","migrations","postgres","supabase","supabase-cli","templates","sql-templates","hot-reload","live-reload","repeatable-migrations"],"license":"MIT","category":"databases-storage","readme_excerpt":"srtd — Live-Reloading, declarative, SQL migration templates for Supabase and Postgres The workflow of Vite or Nodemon—but for SQL . Hot-reload SQL while you iterate. Build as migrations when it's time to ship. --- Why srtd exists Database development usually has a slow, frustrating feedback loop: - Edit SQL in your IDE - Copy to SQL editor or create migration - Run it - Hit an error? Fix in IDE, copy again, run again - Works? Back to your IDE, until the next change - Repeat Code reviews aren't much better. Changing a single line in a function often shows up as a full rewrite in Git, making it hard to see what actually changed. srtd exists to fix both problems: - Fast local iteration with live reload - Clean, reviewable diffs for database logic - Real migrations for production safety After searching for two years while building Timely's Memory Engine on Supabase, the itch needed to be scratched. --- The core idea srtd intentionally separates iteration , review , and execution . Templates are for humans - Plain SQL files - Concise and readable - The primary thing you review in Git Migrations are for databases - Generated from templates - Explicit and deterministic - Safe to deploy in CI and production Templates evolve over time. Migrations are the execution record. --- The diff problem—solved Without templates, changing one line in a function means your PR shows a complete rewrite—the old DROP + CREATE replaced by a new one. Reviewers have to read the whole thing, and manually ","default_branch":null,"files":null,"tree":[],"storefront":"/r/t1mmen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/t1mmen/srtd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}