← Work

Personal project

WebWeaver: a website from a prompt, in the browser

A platform that generates and deploys a website from a prompt using the Claude API, with a React frontend, a TypeScript/Node backend and in-browser web containers for live previews.

Role
Solo build
Period
Nov to Dec 2024
Stack
TypeScript · React · Express · Anthropic SDK
Abstract render: a woven lattice of dark filaments, one of them cyan
  • in the browserfrom prompt to running site
  • Claude 3.5 Sonnetmodel
  • WebContainersruntime

01Context

Built in the final year of my degree, before the current wave of prompt-to-app tools was commonplace, to understand how far a language model could carry a full build loop.

02Constraint

Everything had to run client-side after generation: no deploy step, no server per user, previews that update as the model edits files.

03What I did

An Express backend calls the Claude API to pick a template (node or react) and stream file edits; a Vite/React frontend mounts the generated project in a WebContainer with a Monaco editor so the preview runs live in the tab. The system prompt is adapted from the open-source Bolt prompt, which I say plainly because it matters.

04Result

A working prompt-to-website loop with live previews. It is the project that convinced me to build with AI tooling daily, which is now how every product in this portfolio was made.

05What I'd change

It is a learning project, not a product; the live demo is offline. Its value is in what it taught: separate planning from file edits, and keep the human in the loop at the preview, not at the prompt.

06Stack

  • TypeScript
  • React
  • Express
  • Anthropic SDK
  • WebContainers
  • Monaco