Our website used to live in hosted site builders and on several subdomains. We rebuilt it as one site at myhubble.money, generated from plain files that people review. This is why, what it cost, and what we learned.
The problem
The old site was spread across more than one site builder and several subdomains. We wanted one site at one address, statically generated, with one page for each brand and every word in a file that a person reviews.
We also wanted every page to be fast on a budget Android phone over 4G. So we set a hard speed budget for every page and held the site to it.
What makes it hard
Many hands, one site. People and AI agents both change the site. Without one way of working, each would change it differently, and nobody could see the whole of a change before it went live.
Numbers go stale. A site says things about the company, such as how many brands it has. Typed into copy, a number like that gets copied from page to page, goes out of date and is hard to find again.
Search does not forgive a move. People already reached the old pages from search. A rebuild that changed their addresses would lose those readers on the day we switched.
The principles we chose
Plain files, rendered to plain HTML. We built the site with Astro. Most of our pages are fixed pages built from content, with a little behaviour for menus, tabs and the enquiry form. Astro renders each page to plain HTML and sends JavaScript only for the parts that ask for it, which is what our speed budget needed.
Every word in a file, every change reviewed. Every page’s copy is a file whose path matches its address. Long-form content, such as this blog, is Markdown. A change is a proposed edit to those files, and a person reviews it. A person and an AI agent propose changes the same way.
Numbers about Hubble are never typed into copy. This rule shapes the site more than any other. A page names a claim, such as the number of brands, and the build fills it in from one list. Each claim is approved before it can appear, so an unapproved number cannot ship by mistake.
Keep the old addresses answering. When we moved the old posts over, we kept their words as they were and kept every address. We also brought every image into the site’s own files, so nothing depends on the old builder once it is gone.
The trade-offs
No server, until you need one. A static site has no server, but an enquiry form needs one. Ours uses one small piece of server code that lives alongside the site.
A snapshot, not a live page. Brand pages are built from our store’s data, so a page shows the brand as it was when the site was built, not a live price. We let the page describe the brand and leave price and stock to the store, which knows them live.
No visual editor. Without one, nobody sees a change until it is built. So automatic checks do the looking. The build fails on a page without exactly one main heading, a broken internal link, missing search tags, or a sitemap that disagrees with the pages, rather than leaving them for someone to spot.
What we would tell another team
Files make people and agents equal. Because the site is files, an AI agent proposes a change the same way a person does, the same checks run on it, and a person reviews it. You can read more in how we work with AI agents.
Let the live system own live facts. A static page is good at describing things that change slowly. Anything that changes by the hour, such as price or stock, belongs to the system that knows it now.
Treat old addresses as a promise. Every old address that people reached from search still answers, with its page or a single redirect to the new one, and a script checks that they do.
Make the build do the checking. If no one can see a change before it is built, the build has to fail on what a person would have spotted.
If you build on Hubble, start with the developer docs, the API or the SDK. If you would like to work on things like this, see careers at Hubble.