A Node.js + TypeScript backend that accepts website prompts (for example, via WhatsApp), generates a GitHub repository for the site, and deploys it to Vercel.
Create a one page with lightning theme color palette with only one section with a text saying "KACHOWW
The backend will parse the prompt, select a skill template (e.g. portfolio), generate files via the LLM, create a GitHub repo, and trigger a Vercel deployment.
- Accepts incoming prompts (webhook) describing a website.
- Uses an LLM-driven generator to produce site files and a repo layout.
- Creates a GitHub repository and pushes generated files.
- Triggers a Vercel deployment using
VERCEL_TOKENand reports status.
- Install dependencies:
pnpm install- Create a
.envfile (see below) then run in development:
pnpm devAdd a .env file with these variables (adjust to your needs):
GITHUB_TOKEN- Personal Access Token with repo permissionsGITHUB_OWNER- Owner (username or org) where repos will be createdGITHUB_OWNER_TYPE-userororg(defaults touser)GITHUB_REPO_PREFIX- prefix for generated repo names (defaultai-site-)PORT- optional (default 3000)ANTHROPIC_API_KEY- Anthropic API keyVERCEL_TOKEN- Vercel tokent for deploying reposAPP_SECRET- Whatsapp App secretWHATSAPP_PHONE_NUMBER_IDWHATSAPP_ACCESS_TOKENWHATSAPP_VERIFY_TOKENPORT- Port number to run the backend
