Autonomous AI-powered digital product factory.
git clone https://github.com/YOUR_USERNAME/headless-studio.git
cd headless-studioheadless-studio/
├── docs/
│ ├── MASTER_PLAN.md # Full V18.2 design document
│ └── IMPLEMENTATION_GUIDE.md # Task-based guide for Claude Code
├── backend/ # Python FastAPI (deploys to Railway)
├── supabase/ # Database + Edge Functions
├── n8n/ # Workflow JSON exports
└── README.md
- Open this repo in Claude Code
- Point Claude to
/docs/IMPLEMENTATION_GUIDE.md - Work through tasks in order, one at a time
- Each phase has clear success criteria
| Phase | Goal | Monthly Cost | Duration |
|---|---|---|---|
| 0 | Foundation + organic validation | $25 | 2 weeks |
| 1 | Add paid ads, prove funnel | $45 | 2-3 months |
| 2 | Add second ad platform | $70 | 2 months |
| 3 | Scale + optimize | $70-120 | Ongoing |
- Groq (free): https://console.groq.com
- Google AI Studio (free): https://aistudio.google.com
- Supabase (free): https://supabase.com
- Railway ($5/mo): https://railway.app
- n8n Cloud ($20/mo): https://app.n8n.cloud
- Gumroad (free): https://gumroad.com
- Pinterest Developer (apply early!): https://developers.pinterest.com
- Master Plan: Full system design, decisions, and rationale
- Implementation Guide: Step-by-step tasks for Claude Code
- This README: Quick reference
# Backend (local development)
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload
# Run tests
pytest
# Deploy to Railway
railway up- Go to your Supabase project: https://REMOVED
- Navigate to the SQL Editor (left sidebar)
- Click "New Query"
- Copy the contents of
supabase/migrations/001_initial_schema.sql - Paste into the SQL Editor and click "Run"
- Verify tables were created by checking the "Table Editor" section
Add these to your .env file:
SUPABASE_URL=https://***REMOVED***
SUPABASE_ANON_KEY=***REMOVED_JWT***
SUPABASE_SERVICE_KEY=***REMOVED_JWT***Note: The service key provides full access to your database. Keep it secret and never commit to version control.
The migration creates:
- 8 tables: opportunities, smoke_test_signups, products, pins, blog_posts, seo_clusters, sales, system_logs
- Indexes: For efficient queries on status, dates, foreign keys
- 2 views: active_validations, product_performance (for easier analytics)
- Auto-update trigger: Keeps
updated_attimestamps current
Phase 0: Foundation
- ✅ Task 0.1.1: Initialize Repository
- ✅ Task 0.1.3: Create Supabase Schema (SQL file created at
supabase/migrations/001_initial_schema.sql) - ✅
.env.examplecreated with all environment variables
- ⏳ Run the Supabase migration - Use MCP to execute
supabase/migrations/001_initial_schema.sql - ⏳ Task 0.1.2: Create
backend/app/main.pyandbackend/app/config.py
- Task 0.1.4: Finalize environment configuration
- Verify backend runs with
uvicorn app.main:app --reload
- Use Supabase MCP to run the migration SQL from
supabase/migrations/001_initial_schema.sql - Create
backend/app/config.pywith pydantic-settings - Create
backend/app/main.pywith FastAPI app - Test that uvicorn starts successfully
Private - All rights reserved