Project case study

LocalSite Factory

A website-template factory that turns one polished template into done-for-you sites for local small businesses.

Problem

Small local businesses (barbershops and salons first) often have no real website, and one-off custom builds don't scale into a sustainable business. LocalSite Factory is the other model: build a polished template once, then instantiate it per client from data alone, sold as a done-for-you site with a managed monthly subscription instead of a one-time build.

Approach

Each client is one typed client.json plus assets, validated against a shared Zod schema and rendered through a shared React section library on top of Next.js static export. A provision CLI (new / preview / demo / deploy) builds and ships each client to its own Cloudflare Worker for isolation — chosen over Pages, which is now in maintenance mode. Booking stays outbound-only to existing tools like Square or Booksy rather than building native booking or payments. The barbershop-and-salon beachhead, stack, hosting choice, and hybrid setup-plus-subscription pricing were locked by a dual-senior (Opus vs GPT-5.5) design contest, refereed 2026-07-06.

Currently building: this is still groundwork — the shared schema, section library, and template layout are scaffolded, and the first template (barbershop) and the provision pipeline are the pending batch-1 work before any client site ships.

Outcome

The repo is private while it's early. This page will link out once there's something safe to share publicly.