Settings

AI Generation (Mode B)

Generate Template calls a server-side API route that never exposes credentials to the browser. To enable real AI generation, set an environment variable on the server:

ANTHROPIC_API_KEY=sk-ant-...

Without a key configured, Generate Template still works — it uses a deterministic, rule-based fallback generator so the app is fully functional in local development.

Project storage

Projects are currently saved to this browser's local storage via a ProjectStore interface. Swapping in a real database (Postgres, Supabase, etc.) for production/multi-device use means writing one new class that implements that interface — no other code changes.

About this build

SiteForge MVP — Next.js App Router, TypeScript, Tailwind CSS. See the README in the project root for architecture notes, how to add a new template, and known limitations.