Guides
Export and import
The site file, bringing one in, and starting from a site that already exists.
A nertia site is a file. The layout, the design system and the words travel together as {slug}.nertia.json, so a site can move between accounts, be kept as a backup, or be edited outside the browser.
The site file
| Field | What it holds |
|---|---|
version | The format version |
slug | The site's address |
compositionId | The layout |
sections | Every section, in order, with its settings |
copy | Every piece of text, keyed by where it lives |
skinId | The design system |
ds | Token overrides on top of it |
It does not carry media files, messages from forms, social connections, your domain, products or posts.
Getting the file out
There is no Export button in the app at the moment. Through the Claude connector, the get_site tool returns the whole site as JSON, which is the same data the file is made from.
Start a new site from a file
On New site, press .nertia.json in the attachment bar and pick the file, then Build. nertia creates a new site from it with a fresh temporary address. The original is untouched, and you pick the real address on first publish. Add a prompt or links as well and the first build works them in.
Older style values the editor no longer supports are left out. The chat lists them.
Replace a site with a file
Open the site in the editor, press + in the chat and choose Import project file. The file's slug must match the site you have open. nertia asks Replace this site? and then swaps every section and word for the file's. There is no merge.
Start from a website
Paste your current site's address into the Link field on New site, say what it is, and Build. The first build reads the page for your words, your colours and your images and drafts a nertia site from them. Results depend on the source, so read through the draft. The same goes for a Google Doc or a Google Sheet link.