An automated web development agency pipeline. Ingests local business data, scores leads, generates modern landing pages, and drafts outreach emails — fully automated.
- Ingest — Upload a CSV of local businesses from Outscraper
- Filter — AI classifies which businesses have simple "poster sites" we can rebuild
- Crawl — Firecrawl scrapes each qualified site
- Score — AI scores each site for rebuild potential (outdated design, no backend, etc.)
- Generate — AI builds a modern single-file HTML landing page for each hot lead
- Outreach — AI drafts a personalized cold email with the preview link
npm installcp .env.example .env.local
# Fill in all values in .env.local- Create a project at supabase.com
- Run
schema.sqlin the Supabase SQL editor - Copy your project URL and keys into
.env.local
npm run dev- Export businesses from Outscraper
- Upload via the dashboard
- Watch the pipeline run
See CLAUDE.md for full technical documentation including the pipeline state machine, Supabase schema, module ownership, and agent instructions.
raw → qualified → crawled → hot → generating → complete
↘ rejected ↘ cold
Sites are generated as single HTML files and served statically at:
http://localhost:3000/sites/[business-id]
- Next.js 14 (App Router)
- TypeScript
- Tailwind CSS
- Supabase
- Firecrawl API
- OpenRouter API (Claude/GPT/Gemini model routing)
- shadcn/ui
- Upload the sample CSV
- Watch businesses get classified in real time
- Click "Process Leads" to crawl and score
- Click "Generate Sites" to build landing pages
- Show before/after comparison for hot leads
- Show drafted outreach email with preview link