For Astro
An Astro site your client can edit.
heyweb recognises an Astro project, builds it and puts it 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 an Astro site on heyweb, open the project in your coding agent and paste the heyweb setup line. heyweb recognises Astro, runs the build on its own build machine and puts the dist folder online at an address like your-site.heyweb.page. Astro’s pages are finished HTML, so a client can edit their content by chat.
Why Astro suits a client site
Astro is a site generator: you write pages and components, and its build turns them into finished HTML files. A page ships no JavaScript unless a component asks for it. For a site with many pages of the same kind, such as blog posts, team members or products, that keeps the content in one place, in Markdown files or a content collection, and the design in another.
That is why heyweb tells coding agents to use plain HTML for a small site, and Astro once a site has many pages of the same kind. Both end as HTML files, which is what a host serves fastest and what a client’s chat can change.
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 Astro 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.
Astro on heyweb, in short
What the heyweb program finds in your project and what it does with it.
| With heyweb | |
|---|---|
| How it is recognised | “astro” 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 astro build |
| Folder that goes online | dist |
| 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 astro dev |
| Client edits by chat | Yes, for text that is in the built HTML (early access) |
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: is it static?
Astro builds static pages unless you tell it otherwise, and that is what heyweb hosts. Pages rendered on demand, which need an adapter and a server, do not fit: heyweb runs no code when a visitor arrives. If your project has an adapter for a server, ask your agent whether the site needs it.
If your Astro config writes the site to another folder than dist, your agent changes “publish” in heyweb.json. You do not build the site yourself and you do not send the dist folder: heyweb builds from your source every time.
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.
One limit: the chat changes what ends up in the HTML. A component that runs again in the browser, an island with client:load for example, brings its own copy of its text in JavaScript. Keep the texts your client should change in pages, Markdown files and content collections.
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 an Astro site?
Paste the heyweb setup sentence into your coding agent in the Astro project. heyweb recognises Astro, builds the site, and the agent replies with an address like your-site.heyweb.page. The sentence is on add heyweb to your agent.
Is there a CMS for Astro that a client can use without training?
heyweb is hosting with the editor built in. Your client asks for a change in a chat, heyweb writes it into your Astro source, builds the site and checks that only content changed. There is no admin panel and no content model to set up. The client chat is in early access.
Do I have to run astro build myself?
No. heyweb builds the site from your source on its own build machine, with your project’s build script or with npx astro build. The dist folder does not have to be sent.
Does heyweb run Astro’s server rendering?
No. heyweb hosts finished files and runs no code when a visitor arrives. Astro’s default, a static build, is what fits.
Where do my client’s changes end up?
In your source: the Markdown file or the page the text comes from. Your agent fetches them before it changes the site, so your next version builds on them.
Is Astro support ready today?
Sites with a build step, Astro 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.