§Case study
← All projectsShopStudio – AI Shopify Theme Builder SaaS
A SaaS that turns natural-language prompts into production-ready Shopify Online Store 2.0 themes. Native Liquid sections, JSON templates, and downloadable ZIP — no build step needed on Shopify.
- Shipped
- Reading
- 3 min read
- Stack
- Next.js
- React
- TypeScript
- Tailwind CSS
- Stripe
- Gemini
- Bun
“Describe your store in words. Download a theme that works.”
In plain English
ShopStudio lets you describe what you want your Shopify store to look like in plain English, and generates a complete, production-ready theme you can upload directly to Shopify Admin. Not static HTML — real Liquid sections with {% schema %} blocks, dynamic content, and JSON templates.
📦 GitHub Repository: https://github.com/amirfaisalz/shop-studio
The problem
Generic AI code generators produce static HTML that looks like a Shopify theme but doesn’t work like one. Merchants need:
- Native Online Store 2.0 output — sections with schema blocks, presets, and dynamic data bindings that work in the Shopify Theme Editor
- Multiple page templates — Home, Product, Collection, Cart — not just a single landing page
- No build step — download a ZIP file and upload it directly to Shopify Admin
- Iterative refinement — “make the hero button pill-shaped” without regenerating the entire theme
What I built
Native OS 2.0 output
The AI pipeline generates real Shopify theme files:
- Liquid sections with
{% schema %}blocks, dynamic blocks, and presets - JSON templates for Home, Product, Collection, and Cart pages
- Theme settings (
settings_schema.json) for global configuration - ZIP export with schema, Liquid, and asset validation — downloadable and uploadable to Shopify Admin with no build step
Provider-independent AI
The AI layer is model-agnostic:
- Switch models from the Dashboard, Projects page, or Editor
- Per-user API keys and base URLs stored in browser local storage
- Supports Gemini, DeepSeek, OpenRouter, OpenAI, and any OpenAI-compatible endpoint (Ollama, vLLM, LocalAI, Groq)
Live sandboxed preview
Generated themes are rendered in an isolated preview with:
- Desktop, Tablet, and Mobile viewport modes
- CSS isolation for security — the preview can’t affect the editor
- Real-time updates as you iterate with AI
Scoped editing
Click any section or element in the preview to select it. Then use the AI chat to refine it: “make hero button pill-shaped”, “change the background to dark blue”. Each change is an atomic, reversible revision with undo/redo.
Full project lifecycle
- Search, preview, and open existing projects
- Cascade delete — removing a project removes its themes, revisions, and assets
- Real-time quota display with plan limits and upgrade modals
Media pipeline
- Zero-config curated Unsplash integration with CORS resilience
- Optional ImageKit for text-to-image, AI transforms (background removal, upscale, retouch)
Monetization
- Stripe billing with three tiers: Starter, Pro, Agency
- Customer portal for plan management
- Dev Pro bypass via
bun run make-pro <email>CLI or environment flag for development
Backend via InsForge
- PostgreSQL with Row-Level Security policies for tenant isolation
- Migrations managed in
migrations/schema.sql - Service-role key for admin operations that bypass RLS
Structure
app/(app)/ — Protected pages (dashboard, projects)
app/(auth)/ — Auth flows (login, register)
app/api/ — Route handlers (ai, billing, projects, shopify)
app/editor/[id]/ — Theme builder/editor
lib/ — Core logic (ai, billing, export, images, shopify)
migrations/ — Database schema
scripts/ — CLI utilities (make-pro, etc.)
Status
Functional with core features implemented. Theme generation, preview, editing, export, and billing are working. Additional template types and the public marketing site are in progress.
Next case study ↓
05 / 2026
LuxeQuest
Interactive Luxury Brand Experiences

Nine campaign-style launch pages for fictional premium brands and a style quiz. Each page uses an interaction technique the others don't: GLSL oceans, audio-reactive visuals, SVG displacement loupes. All of it keyboard-accessible, reduced-motion aware and tested end to end.
- Next.js 16
- React 19
- TypeScript
- Three.js
- GLSL
- Web Audio API