FitbuildBuild apps with AI, no coding experience needed
Menu

How to export your AI app to GitHub

The lock-in is not a secret file format. It is a project that exists only inside one product, so a price change or a credit cap takes the app with it. GitHub is a free account that holds your own copy of the files, plus a history of how they changed. Each builder below connects differently, and the plan that includes the connection is not the same on every tool. Docs were checked 2026-10-29. Plan prices are the catalog, recorded 2026-11-30.

The call

  • You might leave this builder later: connect GitHub now, before the project is large. A copy you made on day two is the backup. A copy you try to make after the account is locked is the emergency.
  • You only want a one-time download and you are on Lovable: that button is a paid plan. GitHub sync is the free path to a copy of the code.
  • You are deciding whether to keep paying the builder at all: that is from a browser builder to Cursor. This page is only how the files get out.

What each tool supports

Vendor docs checked 2026-10-29. A blank paid-plan rule means the doc did not name one. Scroll sideways on a small screen.
ToolHow you get the codeWhich planWatch out
LovableTwo-way GitHub sync from Project settings, then Git. Lovable creates a new repository. It does not attach the project to a repository you already have. A direct download sits in the same Git settings and in the code editor.github.com sync is on Free, Pro, and Business. Download, and editing the code, start on a paid plan. GitHub Enterprise hosting is the Enterprise plan.Sync covers the project code. Do not treat it as a database backup. Disconnecting is separate from deleting the GitHub repository, which you still own.
BoltThe GitHub icon in a project. Log in, install Bolt's GitHub app, and create a repository. The new repository starts private, on a main branch. You can also import a repository you already have.Bolt's article does not name a paid plan. You need a GitHub account.Only the project owner can connect GitHub. Disconnecting is permanent: Bolt says you cannot manually reconnect, and you have to contact support. If Bolt and GitHub change at the same moment, Bolt keeps its copy and overwrites GitHub.
ReplitLink GitHub under connected services, open the Git tool, and turn on auto-sync for two-way sync. You can also download the project as a zip from the file-tree menu.The Git pane doc does not name a paid plan for GitHub.com. Self-hosted GitHub Enterprise Server is the Enterprise plan.The GitHub copy is what you commit and push. A zip can also include files you have not committed. Replit says not to commit secret values or a database dump.
v0Project menu, Settings, GitHub, then create a repository. v0 pushes the current code to a private repository and, after that, does new work on its own branch. A branch is a side copy so unfinished work stays off the main copy.The GitHub doc and the pricing comparison do not mark sync as paid-only. This page does not invent a Free guarantee beyond that.v0 says the connected repository becomes the source of truth, and deleting it may make the code unrecoverable. GitHub sync does not by itself give you permission to deploy from GitHub.

Do this once, in this order

  1. Step 1

    Make a free GitHub account

    Use an email you control. A private repository means the files are not public. That is the right default for an app that is not ready to show.

  2. Step 2

    Connect the builder before you need the exit

    Lovable: Project settings, Git, GitHub, and let it create the repository. Bolt: the GitHub icon, then Create repository. Replit: the Git tool, then connect and turn on auto-sync. v0: Settings, GitHub, Create Repository.

  3. Step 3

    Open the repository and confirm the files are there

    If the builder says synced and GitHub is empty, reconnect the app from the vendor's troubleshoot steps. Do not start a second project and hope.

  4. Step 4

    Leave secrets out of the copy

    Passwords and secret keys belong in the host's secret settings, not in a file you push. Replit states this directly. Use the same caution on the others.

  5. Step 5

    Decide whether you are leaving

    A GitHub copy lets you keep building in the browser and also open the files in an editor. Paying every month only to keep the files is the expensive version. The graduation guide is the decision. Cursor is the usual editor after that.

Pro 100 is $25/mo. Buy it when you need the download, code editing, or your own domain, not because GitHub sync itself is locked. About 5 builds a day, up to 30 a month. No code download or custom domain until Pro. Spending fewer credits while you are still inside the builder is how to make your AI credits last.

After the files are yours

Hosting does not move by itself. A Lovable or Bolt preview URL is still their host. A GitHub repository is the files. Putting those files on a host is where to host. If the app is a phone app rather than a website, the store fees are how to put it on the App Store and Google Play. If you cannot yet read a change the agent made, the skills guide is the next page, and a second subscription is not.

Questions people actually ask

Can I download a Lovable project on the free plan?

Not as a file download. Lovable's plan table says code download starts on Pro. GitHub sync for github.com is on every plan, including Free. GitHub is the site that stores a copy of the project's files and the history of changes. Pro 100 at $25/mo is the plan that also unlocks the download button, code editing, and a custom domain.

Does Bolt or v0 lock GitHub behind a paid plan?

Bolt's GitHub article, checked on 2026-10-29, does not name a paid plan. It does require a GitHub account, and the repository it creates starts private. v0's GitHub doc does not say sync is paid-only, and v0's pricing comparison does not list GitHub as a paid feature. This guide does not turn that silence into a promise. If the button is missing on your account, stop and read the live doc instead of assuming Free includes it.

Does the GitHub copy include my database and passwords?

Do not assume it does. Lovable's GitHub doc describes syncing project code. Replit's import doc says secret values and environment-variable values are not imported, and its copy-project doc says never commit secrets or a database dump. v0 says that after you connect, the repository is the source of truth for the code, and deleting that repository may make the code unrecoverable.

What do I open the project in after it is on GitHub?

An editor that can clone the repository, which means download that copy onto your computer. Cursor's paid floor is Plus at $8/mo. The decision of when to leave the browser builder, rather than how the copy works, is the graduation guide. Keep paying the builder only if you still want to build there.

Sources

Other guides

Take the quiz · When you hit a limit · How the weights work