Hey there, fellow developers! Have you ever dreamed of cloning any website and turning it into a sleek React app in seconds? Well, buckle up because we're diving into Open Lovable, the fantastic open-source alternative to Lovable AI. This tool lets you harness AI to recreate websites as modern React applications, all without the premium price tag of its proprietary counterpart. In this guide, we'll explore what Open Lovable is, why it's a game-changer, and how to set it up using its core technology stack: E2B Sandbox for secure code execution, Firecrawl for web scraping, the Kimi AI model for fast inference, and cloning its GitHub repo. By the end, you'll be ready to build your own React clones—let's get started!
Want an integrated, All-in-One platform for your Developer Team to work together with maximum productivity?
Apidog delivers all your demands, and replaces Postman at a much more affordable price!
What Is Open Lovable and Why Choose It Over Lovable AI?
Open Lovable is an open-source project from Mendable AI that allows you to clone and recreate any website as a modern React app using AI-powered tools. Launched as a free alternative to Lovable AI—a proprietary service that uses AI to generate React code from website screenshots or descriptions—Open Lovable puts the power in your hands without subscriptions or limitations. It's hosted on GitHub at github.com/mendableai/open-lovable, and it's designed for developers who want transparency, customization, and zero costs beyond optional API usage.
Lovable AI, while innovative, requires a paid plan starting at $25/month for full access, with limits on generations and features. Open Lovable, on the other hand, is completely free and open-source, licensed under MIT, meaning you can fork, modify, and deploy it as you like. It's Mendable AI's gift to the community, built to democratize AI-driven web development. Whether you're a solo dev experimenting with React or a team prototyping apps, Open Lovable saves time and money while delivering high-quality results.

One of the standout aspects is its focus on privacy and control—run it locally, use your own API keys, and avoid vendor lock-in. Plus, it's community-driven, with contributions welcome to add new features like support for more frameworks or advanced scraping options. If you're tired of proprietary tools, Open Lovable is your ticket to freedom!
Understanding the Technology Stack of Open Lovable
Open Lovable is built on a smart stack that combines web scraping, AI inference, and secure execution. Let's break down each component briefly:
E2B Sandbox: Secure Code Execution in the Cloud
E2B Sandbox is a cloud-based platform for running code in isolated environments, perfect for AI tasks that involve untrusted code or heavy computation. In Open Lovable, it handles the execution of generated React code safely, preventing potential security risks like malicious scripts. You get an API key from e2b.dev, and it's free for basic use (with paid tiers for more sandboxes). Think of it as your AI's safe playground—essential for cloning websites without compromising your local machine.

Kimi AI Model: Fast and Efficient Inference
The Kimi AI model, from Moonshot AI, is a high-performance LLM optimized for coding and long-context tasks, available via providers like Groq for blazing-fast inference. In Open Lovable, Kimi powers the AI that analyzes scraped websites and generates React code. It's free during beta (via Groq's free tier) or low-cost at about ~$0.0002 per 1K tokens. Kimi excels in understanding web structures and outputting clean React components, making it ideal for this tool. If you're on Groq, get a key from console.groq.com—it's speedy and supports up to 128K tokens.

Firecrawl: Robust Web Scraping for Data Collection
Firecrawl is a powerful web scraping API that forms the foundation of Open Lovable's data gathering process. It crawls websites efficiently, extracting structured content like HTML, text, images, or JSON while handling common challenges such as JavaScript rendering and anti-bot measures. In the Open Lovable pipeline, Firecrawl fetches the target site's layout and elements, which are then analyzed by Kimi AI to generate accurate React clones. Obtain an API key from firecrawl.dev—it's affordable at about ~$0.0001 per page and crucial for reliable, high-quality website recreations without manual intervention.

GitHub Repo Clone: The Core of Open Lovable
The heart of Open Lovable is its GitHub repo at github.com/mendableai/open-lovable, which you clone to get started. This repo contains the Next.js frontend, AI integration scripts, and configuration files. Cloning it gives you full access to the source code, allowing customization like adding new AI models or scraping options. It's a simple git clone
away, and since it's open-source, you can contribute back to the community.
Together, this stack creates a seamless pipeline: scrape a site with Firecrawl (integrated in the repo), analyze with Kimi, execute safely in E2B, and output a React app. Now, let's set it up!
Step-by-Step Guide to Set Up Open Lovable
Getting Open Lovable running is straightforward. We'll clone the repo, configure keys, and test it with a website clone. Follow along!
Step 1: Clone the Repository
Open Your Terminal:
- Fire up your favorite terminal (e.g., VS Code integrated terminal or iTerm).
Clone the Repo:
- Run:
git clone https://github.com/mendableai/open-lovable.git
cd open-lovable
- This pulls the latest code from GitHub, including the Next.js app and AI scripts.
Install Dependencies:
- Install Node.js packages:
npm install
- This sets up everything, from React to AI integrations.
Step 2: Configure API Keys in .env.local
Open Lovable needs keys for E2B, Firecrawl (for scraping), and your AI provider (e.g., Groq for Kimi).
Create .env.local:
- In the project root, create
.env.local
and add:
# Required
E2B_API_KEY=your_e2b_api_key # From e2b.dev
FIRECRAWL_API_KEY=your_firecrawl_api_key # From firecrawl.dev for web scraping
# Optional AI Providers (need at least one)
ANTHROPIC_API_KEY=your_anthropic_api_key # From console.anthropic.com (Claude)
OPENAI_API_KEY=your_openai_api_key # From platform.openai.com (GPT)
GROQ_API_KEY=your_groq_api_key # From console.groq.com (for Kimi model)
- Get E2B Key: Sign up at e2b.dev, create an API key—free for basic sandboxes.
- Get Firecrawl Key: At firecrawl.dev, sign up and generate a key—essential for scraping website content.
- Get Groq Key for Kimi: Sign up at console.groq.com, get a free API key. Kimi is fast (up to 200 tokens/sec) and great for code gen.
Save and Restart:
- Save the file. Environment variables are loaded automatically in Next.js.
Step 3: Run Open Lovable Locally
Start the Dev Server:
- Run:
npm run dev
- Open http://localhost:3000 in your browser.

Test a Website Clone:
- In the app, enter a website URL (e.g., https://example.com. Literally any website that you would like to clone).
- Open Lovable will scrape the site with Firecrawl, analyze it with Kimi (via Groq), and generate a React app in E2B Sandbox.
- Download the generated React code and run it locally with
npm start
.

Step 4: Customize and Extend Open Lovable
Open Lovable is highly customizable—here’s how to make it your own:
- Switch AI Models:
- Edit
.env.local
to use Claude (ANTHROPIC_API_KEY) for better reasoning or GPT (OPENAI_API_KEY) for creativity.
2. Add Features:
- Fork the repo and modify
src/pages/index.tsx
to add custom prompts or support Vue.js output.
3. Deploy to Vercel:
- Push to GitHub and deploy to Vercel for a live version:
vercel --prod
.
4. Scale with Firecrawl: Upgrade to Firecrawl’s paid plan for unlimited scraping if you hit free limits.
Pro Tip: If scraping fails (e.g., due to anti-bot measures), use a proxy in Firecrawl settings—check their docs for details.
Troubleshooting Common Issues
- API Key Errors? Verify keys in
.env.local
and ensure they're active on the provider’s dashboard. - Scraping Fails? Some sites block Firecrawl; try a different URL or add headers in the code.
- Slow Generation? Kimi on Groq is fast, but switch to a lighter model like GPT-4o-mini if needed.
- E2B Sandbox Limits? Free tier has restrictions; upgrade for more concurrent runs.
- Repo Clone Issues? Ensure Git is installed and check your internet connection.
Comparing Open Lovable to Lovable AI
While Lovable AI is polished and user-friendly, it’s proprietary with paid plans starting at $25/month for unlimited generations. Open Lovable is free forever, but you manage API costs (e.g., Groq’s free tier covers basics, ~$0.0002 per 1K tokens for Kimi). Lovable AI offers more hand-holding with pre-built templates, but Open Lovable gives you full code access for customization—ideal for devs who want control. If privacy is key, Open Lovable runs locally, while Lovable AI is cloud-based. Overall, Open Lovable wins for cost and flexibility, especially with its community backing.
Real-World Use Cases for Open Lovable
Open Lovable shines in various scenarios:
- Prototyping Websites: Clone a competitor’s site and tweak it into a React app for A/B testing.
- Learning React: Generate React code from existing sites to study structures and components.
- Migrating Legacy Sites: Scrape old HTML sites and convert them to modern React for easier maintenance.
- E-commerce Experiments: Clone a shop’s layout and build a custom React frontend with your backend.
With Kimi’s coding smarts and E2B’s safety, it’s reliable for production prototypes.
Future of Open Lovable and Contributions
As an open-source project, Open Lovable is community-driven—submit issues or PRs on GitHub to add features like Svelte support or better error handling. Mendable AI plans updates for more models (e.g., Claude integration) and enhanced scraping. Watch the github repo for releases!
Conclusion
You’re now a Open Lovable pro! From cloning the repo to generating React apps with E2B, Kimi, and Firecrawl, you’ve got a free tool to rival Lovable AI. Experiment with different websites, customize the code, and share your creations. Got questions or cool clones? Drop a comment—I’d love to hear!
Want an integrated, All-in-One platform for your Developer Team to work together with maximum productivity?
Apidog delivers all your demands, and replaces Postman at a much more affordable price!