Build and Launch a Website with AI
Export AI website code from Lovable, Bolt and v0: GitHub and migration checks (2026)
Move an AI website into a repository you control. Check export permissions, branches, framework hosting needs and external services, then validate a temporary deployment before switching the domain.

To hand an AI-built website to a developer or move its hosting, start with a complete source copy in an account you control. Lovable, Bolt and v0 provide routes to GitHub. Getting that copy is one milestone; moving a working application is another.
This workflow checks the official export paths as of November 23, 2026. It is a migration plan, not a claim that an account export or production move has been tested for your project. Validate a temporary deployment before changing the public domain.
| Goal | Work involved | Evidence of completion |
|---|---|---|
| Developer handoff | Source, version and running instructions | Recipient can start the app independently |
| Different website host | New deployment and configuration | Forms and sign-in work on the new URL |
| Full platform exit | Data, files and service dependencies too | Required features no longer use services being retired |
For a portfolio, images may be local files or remote storage URLs. A booking form may write to a separate database. Inventory these before moving anything, using the code, database and file backup checklist.
For ongoing work, open Project settings → Git → GitHub, select or add the account connection, then link the project repository. Git sync is available on all plans. Check the branch and latest change in GitHub. See the GitHub integration instructions.
Keep the repository URL, branch and commit ID in your handoff notes. Open a recently changed page to check that your expected version arrived. A repository containing some code is insufficient evidence that it contains the version you intend to move.
For a snapshot, paid plans offer Download codebase in the code editor file panel or Project settings → Git. Edit access is required; enterprise administrators can restrict downloads. A single-file download is different. See codebase download permissions.
Extract the archive and inspect the source, configuration, lockfile and actual assets. Use a repository for continued maintenance so the recipient can review later changes rather than comparing unnamed ZIP archives.
On desktop, open the project, select its title at the upper left, then Download for a ZIP. Mobile project downloads are currently unsupported. See Bolt project downloads.
For ongoing work, use the GitHub icon to connect an account and create a repository. Bolt supports two-way synchronization; branch merges happen in GitHub. See Bolt GitHub integration.
Have the recipient take a fresh copy from the repository. Write a README identifying the package manager, runtime and external dependencies. Deliver secret values through controlled access rather than placing them in a public repository or handoff document.
Open Project menu (…) → Settings → GitHub → Connect, choose the owning account and create a named repository. Later edits use a working branch: check which branch contains the changes you want. See the v0 GitHub setup.
Match the preview you accepted to a specific commit. Then choose which branch the new host should deploy. Keep existing review and merge requirements; moving a website does not justify bypassing them. The default branch may still contain an earlier version of your page.
Do not give every project the same build command and output directory. Read package.json, its scripts, the lockfile and README first.
| Project | What to establish | Common mistake |
|---|---|---|
| Plain HTML/CSS/JavaScript | Paths and complete local assets | Copying HTML while leaving images behind |
| Client-side React + Vite | Build output and route fallback | Uploading source as the finished website |
| TanStack Start | Server runtime and target adapter | Copying static assets without the server |
| Next.js | Server features and deployment mode | Assuming every app supports static export |
Lovable documents TanStack Start for new apps created from May 13, 2026, alongside older React + Vite apps. Inspect the actual dependencies rather than assuming every Lovable export is a static site. See its hosting and portability overview.
If you have confirmed a client-side Vite app, follow the React + Vite deployment walkthrough. Otherwise request a project-specific plan:
Inspect package.json, lockfiles, framework configuration and README.
Do not change business features.
Identify the framework, package manager and required Node version.
List install, build and production start commands, and server needs.
List environment variable names and purposes without revealing values.
Inventory database, auth, storage, email, AI and other dependencies.
Provide temporary deployment steps and acceptance checks for this app.
Mark missing information explicitly; do not claim unperformed tests passed.
These commands illustrate retrieval and inspection for a Git repository. Replace the placeholders and select the branch or commit you want to validate:
git clone https://github.com/YOUR_ACCOUNT/YOUR_REPOSITORY.git
cd YOUR_REPOSITORY
git status
git log -1 --oneline
npm run
npm run lists available scripts. Use npm ci only after confirming an npm project with a matching package-lock.json. For pnpm, Yarn or another tool, follow the project's instructions and lockfile. Avoid deleting lockfiles or forcing dependency resolution just to hide an installation failure.
Configure the required variables in the appropriate local or hosting environment. Then follow the project's development, build and production startup steps. An installation proves dependencies installed; a build alone does not validate sign-in, email or data access.
Lovable distinguishes code export from backend migration. Migration files do not contain live database records; stored files and secrets need separate handling. A complete exit also requires reviewing runtime AI and connector dependencies. See its external hosting guide.
Use this practical inventory for any builder:
| Component | Record | Acceptance check |
|---|---|---|
| Variables | Names, purposes and environment scope | Required services connect |
| Database | Owner, schema, records and permissions | Test users access only permitted data |
| Authentication | Provider and callback URLs | Sign-in, sign-out and password recovery |
| Uploads | Original files and storage location | Existing and new files load |
| Email/APIs | Credentials, origins and endpoints | Test submission arrives once |
A replacement frontend may continue using the old backend and its billing. That is a valid partial move when intended. Keep test deployments from triggering real orders, bulk emails or production schedules; validate with test accounts and suitable isolation.
- Open the temporary site on desktop and mobile. Refresh a nested route and inspect images.
- Test forms, sign-in, uploads and data operations. Check callback destinations.
- Record the deployed commit, build result and rollback route. Preserve the old site and DNS settings.
- Bind the domain as the new host requires, then verify HTTPS and important functions on the public address.
- Ship one small update through the new pipeline. Review remaining dependencies before retiring old services.
Database moves require their own final synchronization and write-management plan. Reverting DNS cannot reconcile records created separately in two databases. Rehearse important migrations in isolation and keep deployment and rollback notes.
Can I upload the ZIP directly? Extract it first. Plain static files can be deployed as such; framework source generally needs a build, and server features need a runtime.
Can I keep editing with AI? Agree on the code source, active branch and deployment process. Avoid editing separate copies and manually overwriting one with the other.
Does export end my subscription? Treat billing and resource shutdown as separate actions. Identify services still in use, check current terms, and prove the replacement works before closing anything it needs.