Skip to main content
manus-to-supabase converts a Manus AI project from its default MySQL backend to Supabase + PostgreSQL. It patches your codebase, rewrites queries, and wires up Supabase auth — in one command.

GitHub

nometria/manus-to-supabase

PyPI

manus-to-supabase on PyPI

Install

pip install manus-to-supabase

Usage

# Run in your Manus project directory
manus-to-supabase /path/to/your/manus-project

# Or from inside the project
cd /path/to/manus-project
manus-to-supabase

# Dry run — preview changes without writing
manus-to-supabase . --dry-run

What it does

StepWhat happens
MySQL → PostgreSQLRewrites SQL queries, data types, and ORM calls
Auth migrationReplaces Manus session auth with Supabase auth
Environment setupGenerates .env template with required Supabase variables
Schema outputProduces a ready-to-run schema.sql for your Supabase project
Dependency updateUpdates package.json or requirements.txt with Supabase SDK

After migration

Set your environment variables:
VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=eyJ...
SUPABASE_JWT_SECRET=your-jwt-secret
DATABASE_URL=postgresql://user:pass@host:5432/db
Run the generated schema in your Supabase SQL editor, then install and build:
npm install
npm run build

Why Supabase?

Manus uses a managed MySQL database that you don’t control. Migrating to Supabase gives you:
  • Full ownership of your data
  • PostgreSQL with row-level security
  • Drop-in auth with social providers
  • Realtime subscriptions
  • Open source and self-hostable
For a fully managed deployment, use Nometria to deploy your migrated Manus project to AWS with a custom domain and SSL.