Skip to main content
All articles

From preview to your own server

The path we walk with a customer, from a free preview to her own server, and why she can leave with everything at every step.

Cato10 min read

Most website offers have a hidden last chapter: the day you want to leave. The site lives in someone's builder, the content in their database, the domain in their account, and moving means starting again. Nobody shows you that chapter when you sign up.

We decided to write it first, and then build the path backwards from it.

This is that path, walked with one customer. Her name is Lena and she runs a small yoga studio.

Five steps, and a door at every one

flowchart TD
  P["1 · Free preview"] --> S["2 · Published site"]
  S --> B["3 · Site with blocks"]
  B --> A["4 · Her own app"]
  A --> O["5 · Own server<br/>or own team"]

At every one of these steps she can stop and leave with everything. Not "export your content as a spreadsheet". Everything: the pages, the look, the history, and something that still runs without us.

2
previews waiting today, each just a folder
5
old-style sites still running for people who said no
0
differences between our engine and an exported site
3
screen widths compared before an export counts

The rest of this piece is how each of those doors is built, starting with the cheapest one.

Step 1: a preview she did not ask for

We find Lena's studio. Its old site is slow on a phone and the timetable is a photo of a printed sheet. Instead of writing her a pitch, we build her the first version of a new site and send her a link and an access code.

What that costs us matters, because most people will say no. So a preview is not a repository, not a server and not a deploy. It is a folder on our server with its own small version history. It sits behind an access code, search engines are told to stay away, and it does not even say whose site it is. The rules for building it are strict: only public facts about her studio, nothing invented, and "coming soon" where we do not know something.

Every preview has a small assistant in the corner. Lena writes "the Tuesday class moved to 18:30", the note reaches us, and the change is built. If she wants to make changes herself, she signs in once and her notes build directly.

Before this design, every prospect got the full treatment: a repository, a running program and a deploy each. Five of those are still on our server for people who never said yes. A folder costs almost nothing to keep, and nothing to throw away.

If she leaves here: the folder is already a complete repository. It becomes hers unchanged.

Under the hood: what a preview is
  • A folder under the server's previews root, created with git init, so every change an agent makes is a commit that can be read and undone. Nothing is pushed anywhere.
  • Served at /p/<name>/ by Loki and, where the server can attach it, at <name>.orangecat.ch. Creating one waits until the address answers over HTTPS before saying "done".
  • Behind the owner's access code (one code opens every preview they own; change it and every earlier visitor is asked again). Pages carry noindex.
  • The build brief: public sources only, no invented facts, "coming soon" for gaps, relative paths, phone-first checks, images that never stretch, commit locally, never push.
  • The feedback widget is added to every page when it is served. A visitor's note waits for the owner; a client invited by the owner builds on a monthly allowance.

Loki: docs/architecture/prospect-previews.md.

So she likes it. What does "yes" cost?

Step 2: she says yes, and the site goes live

On the old path, "yes" meant a new repository, a slot on the server and a deploy, taking minutes and needing outside machines. When those machines stopped answering us on 15 November, that path stopped with them.

On the new one, Lena's site is a row: its content and its look stored as data, drawn by one engine that draws every site. Publishing moves a pointer to the latest version. Undo moves it back. Her free address is lena.orangecat.ch until she points her own domain at us. We check that it really points here, and from then on the free address forwards to hers.

Her site will not look like ours or like anybody else's. Her colours and fonts are data too, and text too faint to read is refused before it can even be saved.

If she leaves here: she downloads her site as its own repository. It holds every version she ever published, one change per version in its history, and builds into plain files that run on any web host. Before an export counts, it is compared with the engine's page at three screen widths, and it fails if they differ. On our demo bakery, the comparison found no differences.

Under the hood: what an export contains
  • site/versions/<n>.json: every version (page spec, theme, settings), and a git history with one commit per published version, dated when it was made.
  • site/current.json: the published one.
  • package.json pinning the exact version of the block package (@bitbaum/sitekit) the site was checked against. No ranges.
  • The same page shell the engine uses, the self-hosted fonts the theme names, and the assets folder.
  • A real verify (lint, typecheck, and a test that parses current.json with the pinned schema).
  • For any block with a server half, like the contact form, the same route the engine runs, configured with her own mail settings.

It builds with output: 'export' to static files when no block needs a server. "Identical" is checked: the export is built, served locally and screenshot-compared with the engine at 390, 834 and 1440 px. What does not leave: our assistant widget (it is our service; the slot is there, switched off), the access code, and anything OrangeCat. Loki ADR-0001, decision D7.

A studio needs more than pages, though.

Step 3: blocks, as she needs them

A site is made of blocks, and the list is short on purpose:

Lena wantsBlockWhat it does
"Write to us"contact formmail to the address she chooses; no captcha service, no tracking
"Book a trial class"booking requestdate, time and number of people, sent to her as mail
Photos of the roomgalleryimages and captions
"How to find us"mapopen map data, loaded only when a visitor opens it
Mats and gift cardsshop linksbuttons to where she sells them; payments go to her own OrangeCat account
A monthly letternewsletter linkto the newsletter service she already uses

None of them sends her visitors' data to another company when the page loads. And each block has its other half in the export: a contact form in an exported site sends mail through her own provider, not through us, and shop links keep working because the account they point to is hers.

When she asks for something no block covers, that request tells us which block to build next. When she asks for a real scheduler, with class limits, waiting lists and member accounts, it is no longer a block.

Step 4: her own app

The step from site to app is where people usually get trapped, because the app has to be rebuilt somewhere new. Here it does not, because the export from step 2 already is a working app: a repository with a real test suite, the exact version of every block pinned, and room to add code.

So Lena's studio app starts from her own site. It gains accounts and a class schedule with limits, maybe payments, and it runs on the shared server where our own products run. That repository would carry our name, so it is created only after an explicit yes, never automatically.

If she leaves here: the repository is hers, with its whole history, and it builds without any account with us.

Step 5: her own server, or her own team

Only two reasons make a server of her own worth its cost: the law, or trust. A yoga studio rarely has either. A clinic often has both, with patient data that should sit on a machine nobody else uses.

The other way out is people. Her studio grows into three, and she hires a developer. Handover is designed in from the first day: one command checks everything, the history is all there, and nothing in the repository depends on us. If she would rather keep working with us, our rates are published. If what she really needs is an employee, we will say so and help her hire one.

Eight kinds of customer, eight starting points

Lena starts at step 1, but not everyone should.

WhoStarts atUsually ends at
Just trying it outa free previewnothing to keep, nothing to pay
Bakery or caféa published sitemap, opening hours, contact form
Physio practicebooking requestsan app, for a real calendar
Small shopshop linksan app, once there is stock to count
Cluba published sitenewsletter link; votes on Solon
Startupits own appits own team
Company with ITan exportits team runs it
Clinic or public bodyits own appits own server, for the law

This table is a plan, not a record. We will correct it as real people prove it wrong.

Under the hood: what an old-style site cost us

Measured on our app server on 20 November 2026, before the engine:

  • The server's app register had 28 entries; 10 of them were really websites (demos, previews for businesses, brochure pages).
  • The server ran 21 web processes on 8 cores and 15 GB of memory, with the disk at 89%.
  • Each site kept its own built copy on disk (the bakery demo: 89 MB; the largest: 336 MB), and, when awake, a process of its own (the largest: 471–513 MB of memory).
  • Creating one ran a script that made a repository, set a deploy secret, allocated a port, wrote a service and a web-server entry, and deployed through GitHub's machines. Its own description: "takes minutes".

On the engine, a new site is one database insert, designed to take under a second, with no repository, no build and no queue. Loki ADR-0001, "What exists today" and decision D5.

What we have not decided

  • What a published site costs. The preview is free. A price for hosting a site on the engine is not set, and we will not guess one here.
  • The day someone actually leaves. The export is checked against our own demo, not yet against a customer who used it. That is the test that counts.

Why the door is the product

It would be easier to make leaving hard. Much of the industry does, and it works, for a while.

A customer who stays because leaving is painful is a customer waiting for a reason.

One who can take everything at any step and stays anyway is telling you the work is good. That is the only kind of staying we want to measure.


bitbaum builds OrangeCat, Loki, Solon and Heidi in public. If you run a studio, a shop or a club and want a site you can leave with, ask for a preview. If you build blocks or sites yourself, build them with us. The door is open.

Discussion

Sign in to join the conversation.

Loading comments…