SUPABASE ENVIRONMENT DIFF & SYNC TOOL

Diff and sync your
Supabase environments.

SupaForge finds every difference between two Supabase environments (local and remote) - schema and data, RLS policies, grants, storage, auth, Edge Functions, cron and more - and makes the target match the source safely, before the difference becomes an incident.

npm install -g @akal/supaforge

Node.js 20+. Or run it once with npx @akal/supaforge

What we detect

Every check that can prevent production incidents - all in one place

🗄️
Postgres Schema
Tables, columns, keys, indexes, partitions, views, functions, aggregates, triggers, event triggers, rules, sequences, types, casts, text search, foreign tables, default privileges, collations and comments - in every schema you own. A renamed column or table keeps its rows
🔒
RLS Policies
Policies added, removed or changed between environments, compared by meaning rather than text
🛡️
RLS Coverage
Tables in the target with Row Level Security switched off, before anyone finds them through the Data API
👥
Roles & Grants
Custom roles, and what anon, authenticated and service_role may touch on each side
⚡
Edge Functions
Functions missing, extra or on a different version across dev, staging and prod
🪣
Storage
Buckets, their visibility, size and type limits, and the policies that guard them
🔑
Auth Settings
Sign-in providers, MFA, JWT expiry, CAPTCHA and the rest of the auth config, setting by setting
⏰
Cron Jobs
pg_cron jobs missing, extra, rescheduled or paused on one side only
📋
Reference Data
The rows of the tables you choose - plans, feature flags, lookups - out of sync across environments
🔔
Database Webhooks
Webhook triggers that call your functions on one side and not the other
📡
Realtime
Which tables are published, and the policies on Realtime channels
🔐
Vault Secrets
Secret names and descriptions present in one environment but not the other
🧩
Postgres Extensions
pgvector, pg_graphql, pg_cron and every other extension, by presence and version
🧾
Migration History
Local migration files against what the target has actually applied
📨
Queues
Supabase Queues missing, extra or of a different kind, created and dropped through pgmq itself
🗂️
Partition Sets
pg_partman partition sets and their settings, registered through pg_partman so it keeps managing them

How it works

Connect once, stay in sync forever

01
Connect your projects
Point SupaForge at each environment's database, plus a Supabase access token for the auth and Edge Function checks.
02
Run a diff
Every check runs against both sides, and each finding comes with its severity and the fix.
03
Review & apply
Preview the SQL and what each fix locks, rehearse it on a throwaway copy - rows included - with --prove, then apply it in one transaction.

Security & Trust

We take the security of your database credentials seriously - here's how we protect them

🔐
AES-256-GCM Encryption at Rest
All database credentials and API keys are encrypted server-side with AES-256-GCM before being stored. Plaintext credentials never persist in our database.
🔒
TLS 1.3 Encryption in Transit
All connections between your browser and SupaForge use TLS 1.3 (256-bit). Every request is encrypted end-to-end.
🛡️
Row-Level Security
Every database query is scoped to your authenticated user via Supabase RLS. No user can ever access another user's projects or credentials.
🗑️
Server-Side Only Decryption
Credentials are only decrypted in our server-side worker when running a scan. They are never sent to the browser or exposed via any API response.
🇪🇺
GDPR Compliant
Akal Software Ltd is registered with the UK ICO (Information Commissioner's Office) and complies with European GDPR data protection laws.
🔑
Open Source CLI
The SupaForge CLI is open source under the MIT licence - every check and every fix it writes can be audited on GitHub.

Get in touch

Questions, feedback or partnership ideas? Send us a message - or email [email protected].