Paste a URL. Get ads.
AI-powered ad creative generator for e-commerce and SaaS brands. Generates ready-to-post carousel ads, static images, ad copy, and targeting suggestions from any product or website URL.
- Clone this repo
- Copy
.env.exampleto.env.localand fill in your keys pnpm installpnpm dev
This project is designed to be built with Claude Code in 5 phases. Each phase has a detailed plan in docs/phase-plans/.
To start:
# Open Claude Code in the project root
claude
# First message:
Read HANDOFF.md and docs/phase-plans/phase-1-foundation.md. Execute Phase 1.Between sessions:
# Use the handoff slash command before ending
/handoffStarting a new session:
# Always start by reading the handoff
Read HANDOFF.md and continue from where we left off.- Frontend: Next.js 15.5 (App Router), React 19, Tailwind v4, shadcn/ui
- Backend: Next.js API Routes + Server Actions
- Database: Supabase (PostgreSQL + Auth + Storage)
- Payments: Stripe (subscriptions)
- AI: Claude API (Sonnet 4.5) for ad copy generation
- Image Rendering: HTML/CSS templates → htmlcsstoimage.com API
- Rate Limiting: Upstash Redis
- Hosting: Vercel
- Email: Resend
docs/phase-plans/ → Build plans for each phase
docs/ → Architecture and security reference docs
src/app/ → Next.js App Router pages and API routes
src/components/ → React components
src/lib/ → Shared utilities, clients, schemas
CLAUDE.md → Claude Code instructions
HANDOFF.md → Session continuity document