Lovable-Eject
A one-command way to get your project off Lovable and hosted somewhere you control.
Origin
Lovable is a nice way to prototype. But once a project has real users or a custom domain, the hosting starts to feel restrictive. You can export the code, but what you get back isn't quite a project you can deploy. I ended up spending an afternoon hand-editing configs every time I wanted to move something off.
So I wrote Lovable-Eject. You run one command and it gives you a clean project ready to push to Vercel, Netlify, a VPS, or anywhere else that runs Node. No leftover Lovable files, no broken imports. It's free and open source and it does this one thing.
I built it because I needed it. Put it out because other people probably do too.
What it does
Clean export
Removes the Lovable-specific config, tidies up the project structure, and gives you back something that looks like any other repository.
Host it anywhere
The output works on Vercel, Netlify, Cloudflare Pages, Railway, or a Node server you run yourself. Nothing is tied to a specific host.
Keeps your env setup
Your environment variables come across intact, and it writes a .env.example so anyone else cloning the repo knows what to set.
Nothing to install
Runs with npx. No global install, no config file, nothing to remember. You use it once and you're done.
The stack
Elsewhere