Back to index

04 MMXXVI Live · OSS CLI · Free

Lovable-Eject

A one-command way to get your project off Lovable and hosted somewhere you control.

Lovable-Eject cover plate

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.

npx lovable-eject One command
F.01

Clean export

Removes the Lovable-specific config, tidies up the project structure, and gives you back something that looks like any other repository.

F.02

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.

F.03

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.

F.04

Nothing to install

Runs with npx. No global install, no config file, nothing to remember. You use it once and you're done.

Node.js CLI npm / npx Vercel Free
Return to start · N° 01

NotchWise