Guide
How to deploy a Lovable app for free
Your Lovable project is a standard web app, so it can run on free hosting you control. This guide uses Cloudflare's free plan. About 20 minutes, no coding.
1. Connect your project to GitHub
In Lovable, open your project, then Settings, Connectors, GitHub, and connect. Lovable creates a repository and keeps it in sync. Their instructions: Sync your Lovable project with GitHub.
2. Create a free Cloudflare account
Sign up at dash.cloudflare.com. No card or website needed.
3. Import the repository
- In the Cloudflare dashboard, open Workers & Pages and click Create application.
- Next to Import a repository, click Get started, connect GitHub, and choose your project.
- Keep the suggested settings and click Save and Deploy.
4. Approve the setup
Cloudflare detects your app and opens a pull request on GitHub with the small setup it needs. Open it in GitHub, click Merge pull request, then Confirm. Cloudflare's own explanation: Workers Builds.
5. Open your live address
In Cloudflare, open your project. Your address ends in workers.dev. From now on, every change that reaches GitHub goes live by itself.
If your app uses secret keys (for example for payments or an AI service), add them in Cloudflare under your project's Settings as variables. Never paste secret keys into your code.