Home/MockForge AI

MockForge AI

v0.1.0 Released88,000 rows/sec

Intelligent In-Browser Relational Mock DB & Seed Data Synthesizer

MockForge AI builds complex relational mock datasets with 100% foreign-key integrity using Kahn's Topological DAG Sorter and an in-browser WebAssembly SQLite engine. Generates millions of coherent rows across PostgreSQL, MySQL, and SQLite schemas at zero cloud compute cost ($0 VPS).

$pip install mockforge
$npm install -g @ritualdev/mockforge

Zero-Violation Relational Topological Generation

Feed any SQL DDL or Prisma schema. MockForge parses foreign-key constraints into a Directed Acyclic Graph (DAG) and generates insertion scripts guaranteed never to violate referential integrity.

-- 100% Valid Topological Ordering Handled by Kahn's DAG
CREATE TABLE users (id INT PRIMARY KEY, email TEXT, name TEXT);
CREATE TABLE orders (id INT PRIMARY KEY, user_id INT REFERENCES users(id), total DECIMAL);
CREATE TABLE order_items (id INT PRIMARY KEY, order_id INT REFERENCES orders(id), sku TEXT);
Throughput88,000+ rows/sec
Foreign Key Integrity100% Guaranteed
Supported DialectsPostgres / MySQL / SQLite

Enterprise Masking & CI/CD Features

Available for organizations scaling high-fidelity test fixtures and compliance masking.

Production DB Masking (HIPAA / GDPR / SOC 2)

Pipe real Postgres/MySQL sanitized dumps through MockForge. Synthetic data replaces customer PII while preserving 100% of foreign-key relationships.

Ephemeral In-Memory Mock API Servers

Instant HTTP mock servers spinning up directly inside GitHub Actions CI/CD test runners. Serves dynamic REST/GraphQL endpoints with zero cloud database spin-up latency.

Bidirectional ORM Synchronizers

Direct integration with Prisma, Drizzle, SQLAlchemy, and Django migrations to regenerate deterministic test fixtures on every git commit.

High-Throughput WebAssembly Engine

Synthesizes 88,000+ relational records per second entirely in-memory using WebAssembly SQLite with zero cloud database fees.

Generate Coherent Test Data in Seconds

Stop writing brittle manual SQL seed fixtures. Run MockForge locally or integrate into your CI/CD test runners.