🪴 - SupaSeeder - 🪴
Using AI to Generate Seed Data for Supabase
Every developer knows the importance of having good seed data for fast testing and development. Manually crafting SQL queries to populate your database with realistic data can be tedious and error-prone, especially when dealing with complex relationships between tables.
SupaSeeder connects to your Supabase instance, extracts the database schema, then you can either generate SQL insert statements or optimized prompts to use with any AI model to generate the seed data you need.
Try it out online at supaseeder.vercel.app 🔥
⚙️ How It Works
Provide Supabase URL & Anon Key
Connects to your database and reads the schema.Write a prompt
Describe the data you want (e.g. "10 users with 5 posts each").Pick mode
- Prompt Mode: Get optimized prompts to use with any AI (ChatGPT, Claude, etc.)
- Direct Mode: Get complete SQL queries generated using OpenAI
- Get SQL output Copy & paste to your SQL editor or Supabase SQL Runner.
🛠️ Setup Locally
Method 2: Run Locally
- Clone the repository:
git clone https://github.com/mmvergara/supaseeder.git
cd supaseeder
- Install dependencies:
npm install
# or
yarn install
# or
pnpm install
- Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev