40% off month one for the first 200 websitesSee pricing

How to import your Next.js or Vite site into Vunora with no rebuild

Import your Next.js or Vite site from GitHub as it is, in one pull request. How Vunora reads the repo, checks the fit, previews it, and where it stops today.

Published 6 min read
A laptop screen showing code in blue light
Photo: Mohammad Rahmani on Unsplash

Your site lives in a GitHub repo. You, or a developer, built it with an AI coding tool, and every word on it sits in a code file. When a teammate wants to change a headline or a price, they wait for the person who writes the prompts.

The import is how that changes. Vunora reads the repo, finds the words on each page, and connects them to an editor. Your code, your design and your host stay as they are. This post walks through each screen of the import, says which sites it takes, and where it stops today. For the reasons behind it, read How to make a coded site editable for your team without a rebuild. How to give your marketing team a CMS for your Next.js site sets this beside a headless CMS and a git-based CMS.

Which sites Vunora imports

Your siteDoes Vunora import it?
Next.js with the Pages RouterYes
Next.js with the App RouterYes
Vite with ReactYes
TanStack StartYes
Astro, plain HTML, or Vite without ReactNo
SvelteKit, Nuxt, Remix, Gatsby, Angular, Docusaurus and similarNo

The code has to be in a GitHub repo. If Vunora cannot import a repo, it tells you in one line, such as "This repository is built with Nuxt, which Vunora does not import. Vunora imports Next.js, Vite with React and TanStack Start. Nothing was changed." You can then pick another repo.

1. Tell Vunora where the code is

When you sign up, the setup asks "Is your site's code on GitHub?" and "Whose site is it?", with the answers Mine or A client's. If the code is not on GitHub, setup stops with "Vunora needs your site's code on GitHub."

To add a site later, choose Import site on your Sites screen.

2. Connect GitHub and pick the repo

Choose Authenticate and sign in to GitHub in the window that opens. Vunora asks for read access to bring in your content, and for write access to send the changes you approve later.

Then pick the repository and its branch to import. While the list loads, it reads "Searching all your repositories". Before you go on, the screen tells you: "Analysis is read-only. Nothing is imported or written until you approve it."

Import a site

Pick a repository

  • Analysis is read-only. Nothing is written until you approve it.Repositoryyour-team/your-site
  • Branchmain

3. See whether your site fits

Under "Checking your site", Vunora reads the repository in a few seconds. It tells you what it found, in a line like "Your site fits. We found 74 pages, so your plan covers up to 100 pages." The pricing page lists each plan by page count. A site in several languages gets a count for each language and a total. This check uses no AI, and the screen says "Nothing has been charged."

Import a site

Checking your site

  • FrameworkNext.js, App Router
  • The page count sets the planWhat Vunora foundYour site fits. We found 74 pages, so your plan covers up to 100 pages.

The page count sets the site's monthly price. How much Vunora costs has the prices.

4. Choose how your edits reach GitHub

Vunora asks "How should Vunora send your edits to GitHub?" and gives you two answers:

  1. Save straight to your branch, marked recommended. Each change you publish lands as a commit.
  2. Open a pull request for each page for a developer to review.

Even on the first answer, adding or deleting a page opens a pull request for that one change. You can change your answer later in site settings, and a re-import keeps it.

5. Start the import and approve its plan

Start the import. Vunora reads your site under "Understanding your website". It finds your pages, the sections on each page, your posts, your images and the words inside them.

Then it stops and shows you its plan: "Analysis is done and nothing is running. Approve the plan below to build a private preview." Read the plan and approve it.

The plan also offers "Keep Vunora updated from GitHub". With it on, a change your developer makes to a connected file shows up in Vunora too. If both sides change the same field, Vunora pauses and asks which version to keep.

The import plan

3 steps

  1. Read your pages and their words

    Done. Nothing is running.

  2. Build a private preview

    Waits for you to approve the plan.

  3. Keep Vunora updated from GitHub

    On: a change your developer makes shows up in Vunora too.

Analysis is done and nothing is running. Approve the plan to build a private preview.

6. Compare the preview with your live site

Vunora builds a private copy of your site that reads its words from Vunora, and checks that the build passes. When it is done, the screen reads "Your Vunora-powered preview is ready" and "The checks passed and nothing is running. Compare the two previews below, then activate."

Switch between Current site and Vunora-powered, and check that every page looks the way it did.

Current siteVunora-powered
Where the words liveIn your code filesIn Vunora, read by your code
DesignYoursThe same, nothing rebuilt
HostingYour hostYour host
Build checkYour ownPassed before you compare
Switch between the two and check that every page looks the way it did.

If something looks wrong, choose Rebuild preview. If you want to stop, cancel the import. Vunora discards what it prepared and says "Your live site and repository are not touched."

7. Activate, then merge one pull request

Choose Activate website. Your content is now in Vunora and you can edit it.

Vunora then opens one pull request on your repo. It holds the code that lets your pages read their words from Vunora. The screen reads "A wiring pull request is waiting on GitHub" and says nothing lands on your branch until you approve it there. Choose Review on GitHub, read the pull request, and merge it. Your host deploys it the way it deploys any other change.

Wiring pull request, 4 files changed

0 of 4 done

  • Not done yet: lib/vunora.tsThe helper that reads your words from Vunora
  • Not done yet: app/[...slug]/page.tsxThe route for new pages
  • Not done yet: app/page.tsxReads its text fields from Vunora
  • Not done yet: app/pricing/page.tsxReads its text fields from Vunora
Nothing lands on your branch until you approve the pull request on GitHub.

Edits you make before the merge are saved in Vunora. Your live site shows them after the merge. How a move to Vunora looks from the developer's side goes through the files in the pull request.

8. Edit your first page

Open a page, click a line on it, and type. How to edit your live page by clicking a line walks through the editor. Once a Vite site is in, how to fix React SEO on a Vite single-page app covers its titles, links and 404s.

When your developer changes the code later

Your repo stays the source of truth. In site settings, under GitHub sync, Sync now brings in recent changes, and Re-import from repository reads the repo again. A re-import asks for a mode: Diff, which reads only the changed files, or Full re-import. If a field you edited in Vunora also changed in the code, Vunora shows you both. Keep all mine keeps your edits. How to keep your site edits and your GitHub repo in step covers this in full.

Where the import stops today

  • No preview for pages built on each visit. A page your site builds each time someone visits it has no preview in the editor. You edit its words in the Content tab, and visitors see them after you publish.
  • Some text stays in your code. When your code builds a line in a way Vunora cannot read, that line stays in the code, and the editor tells you so.
  • GitHub only. Vunora does not import from a live web address or from a ZIP file.
  • Not from the chat. Vunora AI points you to the import screen but does not run an import.
  • Images. If an image cannot be copied into Vunora's Media library, your site keeps showing it from where it is.

Questions

Does the import change my code? Only through the one pull request you merge. Until you merge it, nothing on your branch changes.

Do I have to rebuild anything? No. Your components, styles and host stay. The pull request adds the code that lets the pages read their words from Vunora.

My site came from Lovable or Bolt. Does it fit? If its code is in a GitHub repo and it is built with Next.js, Vite with React, or TanStack Start, the check in step 3 says it fits. How to keep your Lovable or Bolt repo and let anyone edit it covers the rest.

What happens if I stop halfway? If you cancel before you activate, Vunora discards what it prepared. Your live site and your repo stay as they were.

Terms in this post

Share

New posts by email

One email when a post goes up, about editing and publishing a vibe coded site.

We use your email only to send new posts, and every email has an unsubscribe link. See the Privacy Policy.

Three ways to start

  1. Do it yourself

    Connect your GitHub and see the answer on screen.

    Join the waitlist
  2. Talk to us

    We look at your site with you and answer your questions.

    Book a call
  3. Send it to your developer

    Your developer gets one page that explains the step.

    Email your developer

Built your site with an AI coding tool? Edit it here, no prompt needed.

Connect your site. Vunora tells you if it works for your site and what it will cost. You pay only after that.

Join the waitlistBook a callOne plan, set by your page count · AI from a prepaid wallet with a monthly limit · See pricing