Watch the walkthrough
Zero Lovable credits spent per edit.
Full walkthrough — connect Lovable to GitHub, pull the repo into Claude Code, make a live edit, and watch it sync straight back into Lovable in real time.
What you get
Everything Lovable gives you — without the credit meter.
Zero credits on edits
Every change pushed through GitHub is free. Your Lovable message limit stays untouched.
Two-way GitHub sync
Edit in Lovable, edit in Claude Code — both stay in sync automatically.
Unlimited iteration
Claude Code has no Lovable message cap, so you can refactor and experiment freely.
Same codebase, no lock-in
You own the repo. If you ever want to leave Lovable, your project comes with you.
Faster feedback loop
Run the project locally, hot-reload every edit, then push once you're happy.
Works with any AI
Claude Code is my pick, but Cursor, Copilot, or Codex all work the same way.
How it works
Three steps. Ten minutes.
No new services to sign up for. GitHub is free, Lovable's integration is built in, and Claude Code runs in your terminal.
Step 01
Connect Lovable to GitHub
In your Lovable project, open the GitHub menu (top right) and authorize the Lovable app. Create the repo — Lovable turns on two-way sync automatically.
Step 02
Clone the repo with Claude Code
Open Claude Code and tell it to clone your repo, install dependencies, and start the dev server. Your project opens on localhost — same code as Lovable, running on your machine.
Step 03
Edit locally, push back to GitHub
Ask Claude Code for a change in plain English. When you like it, tell it to push. Refresh your Lovable preview — the change is there. Zero Lovable credits spent.
The Claude Code prompt
The exact prompt I paste into Claude Code first.
Swap in your GitHub username and repo name. This clones, installs, starts the dev server, and grounds Claude in your codebase before you change a single file.
Clone https://github.com/<your-username>/<your-repo> into ./<your-repo>,
cd into it, install dependencies, and start the dev server.
Then analyze the codebase and explain the structure — the framework,
the routing, where pages live, where components live, and any
conventions I should follow. Do not change any files yet.Once Claude Code confirms the structure, ask for your first edit in plain English — then tell it to commit and push. Refresh Lovable and the change is there.