40% off month one for the first 200 websitesSee pricing

What your developer sees when the site moves to Vunora

What a developer sees when a site moves to Vunora. The import's pull request, edits that come back as commits, and what happens when Vunora is down.

Published 5 min read
Python code on a dark screen
Photo: Chris Ried on Unsplash

The founder asks you to "connect the site to Vunora" so the team can edit it. Before you say yes, you want to know three things. What lands in the repository? What changes in the build? And what happens to the site if Vunora goes down? This post answers each one from the code that ships.

Why a headless CMS usually means a rebuild

A headless CMS stores your content and serves it through an API. Contentful's own page is direct about the other half: "The front end is always your responsibility." So moving a coded site to one means modeling the content, moving every string into the CMS, and rewriting each component to fetch it. Preview, routing and SEO tags get rebuilt along the way.

Still choosing between a headless CMS and an editor on your code? Read how to tell if you need a headless CMS. On a site an AI tool wrote, with text spread across dozens of components, that is most of the site. Comparing tools? See git-based CMSs for Next.js and Contentful, Strapi and Sanity alternatives.

Picking a CMS for a site you are about to build? Read how to pick a CMS for developers that keeps your code yours.

Vunora takes the other road. It keeps your components and changes how they get their text. How to give your marketing team a CMS for your Next.js site sets this beside a headless CMS and a git-based CMS.

What the import's pull request contains

The import reads your repository, finds the text on each page, and opens one pull request. Nothing reaches your branch until you merge it. Here is what is in it.

A generated helper. It lives at src/lib/vunora.ts when your repository has a src/ folder, and at lib/vunora.ts when it does not. It holds the Vunora API address, your site's id and a site-scoped publishable read key, all baked in when the pull request is made. On the Next.js App Router, server pages call fetchPage with await and client pages use a client variant. On Vite, it is a small cache over a fetch.

Your pages, patched. Each piece of text a page shows reads from the helper and keeps your original words as the fallback, in the shape f.heading_1 ?? "your original text". Your components, layout and styles stay as they are.

A catch-all route for pages your team creates in Vunora. A slug with no page returns a 404 through your framework's own mechanism (notFound() on the App Router, { notFound: true } on the Pages Router), so a crawler never sees a blank page served as a 200.

A revalidate route on Next.js. Vunora calls /api/revalidate after a Publish, with a bearer secret your server reads from the VUNORA_REVALIDATE_SECRET environment variable. On the App Router it revalidates each path and the page's cache tag. On the Pages Router it calls res.revalidate(path).

/vunora-connect.json, a small file holding a random token. Vunora reads it from your live domain to see that the connected code is deployed.

Head tags from the SEO tab. Title, description, canonical, robots and share image come from each page's SEO settings. On Vite, the head manager never edits a tag your own code owns. It replaces one only where two values cannot share a slot, such as two canonical links.

A visit tracker that follows your site's cookie consent. The pull request describes how it reads your consent signal.

Every file the Vunora import generates starts with /* eslint-disable */ and a second line saying that Vunora generated it, that it is not for editing by hand, and that the import rewrites it. Your own files that it patches stay under your lint config.

Pull request: Connect this site to Vunora

What it is
src/lib/vunora.tsThe generated helper that reads page text from Vunora
src/app/[...slug]/page.tsxThe catch-all route for pages you add in Vunora
src/app/pricing/page.tsxPatched to read its text from Vunora
Each generated file starts with a line saying Vunora generated it.

How edits reach your repository after the merge

Your team edits in Vunora. Each Publish reaches your repository as a commit or a pull request.

  1. You choose the delivery. On the site's Git sync settings, Vunora asks "How should Vunora send your edits to GitHub?" The default is "Save straight to your branch (recommended)". The other choice is "Open a pull request for each page for a developer to review". "If the branch is protected, Vunora opens a pull request instead."
  2. A text edit is a patch of that text. Vunora finds where the words sit in the source file and replaces only those bytes.
  3. Your build runs first. On a site that commits directly, Vunora runs your build, with the package manager your lockfile names and the build script in your package.json. If the build fails, nothing is committed.
  4. Markdown posts are whole files. For a post kept as a .md file, Vunora writes the frontmatter and the body, as a Git-based CMS does.
  5. The editor says where the change went. After Publish the header reads "Sent to main. Your host deploys it from there.", or "Not live yet: merge pull request #12 on GitHub" on a pull request site.
Site settings, Git sync

How should Vunora send your edits to GitHub?

  • PickedSave straight to your branch (recommended)Each Publish is a commit on main.
  • Open a pull request for each page for a developer to review
  • Synced files14 files

src/app/page.tsx, 1 file changed

Removed

Ship your site in a week

Added

Ship your site in a day

A commit from a Vunora Publish, changing one string in one file.

Your own pushes come back the other way. How to keep your site edits and your GitHub repo in step covers sync and conflicts.

What happens when Vunora is down

Every generated fetch catches its own errors and returns nothing, so each page falls back to the text in your code. On a site that commits directly, once your host has deployed the latest commit, that text is what your team last published, because each Publish also writes the words into your files. A page that exists only in Vunora, with no file in your repository, shows a plain "temporarily unavailable" page with HTTP 503 until Vunora is back. Your host keeps serving everything else.

Where Vunora stops today

  • Three frameworks. Next.js, on the App Router or the Pages Router, Vite with React, and TanStack Start. Others are turned away at the scan.
  • No change to how your site renders. The import adds no server rendering to a Vite single-page app. Its head tags are set in the browser, so only crawlers that run JavaScript see them.
  • A short flash on Vite. A Vite page shows the text from your code on its first render and Vunora's published text when the fetch returns.
  • Generated files get rewritten. A re-import rewrites them, so do not edit them by hand. Your own patched files are yours.
  • Vunora does not host. Your host builds and serves the site, as it does today.

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