Skip to content

Latest commit

ย 

History

124 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โšก SpawnApps.dev โ€” AI Application Builder

Generate. Preview. Deploy. In seconds.

Next.js TypeScript Tailwind CSS Prisma Clerk Gemini Supabase PostgreSQL


SpawnApps.dev is a powerful, AI-orchestrated runtime engine that generates fully functional, professionally designed web applications from a single natural language prompt. Describe your idea, and the engine instantly scaffolds a live, navigable application โ€” no code required.

Live: https://spawnapps.dev


๐Ÿš€ Deploy to Vercel ยท ๐Ÿ“ฆ Download as Next.js ZIP ยท ๐Ÿ›  Run Locally ยท ๐Ÿ“– Architecture


๐Ÿ“‹ Table of Contents

  1. Overview
  2. Features
  3. Supported App Templates
  4. How It Works
  5. Deploy to Vercel (One-Click)
  6. Download as Next.js Project
  7. Getting Started (Local Development)
  8. Using the App
  9. Configuration Schema Reference
  10. Prompt Engineering Guide
  11. Architecture Overview
  12. Project Structure
  13. Upcoming Features
  14. Contributing
  15. License

๐ŸŒ Overview

Spawn.dev bridges the gap between idea and working software. Under the hood, a multi-step AI pipeline interprets your natural language description, structures it into a typed JSON configuration, and hands that config off to a dynamic runtime renderer that hydrates one of 10+ premium Next.js templates with AI-generated mock data โ€” all in a matter of seconds.

The result is a fully navigable, multi-page web application with real UI components, realistic data, and professional design โ€” instantly available in your browser, ready to deploy or export.


โœจ Features

Feature Description
๐Ÿง  Natural Language to App Describe your idea in plain English. The AI figures out the rest.
๐ŸŽจ 10+ Premium Templates Hand-crafted, domain-specific layouts from SaaS dashboards to real estate explorers.
๐Ÿš€ One-Click Vercel Deploy Push your generated app directly to production on Vercel via API integration.
๐Ÿ“ฆ Next.js ZIP Export Download the full, runnable Next.js project as a ZIP archive for local editing.
๐Ÿ”‘ Settings & BYOK Centralized settings page for Gemini API Keys and Vercel Tokens.
๐Ÿ’พ Intelligent Caching Generated configs are cached in PostgreSQL via Prisma for instant reloading.
๐Ÿ“ฑ Fully Responsive Every template is optimized for desktop, tablet, and mobile out of the box.
๐Ÿ” Authentication Ready Full user management via Clerk โ€” login, sessions, and secure data handling.
๐Ÿ—บ๏ธ Multi-Page Navigation Dynamic routing handles complex multi-page app structures automatically.
โšก Vite-like Speed Near-instant generation and rendering using Next.js 15+ and React 19.

๐Ÿงฉ Supported App Templates

The runtime engine selects and populates one of the following premium templates based on your prompt's detected intent:

Template Key App Type Features
SaaSDashboard B2B / Analytics KPI metrics, charts, activity tables, sidebar nav
EcommerceStore Online Retail Product grids, filters, cart, checkout flow
SocialFeed Social Platform Infinite scroll timeline, likes, comments, stories
JobBoard Recruitment Job listing cards, role filters, application modal
CollegeDiscovery EdTech Institution cards, ranking tables, program details
RealEstateExplorer Property Map view, image galleries, pricing, agent contact
BookingSystem Services / Travel Calendar picker, availability slots, booking confirmation
EventTicketing Events / Entertainment Neon-themed event timeline, ticket tiers, purchase flow
BlogPlatform Publishing / Content Rich-text reader, author bio, tag filtering, related posts
PortfolioGallery Creative / Agency Masonry grid, project detail modal, contact form

Adding custom templates: Drop a new component in src/lib/runtime/componentRegistry.ts and it becomes available to the AI immediately.


๐Ÿ”„ How It Works

             User Prompt
                   โ”‚
                   โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         Prompt Engineering Layer        โ”‚
โ”‚   Formats user input into a structured  โ”‚
โ”‚   system prompt for the AI model        โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                   โ”‚
                   โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         Config Validation & Cache       โ”‚
โ”‚  Validates schema, stores in Postgres   โ”‚
โ”‚  via Prisma. Cache hit โ†’ skip AI call   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                   โ”‚
                   โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚      Dynamic Template + Mock Data       โ”‚
โ”‚  Component rendered with AI-generated   โ”‚
โ”‚  content, live navigation, responsive   โ”‚
โ”‚  layout, and real UI interactions       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿš€ Deploy to Vercel (One-Click)

Spawn.dev features direct Vercel deployment โ€” push your generated app to production without leaving the browser.

How to Deploy

  1. Generate your app from the dashboard (see Generating an App).
  2. In the app preview, click the "Deploy to Vercel" button in the top action bar.
  3. You will be prompted to authorize Spawn.dev to connect to your Vercel account (one-time OAuth flow).
  4. Choose your preferred Vercel team/scope and project name.
  5. Click Confirm Deploy. The engine:
    • Compiles the generated configuration and template code into a deployable Next.js project.
    • Creates a new Vercel project via the Vercel API.
    • Initiates a deployment. A live URL (e.g., your-app.vercel.app) is returned within ~60 seconds.
  6. Your live URL is saved to the app detail page for future reference.

Requirements for Vercel Deployment

  • A free or paid Vercel account.
  • Vercel OAuth authorization (prompted on first deploy).
  • No additional configuration is needed โ€” environment variables and build settings are injected automatically.

Note: Deployed apps use AI-generated mock data by default. To connect a live database, see the Upcoming Features section on Persistent State Management.


๐Ÿ“ฆ Download as Next.js Project

Not deploying to Vercel? You can export your generated app as a fully runnable Next.js ZIP archive and host it anywhere.

How to Download

  1. Generate your app from the dashboard.
  2. In the app preview, click the "Download Project" button in the top action bar.
  3. A .zip file will download containing a complete Next.js project, pre-configured with:
    • Your AI-generated page configuration baked in as static data.
    • All referenced template components from the Spawn.dev component library.
    • package.json, tailwind.config.js, next.config.js, and TypeScript config.
    • A .env.example file listing any variables you may need to configure.
  4. Unzip, run npm install && npm run dev, and your app is running locally in seconds.

What's Included in the ZIP

your-app-name/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/
โ”‚   โ”‚   โ”œโ”€โ”€ layout.tsx           # Root layout
โ”‚   โ”‚   โ”œโ”€โ”€ page.tsx             # Entry redirect
โ”‚   โ”‚   โ””โ”€โ”€ [generated pages]/  # One folder per page in your config
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ””โ”€โ”€ templates/           # The specific template(s) used by your app
โ”‚   โ””โ”€โ”€ lib/
โ”‚       โ””โ”€โ”€ appConfig.ts         # Your generated JSON config, baked in as a constant
โ”œโ”€โ”€ public/
โ”œโ”€โ”€ .env.example
โ”œโ”€โ”€ next.config.js
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ tailwind.config.js
โ””โ”€โ”€ tsconfig.json

Tip: The downloaded project has zero dependency on Spawn.dev's backend. It is a fully self-contained Next.js application you own completely.


๐Ÿ›  Getting Started (Local Development)

Prerequisites

Make sure you have the following installed and available:


1. Clone & Install

# Clone the repository
git clone https://github.com/Vineetpandey0/App-Builder.git

# Navigate into the project directory
cd App-Builder

# Install all dependencies
npm install

2. Environment Variables

Create a .env file in the root of the project by copying the example:

cp .env.example .env

Then open .env and fill in your credentials:

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# DATABASE
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# Your PostgreSQL connection string.
# Format: postgresql://USER:PASSWORD@HOST:PORT/DATABASE_NAME
DATABASE_URL="postgresql://user:password@localhost:5432/spawn_dev"

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# AUTHENTICATION (Clerk)
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# Found in your Clerk dashboard โ†’ API Keys
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...

# Optional: Customize Clerk redirect paths
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/dashboard

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# AI CONFIGURATION
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# Fallback Gemini API key used when a user hasn't provided their own.
# Get one free at: https://aistudio.google.com/app/apikey
GOOGLE_API_KEY="AIzaSy..."

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# DEPLOYMENT (Optional โ€” for Vercel Deploy feature)
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# Your Vercel API token for one-click deployment.
# Create one at: https://vercel.com/account/tokens
VERCEL_API_TOKEN=""

# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# APP URL (Required for production)
# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
NEXT_PUBLIC_APP_URL="http://localhost:3000"

Security Note: Never commit your .env file to version control. It is already listed in .gitignore.


3. Database Migration

Initialize the database schema using Prisma:

# Push the Prisma schema to your database (creates all tables)
npx prisma db push

# Optional: Open Prisma Studio to inspect your database visually
npx prisma studio

If you make changes to prisma/schema.prisma in the future, run npx prisma db push again to sync.


4. Run Development Server

npm run dev

Open http://localhost:3000 in your browser to access the Spawn.dev builder.

Other useful commands:

npm run build       # Production build
npm run start       # Start production server
npm run lint        # Run ESLint
npm run type-check  # Run TypeScript type checking

๐ŸŽฎ Using the App

Providing Your API Keys

Spawn.dev supports Bring Your Own Key (BYOK) for both Google Gemini and Vercel.

  1. Log in to the application.
  2. Click on the User Profile section in the Sidebar Footer.
  3. Select "Settings" from the popup menu.
  4. In the "API Keys" tab:
    • Paste your Gemini API Key to enable AI generation.
    • Paste your Vercel API Token to enable one-click deployments.
  5. Your keys are securely stored in your browser cookies and used for all subsequent requests.

Privacy: Your API keys are stored client-side in cookies and are never stored on Spawn.dev's permanent servers.


Generating an App

  1. After signing in, navigate to the Dashboard and click "New App".

  2. Enter a natural language description of your application concept in the prompt box.

    Examples of strong prompts:

    • "A SaaS analytics platform for tracking e-commerce conversion funnels"
    • "A luxury vacation rental marketplace for mountain cabins in Colorado"
    • "A job board for remote-first engineering roles at tech startups"
    • "A portfolio site for an architectural photography studio in Tokyo"
    • "A booking platform for yoga and meditation classes in London"
  3. Click "Generate". The engine will:

    • Send your prompt to Gemini for structured configuration generation.
    • Validate and store the configuration in the database.
    • Redirect you to the live preview at /apps/[appId].
  4. Use the top navigation bar of your generated app to explore all generated pages.

  5. From the preview, use the action bar to:

    • Deploy to Vercel โ€” go live instantly.
    • Download ZIP โ€” export as a self-contained Next.js project.
    • Regenerate โ€” re-run the AI with the same prompt for a different result.

๐Ÿ“ Configuration Schema Reference

Behind the scenes, the AI generates a strictly typed JSON configuration object. You can also craft this manually for API or database injection.

Full Schema

{
  "name": "Luxury Miami Real Estate",
  "description": "A high-end property discovery platform for luxury homes.",
  "theme": "light",
  "pages": [
    {
      "path": "/home",
      "label": "Home",
      "type": "landing",
      "entity": "website"
    },
    {
      "path": "/properties",
      "label": "Properties",
      "type": "real_estate",
      "entity": "listings"
    },
    {
      "path": "/admin",
      "label": "Admin",
      "type": "saas_dashboard",
      "entity": "user"
    }
  ]
}

Field Reference

Field Type Required Description
name string โœ… Display name of the generated application
description string โŒ Short summary of the app's purpose
theme "light" | "dark" โŒ UI color scheme (defaults to "light")
pages Page[] โœ… Array of page definitions (minimum 1)
pages[].path string โœ… URL path, must start with /
pages[].label string โœ… Navigation label shown in the app's top bar
pages[].type TemplateKey โœ… Must exactly match a key in componentRegistry.ts
pages[].entity string โœ… Domain entity the page represents (e.g., "listings", "user")

Valid type Values

landing ยท saas_dashboard ยท ecommerce ยท social_feed ยท job_board
college_discovery ยท real_estate ยท booking ยท event_ticketing
blog_platform ยท portfolio_gallery

Important: The type value must exactly match a registered key in src/lib/runtime/componentRegistry.ts. Unrecognized types will cause a fallback render.


๐Ÿ’ก Prompt Engineering Guide

To get the best results from Spawn.dev's AI engine, follow these guidelines when crafting your prompt:

โœ… Effective Prompts

Strategy Example
Be specific about the domain "A job board for remote DevOps engineers" (not just "a job board")
Include the target audience "A booking platform for personal trainers serving busy professionals"
Mention geography when relevant "A real estate explorer for luxury condos in Dubai"
Reference a visual style "A dark-themed SaaS dashboard for a cybersecurity startup"
Name the core entities "A marketplace for vintage camera equipment with listings, sellers, and auctions"

โŒ Prompts to Avoid

  • Too vague: "Make me an app" โ†’ Use a domain-specific description
  • Too technical: "Build a CRUD app with REST endpoints" โ†’ Describe the product, not the implementation
  • Contradictory: "A social media platform but also an e-commerce store" โ†’ Pick a primary domain

๐Ÿ” Iterating

If a generation doesn't match your vision:

  • Click Regenerate to re-run the AI with the same prompt.
  • Refine your prompt with more detail and generate again.
  • Different runs of the same prompt will produce varied configurations due to AI temperature.

๐Ÿ— Architecture Overview

Spawn.dev is a full-stack Next.js 14 application using the App Router. Here is a breakdown of each layer:

Technology Stack

Layer Technology Purpose
Frontend Next.js 15+ (App Router) React 19, Server Components, Streaming
UI Library Tailwind CSS 4 + Shadcn UI Premium, utility-first design system
AI Integration @google/genai (Gemini 2.5 Flash) Context-aware application configuration generation
Database PostgreSQL + Prisma ORM Data persistence and configuration caching
Authentication Clerk Secure user authentication and session management
Deployment Vercel API Automated project creation and deployment

Request Flow

Browser
  โ”‚
  โ–ผ
Next.js App Router
  โ”œโ”€ /dashboard                โ†’ Dashboard & App creation UI
  โ”œโ”€ /api/app/create-app       โ†’ POST: AI configuration & App creation
  โ”œโ”€ /api/apps/[appId]/deploy  โ†’ POST/DELETE: Vercel deployment management
  โ”œโ”€ /api/apps/[appId]/export  โ†’ GET: ZIP project generation
  โ”‚     โ”œโ”€ Reads user's Gemini key from cookies (or fallback env key)
  โ”‚     โ”œโ”€ Sends structured prompt to Gemini 2.5 Flash
  โ”‚     โ”œโ”€ Validates returned JSON config
  โ”‚     โ””โ”€ Persists to PostgreSQL via Prisma
  โ”‚
  โ””โ”€ /apps/[appId]/[...path]  โ†’ AppRenderer (Server Component)
        โ”œโ”€ Fetches config from DB by appId
        โ”œโ”€ Matches current path โ†’ page config
        โ”œโ”€ Resolves page `type` โ†’ Component from Registry
        โ””โ”€ Renders component with AI-generated props

Component Registry Pattern

// src/lib/runtime/componentRegistry.ts
import { SaaSDashboard } from "@/components/templates/SaaSDashboard";
import { RealEstateExplorer } from "@/components/templates/RealEstateExplorer";
// ...

export const componentRegistry: Record<string, React.ComponentType<any>> = {
  saas_dashboard: SaaSDashboard,
  real_estate: RealEstateExplorer,
  // Add new templates here โ€” they become available to the AI immediately
};

๐Ÿ“ Project Structure

App-Builder/
โ”œโ”€โ”€ prisma/
โ”‚   โ””โ”€โ”€ schema.prisma              # Database schema
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ app/
โ”‚   โ”‚   โ”œโ”€โ”€ (builder)/             # Main dashboard & builder workspace
โ”‚   โ”‚   โ”œโ”€โ”€ api/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ app/               # App creation & listing endpoints
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ apps/              # Deployment & Export endpoints
โ”‚   โ”‚   โ””โ”€โ”€ apps/[appId]/          # Dynamic App Runtime Renderer
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”œโ”€โ”€ builder/               # Builder UI components (TopNav, Sidebar, Settings)
โ”‚   โ”‚   โ”œโ”€โ”€ runtime/               # 10+ premium app templates
โ”‚   โ”‚   โ””โ”€โ”€ ui/                    # Shadcn UI primitives
โ”‚   โ”œโ”€โ”€ hooks/                     # Custom hooks (useAppActions, etc.)
โ”‚   โ””โ”€โ”€ lib/                       # Database, AI, and Utility logic
โ”œโ”€โ”€ next.config.ts
โ”œโ”€โ”€ tailwind.config.js
โ””โ”€โ”€ package.json

๐Ÿ”ฎ Upcoming Features

We're actively building the next generation of Spawn.dev. Here's what's on the roadmap:

Feature Status Description
๐Ÿ™ GitHub Repository Export ๐Ÿ”จ In Progress Push generated code directly to a new GitHub repo
๐Ÿงฉ Custom Component Injection ๐Ÿ“… Planned Upload your own React components to the engine
๐Ÿ”„ Persistent State Management ๐Ÿ“… Planned Connect generated apps to live PostgreSQL instances
๐ŸŽจ Theme Customization Panel ๐Ÿ“… Planned Visual panel for adjusting colors, fonts, and radii
๐Ÿค Team Collaboration ๐Ÿ“… Planned Share apps with team members and manage permissions

๐Ÿค Contributing

Contributions are welcome! Here's how to get started:

  1. Fork the repository and create your feature branch:
    git checkout -b feature/your-feature-name
  2. Make your changes, following the existing code style (ESLint + Prettier are configured).
  3. If adding a new template, register it in src/lib/runtime/componentRegistry.ts.
  4. Run npm run lint and npm run type-check to verify no errors.
  5. Open a Pull Request with a clear description of what you've added or changed.

Adding a New Template

# 1. Create your component
touch src/components/templates/MyNewTemplate.tsx

# 2. Register it in the component registry
# src/lib/runtime/componentRegistry.ts
#   my_new_type: MyNewTemplate,

# 3. That's it โ€” the AI can now select your template!

๐Ÿ“„ License

This project is licensed under the MIT License. See the LICENSE file for full details.


Built with โค๏ธ by the spawn.dev team.

โญ Star on GitHub ยท ๐Ÿ› Report a Bug ยท ๐Ÿ’ก Request a Feature

About

Build customized apps from just a prompt. Zero Coding. Zero Design Skills. Describe your vision & Spawn builds a fully structured, production-ready app in seconds.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages