Skip to main content
RapidDev - Software Development Agency
lovable-issues

How to Duplicate and Remix Existing Lovable Projects

To duplicate a Lovable project, open the project settings gear (top-right) and select Duplicate Project. To remix someone else's public project, visit the shared project URL and click Remix. Secrets, Supabase data, and GitHub connections are not copied — reconfigure them in Cloud tab → Secrets after duplicating. If remixing fails, verify the project is public and your account has available project slots.

Book a free consultation
4.9Clutch rating
600+Happy partners
17+Countries served
190+Team members
Intermediate8 min read~5 minAll Lovable plans (Free projects are public and remixable by default)March 2026RapidDev Engineering Team
TL;DR

To duplicate a Lovable project, open the project settings gear (top-right) and select Duplicate Project. To remix someone else's public project, visit the shared project URL and click Remix. Secrets, Supabase data, and GitHub connections are not copied — reconfigure them in Cloud tab → Secrets after duplicating. If remixing fails, verify the project is public and your account has available project slots.

Why duplicating or remixing Lovable projects requires specific steps

Lovable does not work like a traditional code editor where you can copy-paste a project folder. Each Lovable project lives on their servers with its own build configuration, environment secrets, and optional Supabase backend. When you duplicate or remix a project, Lovable creates a fresh project instance and copies the source code, but it cannot copy secrets, database contents, or third-party connections. Remixing is Lovable's built-in way to let others clone a shared project. When someone shares a Lovable project URL publicly, other users can click the Remix button to get their own independent copy. This only works if the original project is publicly accessible — private projects on paid plans cannot be remixed unless the owner shares them. For your own projects, the Duplicate Project option in project settings creates an exact code copy without Supabase data, environment secrets, or GitHub connections. Users who have connected to GitHub have an additional option: fork the GitHub repository. However, Lovable cannot import an existing GitHub repo directly, so you would need to create a new Lovable project and copy code over using Dev Mode.

  • The original project is set to private, preventing others from remixing it
  • Your Lovable account has reached the project limit for your current plan
  • Environment secrets and Supabase connections do not carry over to duplicates
  • The Remix feature is temporarily unavailable due to a platform incident on status.lovable.dev
  • GitHub repository was renamed or transferred after connecting, breaking the sync needed for forking workflows

Error messages you might see

Error remixing project

This error appears when the Remix button fails. Common causes include the original project being private, your account lacking available project slots, or a temporary platform outage. Check status.lovable.dev for ongoing incidents.

You have reached the maximum number of projects for your plan

Free accounts have a limited number of projects. Delete an unused project or upgrade to a paid plan to create more space for remixed projects.

This project is not available for remixing

The project owner has not made this project publicly accessible. Only public projects can be remixed by other users. Ask the owner to share it publicly or export the code through GitHub.

Before you start

  • A Lovable account (free or paid)
  • The URL of the project you want to remix, or ownership of the project you want to duplicate
  • Available project slots on your plan (delete unused projects if at the limit)
  • For GitHub-based workflows: a GitHub account connected via Settings → Connectors → GitHub

How to fix it

1

Remix a shared public Lovable project

Remixing creates an independent copy of someone else's public project in your account

Navigate to the shared project URL (it looks like lovable.dev/projects/[project-id]). If the project is public, you will see a Remix button near the top of the page. Click it. Lovable creates a new project in your account with all the source code from the original. The new project is completely independent — your changes will not affect the original. Note that environment secrets, Supabase database data, and custom domain settings are not copied.

Expected result: A new project appears in your Lovable dashboard with the same code as the original. The preview shows the same UI, ready for your modifications.

2

Duplicate your own existing project

Duplicating lets you experiment with changes without risking your working project

Open the project you want to duplicate in the Lovable editor. Click the project settings gear icon in the top-right corner. Look for the Duplicate Project option and click it. Lovable creates a new copy with all source code but without GitHub connections or Supabase links. This is especially useful before making large changes: duplicate first, experiment on the copy, and keep your original safe.

Expected result: A new project appears in your dashboard with a copy of the original name. All source code is identical to the original.

3

Reconfigure secrets and backend connections in the duplicate

Secrets and Supabase connections are project-specific and do not carry over to duplicates

Open your new duplicated or remixed project. Click the + button next to Preview to open the Cloud tab. Go to the Secrets section and re-enter any API keys or tokens your project needs (Stripe keys, third-party API tokens, etc.). If your project uses Supabase, you may need to connect a new Supabase instance through the Database section of the Cloud tab. Verify that all required secrets are present before testing the preview.

Expected result: All secrets show as configured in Cloud tab → Secrets. The app functions correctly in preview without missing API key errors.

4

Use GitHub fork as an alternative duplication method

Forking through GitHub gives you full Git history and works when Remix is unavailable

If the original project is connected to GitHub, go to the GitHub repository page and click Fork. This creates a copy in your GitHub account with full commit history. Since Lovable cannot import an existing GitHub repo directly, create a new Lovable project, open Dev Mode, and copy the relevant source files from your fork. Alternatively, prompt the Lovable agent with the file contents you want to recreate. If this cross-repository migration feels complex, RapidDev's engineers have handled project migrations across 600+ Lovable projects and can streamline the process.

Expected result: A forked repository in your GitHub account and a new Lovable project with the same source code running correctly in preview.

Complete code example

src/pages/RemixLanding.tsx
1import { useEffect, useState } from "react";
2import { Button } from "@/components/ui/button";
3import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
4import { Copy, ExternalLink } from "lucide-react";
5import { useToast } from "@/hooks/use-toast";
6
7// Landing page template for a remixed Lovable project
8// Customize this after duplicating or remixing
9const RemixLanding = () => {
10 const { toast } = useToast();
11 const [configOk, setConfigOk] = useState(false);
12
13 useEffect(() => {
14 // Check that required environment is configured after remix
15 const supabaseUrl = import.meta.env.VITE_SUPABASE_URL;
16 setConfigOk(Boolean(supabaseUrl));
17 }, []);
18
19 const handleCopyLink = () => {
20 navigator.clipboard.writeText(window.location.href);
21 toast({
22 title: "Link copied",
23 description: "Share this URL so others can remix your project.",
24 });
25 };
26
27 return (
28 <div className="min-h-screen flex items-center justify-center bg-background p-4">
29 <Card className="w-full max-w-md">
30 <CardHeader>
31 <CardTitle className="text-2xl">My Remixed Project</CardTitle>
32 </CardHeader>
33 <CardContent className="space-y-4">
34 <p className="text-muted-foreground">
35 This project was created from a Lovable template.
36 Customize it by editing the source or prompting the AI.
37 </p>
38 {!configOk && (
39 <p className="text-sm text-destructive">
40 Supabase URL is missing. Open Cloud tab Secrets to configure it.
41 </p>
42 )}
43 <div className="flex gap-2">
44 <Button onClick={handleCopyLink} variant="outline">
45 <Copy className="mr-2 h-4 w-4" />
46 Copy Share Link
47 </Button>
48 <Button asChild>
49 <a href="https://lovable.dev" target="_blank" rel="noreferrer">
50 <ExternalLink className="mr-2 h-4 w-4" />
51 Open Lovable
52 </a>
53 </Button>
54 </div>
55 </CardContent>
56 </Card>
57 </div>
58 );
59};
60
61export default RemixLanding;

Best practices to prevent this

  • Always duplicate a project before making major changes — it creates a safe rollback point at no cost
  • After remixing, immediately check Cloud tab → Secrets to re-enter any API keys the project needs
  • Use descriptive project names for duplicates so you can tell them apart in your dashboard
  • If you remix a project that uses Supabase, connect your own Supabase instance rather than assuming the original backend works
  • Delete unused duplicates to stay within your plan's project limit and keep your dashboard organized
  • Before sharing your project for others to remix, remove any hardcoded API keys or sensitive data from the source code
  • For team workflows, have one person set up and configure the template, then share the URL for others to remix

Still stuck?

Copy one of these prompts to get a personalized, step-by-step explanation.

ChatGPT Prompt

I remixed a Lovable (lovable.dev) project and the copy is not working correctly. The project uses Vite + React + TypeScript + Supabase. Here is the error I see in the preview: [paste the error message here] The original project worked fine. I think the issue is related to missing environment variables or a broken Supabase connection after remixing. Please: 1. Tell me which environment variables I likely need to reconfigure 2. Explain how to check if the Supabase connection is set up in the new project 3. List any files I should check for hardcoded project-specific values from the original

Lovable Prompt

I just duplicated this project and need to make sure everything works. Please scan all files for hardcoded Supabase URLs, API keys, or project-specific references that might still point to the original project. List every environment variable this project depends on so I can verify they are set in Cloud tab → Secrets. Also check that all import paths resolve correctly and no files are missing.

Frequently asked questions

How do I remix a Lovable project?

Visit the shared public project URL and click the Remix button near the top of the page. This creates an independent copy in your account with all the source code. Your changes do not affect the original project.

Can I connect an existing GitHub repository to Lovable?

No. Lovable only supports exporting from Lovable to GitHub, not importing an existing repository. To use code from GitHub, create a new Lovable project and copy the files using Dev Mode or by prompting the AI with the code contents.

Why do I get an error when remixing a Lovable project?

The most common causes are: the project is set to private, your account has reached its project limit, or there is a temporary platform issue. Check status.lovable.dev for incidents and confirm the project URL points to a public project.

Are environment secrets copied when I duplicate a project?

No. Environment secrets, Supabase connections, GitHub integrations, and custom domain settings do not transfer to duplicated or remixed projects. Reconfigure these in the new project through Cloud tab → Secrets and Settings → Connectors.

Can I duplicate a Lovable project to use as a template?

Yes. Open your project, click the settings gear (top-right), and select Duplicate Project. This creates a full copy of the source code that you can customize. Many users duplicate a working project before starting new features.

Does remixing copy the database and user data?

No. Remixing only copies source code. Database tables, user records, file storage, and Edge Functions are not transferred. Set up a fresh Supabase instance and recreate the schema in the new project.

What if I can't fix remixing issues myself?

If your remixed project has broken API connections, missing configurations, or references to the original project's resources, RapidDev's engineers can help. They have migrated and reconfigured over 600 Lovable projects and can get your duplicate running quickly.

RapidDev

Talk to an Expert

Our team has built 600+ apps. Get personalized help with your issue.

Book a free consultation

Need help with your Lovable project?

Our experts have built 600+ apps and can solve your issue fast. Book a free consultation — no strings attached.

Book a free consultation

We put the rapid in RapidDev

Need a dedicated strategic tech and growth partner? Discover what RapidDev can do for your business! Book a call with our team to schedule a free, no-obligation consultation. We'll discuss your project and provide a custom quote at no cost.