Open Lovable

Open-source alternative to Lovable.dev built by the Firecrawl team. Chat with AI to build React apps instantly.

What It Is

An example app demonstrating how to build a Lovable-like experience — describe your app in natural language and get a running React app deployed to a sandbox. Uses Firecrawl for understanding web context, multiple LLM backends for code generation, and Vercel/E2B for live preview.

Setup

git clone https://github.com/firecrawl/open-lovable.git
cd open-lovable
pnpm install

Required Environment Variables

VariableProvider
FIRECRAWL_API_KEYFirecrawl (required)
GEMINI_API_KEYGoogle AI Studio
ANTHROPIC_API_KEYAnthropic
OPENAI_API_KEYOpenAI
GROQ_API_KEYGroq

Fast Apply (Optional)

MORPH_API_KEY — enables faster edits via Morph LLM

Sandbox (Choose One)

ProviderRequired Vars
Vercel (default)VERCEL_OIDC_TOKEN (dev, via vercel link + vercel env pull) or VERCEL_TOKEN + VERCEL_TEAM_ID + VERCEL_PROJECT_ID (production)
E2BE2B_API_KEY from e2b.dev

Set SANDBOX_PROVIDER=vercel or SANDBOX_PROVIDER=e2b.

Run

pnpm dev
# Open http://localhost:3000