SquareByteDigital Services

Knowledge base · Behind the scenes

How this website was built: AI-assisted, serverless, no cookies

People ask how I build websites, so here’s the honest answer, using this one as the example. The short answer: I don’t write every line by hand, I don’t use a website builder, and I don’t use WordPress. I use AI as a collaborator, and I make the decisions.

The short version: AI helps write the code and the first drafts; I set the direction, check everything, and hold it to a high bar. The result is plain files on serverless hosting in Canada, behind a Cloudflare Worker, with no cookies, no trackers and no plugins.

AI as a collaborator, not an autopilot

I worked with an AI assistant the way you’d work with a very fast junior developer and designer who never gets tired: I describe what I want, it drafts, I review, push back and refine. The logo, the cube character, the intro animation, the illustrations and every page went through many rounds.

Where AI helped most: writing and restructuring code, generating repetitive pages, drafting illustrations as code, and catching things like accessibility contrast. Where a human mattered most: taste, what to leave out, the actual advice in these guides, and checking that everything is true and works.

Plain files, built by a script

The site is static: every page is an ordinary HTML file. A small build script assembles them from shared pieces (header, footer, page templates and the list of knowledge base articles), and generates the sitemap, search index and llms.txt automatically. Adding a guide means adding it to a list and running the build. Everything else, including this knowledge base’s topic pages and library, updates itself.

The illustrations are SVG drawn by code, so they’re tiny, sharp at any size, and match the brand colours exactly. The font is self-hosted, so no requests go to Google Fonts.

Serverless hosting in Canada

The files are hosted on Zoho Catalyst’s web client hosting, which has a generous free tier and Canadian data centres. There’s no server to patch, no database and no admin login. Deploying is uploading a zip file. Because nothing runs on a server, there’s very little to attack: that’s what I mean by secure by default.

A Cloudflare Worker in front

A short Worker script on Cloudflare’s network sits between visitors and the hosting. It:

  • serves clean addresses (/services instead of /app/services.html)
  • permanently redirects old addresses so links never break
  • adds strict security headers, including a Content Security Policy that only allows the site’s own files
  • caches pages close to visitors so the site is fast everywhere

The same setup runs Applied Awareness; see how I moved my blog off WordPress.

No cookies, no trackers

This site’s pages set no cookies and load nothing from other companies (the one exception is the Zoho contact form, on the contact page only): no analytics scripts, no ad pixels, no embedded social widgets. That means no cookie banner, faster pages and nothing to explain in a privacy policy. If I want to know how the site is doing, Cloudflare’s privacy-friendly analytics and Search Console are enough. See tracking your data without being creepy.

The fun bits are cheap too

The clouds drift, you can catch one and get lightning, and occasionally a bird flies out. It’s all a few kilobytes of code. When the animation felt slow on phones, the fix was to move the clouds with the graphics chip instead of redrawing the screen. Same look, a fraction of the work.

Trade-offs

  • No drag-and-drop editor: changes go through me (or through files, if you’re comfortable).
  • Features like bookings, payments and forms use dedicated services rather than plugins.
  • It’s best for sites that are mostly information. Busy stores and member portals may need more.

Want a site built this way? See websites.