Building with Lovable
How do I export my Lovable app to GitHub and continue in Cursor?
Quick answer
Connect GitHub sync in Lovable (Settings), which mirrors your full codebase to your own repository, then clone that repo and open it in Cursor or Claude Code. Sync from day one so the exit is always one clone away.
Graduating from Lovable is deliberately easy, and it is the strongest argument for choosing it over closed builders. Lovable's GitHub integration continuously syncs your project's real source code (a standard React plus Vite codebase talking to Supabase) into a repository you own. From there, any developer workflow applies: clone the repo, open it in Cursor or Claude Code, run it locally, and keep building.
The practical steps: connect GitHub in your Lovable project settings and authorize the repository; confirm the code is landing in your repo; then clone it locally and install dependencies like any React project. Your Supabase database keeps working unchanged, because it was always a separate service your app talks to; nothing about leaving Lovable's editor touches your data.
Two decisions to make at the handoff. Hosting: you can keep publishing through Lovable or deploy the repo yourself to Vercel or Netlify, and most people who leave the editor also move hosting. And direction of edits: once developers work directly in the repo, treat the repo as the source of truth rather than editing in both places, to avoid sync conflicts.
The meta-advice repeated across every Lovable community: turn on GitHub sync on day one, even if you never expect to leave. It converts every risk on the platform (pricing changes, limits, even shutdown) into a minor inconvenience, because the product is already in your hands.
Want to build a real app, not just read about it?
Lovable turns a plain-English prompt into a working, deployed full-stack app, database, auth, and a live URL included, no coding required. It's free to start, so you can ship something today.
Affiliate link, we may earn a commission at no extra cost to you.