For Gatsby
Put your Gatsby site online with one sentence.
heyweb recognises a Gatsby project, runs the build and puts the public folder online. Your client then changes texts and pictures in a chat, and the change lands in your source.
Add heyweb to your agentSee how it works
To host a Gatsby site on heyweb, open the project in your coding agent and paste the heyweb setup line. heyweb recognises Gatsby, runs the build on its own build machine and puts the public folder online at an address like your-site.heyweb.page. A client can change its texts, links and pictures by chat: heyweb writes the change into your source and builds the site again.
What Gatsby makes
Gatsby is a site generator built on React. Its build collects the content, renders every page once and writes HTML, CSS and JavaScript into a folder named public. In the browser, React then takes over the page.
A standard Gatsby site is static, so a host for files is all it needs.
From your project to a live address
Three steps, and none before you paste. Your coding agent does the typing.
- Step 1: Paste one sentence into your agent
Open the folder of your Gatsby project in your coding agent and send this sentence. You do not have to sign up first.
Set up heyweb from app.heyweb.ai/start and put this site online. - Step 2: Connect when the agent asks
The agent installs the heyweb program and runs it. Your browser opens heyweb: sign in with your email address and the code you get by email, check that the agent shows the same short code and press Connect.
- Step 3: Get your address
heyweb builds the site, and the agent replies with an address like your-site.heyweb.page. The site appears in your heyweb account.
Gatsby on heyweb, in short
What the heyweb program finds in your project and what it does with it.
| With heyweb | |
|---|---|
| How it is recognised | “gatsby” among the packages in package.json |
| What builds the site | Your project’s own build script (npm run build) if it has one, otherwise npx gatsby build |
| Folder that goes online | public |
| Where it is built | On a heyweb build machine with Node.js, started fresh for every build |
| Packages | Installed from your lock file with npm, pnpm or yarn |
| Preview on your computer | Your project’s own dev script if it has one, otherwise npx gatsby develop |
| Client edits by chat | Yes, texts, links and pictures, through your source (early access); list entries stay as they are |
The settings are written to heyweb.json in your project: “publish” is the folder, “build” the command, “dev” the preview. Your agent can change them there.
Before you publish
A standard Gatsby site needs nothing changed: the build writes the public folder, and heyweb puts it online. You do not build it yourself and you do not send the public folder.
Two things do not fit. Parts that need a server, which are pages rendered for each request and Gatsby Functions, do not work on heyweb. And the heyweb program keeps .env files and keys on your computer, so a build that fetches its content from a CMS with a secret key has nothing to sign in with on the build machine. Content that is in the project, such as Markdown files, is built from the project.
Paste this into your agent.
Free until a site goes live. Then $12 a month per site, plus tax.
What your client can change
Your client asks for a change in a chat, in their own words: “The plum cake is €4.80 now”. On a site with a build step, heyweb does not patch the finished page, because your next build would overwrite it. It writes the change into your source, where the text comes from, builds the site again and compares the result with the change that was asked for.
Only when the built pages show exactly that change, and no design, script or other page moved, does it go live, about a minute later. Otherwise nothing is changed, and your client is told that the designer has to make it.
When you next work on the site, your agent fetches the client’s changes first. They arrive in your source files, so nothing is overwritten. More in let a client edit a static website.
A page built with Gatsby carries its texts twice: in the HTML, and in the JavaScript that Gatsby runs in the browser. That is why the change goes through your source and a new build, which makes both. heyweb checks both: apart from the file names every new build gives, nothing but the text that was asked for may change in Gatsby’s scripts.
One limit: on a Gatsby site the chat changes texts, links and pictures, but it does not add, remove or reorder entries of a list, such as a new team member or another price. That would change the shape of Gatsby’s own copy, so your client is told that you make it. Text that the page only loads while it runs in the browser is not in the build, and the chat cannot change it either.
A Gatsby build takes longer than most: on a small site a change goes live after two to three minutes. The editor shows your client that it is still being built.
What is ready today
Hosting at a heyweb.page address, setup through your coding agent, the history and undo work today. Sites with a build step are part of early access, and so are the client chat, inviting clients and your client’s own domain.
heyweb is tested with Claude Code, Codex and Cursor, and works with any agent that can run a command on your computer. Building and previewing a site is free. A live site costs $12 per month plus tax, see pricing.
Common questions
How do I host a Gatsby site?
Paste the heyweb setup sentence into your coding agent in the Gatsby project. heyweb recognises Gatsby, builds the site, and the agent replies with an address like your-site.heyweb.page. The sentence is on add heyweb to your agent.
Does a Gatsby site need a server?
A standard one does not: the build is a folder of files. Only pages rendered for each request and Gatsby Functions need a server, and those do not work on heyweb.
Can my Gatsby build fetch content from a headless CMS?
Not when it needs a secret key. The heyweb program does not send .env files to the build machine. heyweb or a headless CMS compares the two ways of keeping content.
Can my client edit a Gatsby site by chat?
Yes, its texts, links and pictures. Gatsby keeps a copy of each page’s text for the browser, so heyweb does not patch the finished page: it writes the change into your source, runs gatsby build again and puts the result online once both copies show exactly that change.
Can my client add an entry to a list on a Gatsby site?
Not by chat. Texts, links and pictures can be changed, but adding, removing or reordering list entries would change the shape of Gatsby’s own copy of the page. The client is told that the designer makes that change, and you add the entry in the code.
Is Gatsby support ready today?
Sites with a build step, Gatsby included, are part of early access, and so is the client chat. Hosting at a heyweb.page address, setup through your agent, the history and undo work today.
What does it cost?
Building a site and previewing it at its heyweb.page address is free. A live site costs $12 per month, plus tax, with editing by chat included; the details are on the pricing page.