---
title: "What your developer sees when the site moves to Vunora"
description: "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."
author: "Vimanyu Aggarwal"
date: "2026-11-07"
canonical: "https://vunora.ai/blog/what-a-developer-sees-when-a-site-moves-to-vunora"
---

# What your developer sees when the site moves to Vunora

![Python code on a dark screen](https://vunora.ai/blog/what-a-developer-sees-when-a-site-moves-to-vunora.jpg)

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](https://www.contentful.com/headless-cms/) 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](https://vunora.ai/blog/do-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](https://vunora.ai/blog/git-based-cms-for-nextjs) and [Contentful, Strapi and Sanity alternatives](https://vunora.ai/blog/contentful-strapi-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](https://vunora.ai/blog/cms-for-developers).

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](https://vunora.ai/blog/nextjs-cms) 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](https://vunora.ai/product/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.ts           | The generated helper that reads page text from Vunora |
| src/app/\[...slug]/page.tsx | The catch-all route for pages you add in Vunora       |
| src/app/pricing/page.tsx    | Patched 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](https://vunora.ai/glossary/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.

**How should Vunora send your edits to GitHub? (Site settings, Git sync)**

- **Save straight to your branch (recommended)**: Each Publish is a commit on main. (Picked)
- Open a pull request for each page for a developer to review
- Synced files: 14 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](https://vunora.ai/blog/keep-your-edits-and-your-repo-from-drifting-apart) 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.

_Drafted with AI help and checked against the product._
