This repository is a demo application that runs on Cloudflare Workers and shows a simple "AI + Git + repo artifacts" workflow.
At a high level, the app:
- Creates and manages artifact-backed repos
- Generates or updates a single-page landing page with Cloudflare AI
- Commits changes and exposes lightweight API routes for repo state/history
This project is intentionally minimal and built for demonstration purposes, not as a production-ready template. It will use the Artifacts binding soon!
- Install dependencies:
npm install
- Set required secrets/vars for Wrangler:
CLOUDFLARE_TOKEN(needs Artifacts read/write only)ARTIFACTS_NAMESPACE
- Start the worker:
npm run dev
npm run deploy