Key Concepts

The architecture behind every site Zitegen generates — what's real, what runs where, and why it's fast.

Static output, not a client app

Every site Zitegen generates is pre-built, static HTML — nothing renders it per request, and no client-side framework hydrates it in the browser. That's what makes it fast to load and trivial for search crawlers to read: the full page is already there in the response, no JavaScript execution required.

Astro, and what a generated project looks like

Sites are built on Astro 7 with the official Cloudflare adapter, output as static files. Every project follows the same real structure — nothing proprietary:

src/
  pages/       one file per route
  components/  SEOHead.astro, and anything you add
  layouts/     Base.astro wraps every page
  styles/      global.css, fonts.css
public/
  fonts/
  sitemap.xml, robots.txt, rss.xml   generated per site

Interactivity without a framework runtime

No React, Vue, or any client-side framework ships to your visitors. Every element carries a data-zitegen-id back to the component tree, and specific behaviors — a modal, a filterable collection, an inline-edited section — are driven by small, purpose-built data attributes instead of a general-purpose runtime. Pages stay light because there's nothing heavier to load.

Edge deployment

Publish deploys through that same Cloudflare adapter to Cloudflare's global edge network, live at yourslug.zitegen.app in moments. Static files serve straight from the edge — no origin server to wait on.

Where your data actually lives

The component tree — a validated, structured document, not free-form markup — is the single source of truth, stored in Zitegen's own database rather than bundled into your site. AI chat, the visual canvas, and the code editor all write through that same tree, so nothing falls out of sync. Things like form submissions and articles are served through Zitegen's own API at request time, not a database shipped inside the static output.

SEO, built in

Every site gets a generated sitemap.xml, robots.txt, and an rss.xml feed of your published articles, plus per-page title, description, canonical URL, and schema markup you can set from Site Settings. By default an llms.txt also indexes your pages for AI crawlers — the AI crawler policy in Site Settings lets you keep that, ask crawlers to skip AI training while still allowing it, or block named AI crawlers outright (which stops generating llms.txt). Because pages are static HTML, search crawlers see the finished page immediately — nothing to execute first.