Labs — How this site works
The Zero-Server Architecture Guide
Most of the tools in this site’s library share an unusual property: there is no backend behind them. The page you downloaded is the whole application. Understanding how that can possibly work — and where it honestly stops working — is the subject of this guide, and the sibling tools are the evidence.
The three moving parts
Static files. The site is plain HTML, CSS, and JavaScript files served as-is. There is no application server deciding what to send; the same file goes to every visitor, and any cheap host or content network can serve it. Client-side computation. The work happens in the visitor’s browser: an assignment solver runs an O(n³) algorithm, a statistics lab crunches the numbers typed into it. The visitor’s device does the computing, so the ten-thousandth visitor costs exactly what the first did. Files generated in the browser. A download does not have to be fetched. The library’s PDF, ZIP, and WAV writers assemble complete, valid files from the visitor’s own input and hand them over as downloads — the document, the archive, and the audio file were all born on the device that receives them.
Where the state lives
Without a server there is no database, so state keeps to the two places a browser offers. Small state can ride in the URL itself, in the fragment after the # sign — the demo below does exactly this, encoding a counter and a note into the link in real time, so copying the link copies the state. Larger or longer-lived state goes to local storage, the browser’s per-site key-value store, which survives reloads on that one device. Try it: change the demo, copy the link, open it in a new tab, and the state arrives with it — no account, no sync service, just the address bar doing the carrying.
Loading the demo…
The honest trade-offs
What this architecture cannot do is as important as what it can. Nothing is shared: your saved state lives on your device, invisible to your phone, your other browser, and everyone else. There are no accounts, no collaboration, no central record, and no way to revoke or correct data once a visitor holds it. The device does all the work, so a weak phone sets the performance ceiling, and anything the computation needs must ship inside the page. Secrets cannot exist in code every visitor can read. For calculators, generators, reference tools, and personal trackers, none of that bites — and the payoff is a library that cannot go down with a database, bills nothing per visitor, and keeps every keystroke private by construction. Zero-server is not a lesser architecture. It is a smaller promise, kept completely.