Open Lovable
Open-source alternative to Lovable.dev built by the Firecrawl team. Chat with AI to build React apps instantly.
- GitHub: firecrawl/open-lovable
- License: MIT
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 installRequired Environment Variables
| Variable | Provider |
|---|---|
FIRECRAWL_API_KEY | Firecrawl (required) |
GEMINI_API_KEY | Google AI Studio |
ANTHROPIC_API_KEY | Anthropic |
OPENAI_API_KEY | OpenAI |
GROQ_API_KEY | Groq |
Fast Apply (Optional)
MORPH_API_KEY — enables faster edits via Morph LLM
Sandbox (Choose One)
| Provider | Required Vars |
|---|---|
| Vercel (default) | VERCEL_OIDC_TOKEN (dev, via vercel link + vercel env pull) or VERCEL_TOKEN + VERCEL_TEAM_ID + VERCEL_PROJECT_ID (production) |
| E2B | E2B_API_KEY from e2b.dev |
Set SANDBOX_PROVIDER=vercel or SANDBOX_PROVIDER=e2b.
Run
pnpm dev
# Open http://localhost:3000