Chat with AI to instantly build React apps.
An open-source example app crafted by the Firecrawl team.
For a complete cloud-powered solution, check out Lovable.dev β€οΈ.
- Features
- Tech Stack
- Quick Start
- Environment Setup
- Run Locally
- Project Structure
- Scripts
- Troubleshooting
- Contributing
- Contributors
- License
- π€ Build React apps via conversational AI
- β‘ Powered by Firecrawl for scraping & AI integrations
- π Simple
.env.localsetup for providers - π§© Bring-your-own-keys: OpenAI, Anthropic, Gemini, Groq (use any one)
- π οΈ Developer-friendly: Vite + TypeScript + Tailwind
- Frontend: React + Vite
- AI/Infra: Firecrawl, E2B (Sandboxes)
- Lang/Build: Node.js, npm
- Styling/UX: Tailwind / Chakra / your choice
git clone https://github.com/mendableai/open-lovable.git
cd open-lovable
npm installCreate a .env.local file in the project root:
# Required
E2B_API_KEY=your_e2b_api_key # https://e2b.dev
FIRECRAWL_API_KEY=your_firecrawl_api_key # https://firecrawl.dev
# Optional (pick at least ONE AI provider)
ANTHROPIC_API_KEY=your_anthropic_api_key # https://console.anthropic.com
OPENAI_API_KEY=your_openai_api_key # https://platform.openai.com
GEMINI_API_KEY=your_gemini_api_key # https://aistudio.google.com/app/apikey
GROQ_API_KEY=your_groq_api_key # https://console.groq.comnpm run devπ Open: http://localhost:3000
open-lovable/
βββ public/ # Static assets
βββ src/ # Main app source code
β βββ components/ # Reusable UI components
β βββ hooks/ # Custom React hooks
β βββ pages/ # Page-level views
β βββ utils/ # Helper functions
β βββ main.tsx # App entry point
βββ .env.local # API keys config
βββ package.json # Dependencies & scripts
βββ vite.config.ts # Vite config
| Command | Description |
|---|---|
npm install |
Install dependencies |
npm run dev |
Start dev server (localhost:3000) |
npm run build |
Create production build |
npm run preview |
Preview production build locally |
code: command not foundβ Install VS Code CLI (Shell Command: Install 'code' in PATH).- API errors β Check if your
.env.localkeys are set correctly. - Port already in use β Change default port in
vite.config.ts.
Contributions are welcome π‘!
- Fork the repo
- Create a feature branch
- Submit a PR π
MIT Β© Mendable AI
β¨ Customized & contributed by Parth Bhende π
