seed  by supabase-community

Database seeder for local development/testing

created 1 year ago
688 stars

Top 50.4% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Seed is a TypeScript-based tool for automatically generating realistic dummy data for databases, targeting developers and testers who need to populate their databases for local development and testing. It simplifies data creation by automatically handling value generation, relationships, and offering type-safe code, deterministic outputs, and AI-assisted data examples.

How It Works

Seed leverages a TypeScript client generated from your database schema, enabling type-safe data definition. It uses Copycat for deterministic data generation, ensuring consistent results across runs. For text-based fields, it integrates with LLMs (OpenAI, Groq) to generate example data based on column descriptions, which are then saved and can be refined by the user.

Quick Start & Requirements

  • Install via npx @snaplet/seed init.
  • Requires Node.js and a database connection.
  • AI features require OPENAI_API_KEY or GROQ_API_KEY environment variables.
  • Documentation: https://docs.snaplet.dev/

Highlighted Details

  • Type-safe data generation with a generated TypeScript client.
  • Deterministic data generation using Copycat.
  • AI-assisted data example generation for text fields.
  • Automatic handling of relational data.

Maintenance & Community

The project is part of the Supabase community. Development setup involves Nix for managing dependencies.

Licensing & Compatibility

MIT License. Permissive for commercial use and integration with closed-source projects.

Limitations & Caveats

The project is actively developed, and while the core functionality is robust, advanced features like AI data generation may require specific API keys and configuration. The Nix-based development environment setup is detailed but may present a learning curve for users unfamiliar with Nix.

Health Check
Last commit

10 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
35 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems) and Daniel Han Daniel Han(Cofounder of Unsloth).

Kiln by Kiln-AI

0.6%
4k
AI prototyping and dataset collaboration tool
created 1 year ago
updated 16 hours ago
Starred by Omar Sanseviero Omar Sanseviero(DevRel at Google DeepMind), Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), and
4 more.

argilla by argilla-io

0.4%
5k
Collaboration tool for building high-quality AI datasets
created 4 years ago
updated 5 days ago
Feedback? Help us improve.