Client editing for a Next.js site
Next.js sites end up as HTML in the browser. That is where the editor works, whatever the rendering mode.
How
- One next/script line in the root layout.
- Text, photos and simple styles by the client.
- Saves stored by us, or committed to the repo.
- No CMS, no API routes, no auth to build.
The install
<script src="https://edit.thebrainer.co/edit.js" data-site="YOUR_SITE_KEY" defer></script>
Before </body> on every page, or once in the layout. Works on Lovable, Bolt, Claude Code, Next.js, Astro, Vite, Webflow, Framer and plain HTML. Docs.
Questions
Does the client need an account?
No. They get a link by email that opens their site with the editor. Revoke it any time.
Can the client break the layout?
No. They change text, photos and simple styles. Layout, design and code are not touchable.
Where do the saves go?
By default we store them and apply them on the live page for every visitor. Optionally every save is a commit to your GitHub repo, or we host the site.
What does it cost?
First site free. $9 per site per month after that, $6 from 20 sites. You charge your client what you want.