Scaffold a production-ready Next.js site from a single text prompt. Two API keys. No cloud account required.
Alpha release — core pipeline works. 21st.dev component step is currently manual. Full automation coming in v1.0.
By MMKPC Studios — Matt Mitchell © 2026
Your Prompt
│
▼
Gemini 2.0 Flash → Generates all Next.js components (Hero, sections, Footer)
│
▼
shadcn/ui → Wires in accessible, unstyled component primitives
│
▼
21st.dev registry → Replaces scaffolded UI with real production components
│ (AuroraBackground, GlowingEffect, TubeLightNavbar, etc.)
▼
npm run dev → Running site at localhost:3000
- Node.js 18+
- A free Gemini API key (Google AI Studio)
- A free 21st.dev API key
That's it. No GCP. No Docker. No cloud billing.
git clone https://github.com/MMKPC/studiokit.git
cd studiokitnpm installcp .env.example .envOpen .env and fill in:
GEMINI_API_KEY=your_key_here
TWENTY_FIRST_API_KEY=your_key_here| Key | Where to get it | Cost |
|---|---|---|
GEMINI_API_KEY |
aistudio.google.com/app/apikey | Free |
TWENTY_FIRST_API_KEY |
21st.dev/magic/console | Free tier available |
node scripts/generate.js --prompt "SaaS analytics dashboard, dark mode, glassmorphism" --name my-dashboardcd generated/my-dashboard
npm install
npm run devOpens at http://localhost:3000
npx shadcn@latest init -d
npx shadcn@latest add "https://21st.dev/r/aceternity/aurora-background"
npx shadcn@latest add "https://21st.dev/r/ayushmxxn/tubelight-navbar"Browse all components at 21st.dev.
# Game studio
node scripts/generate.js --prompt "AAA game development studio, dark cinematic theme, purple and cyan" --name game-studio
# SaaS
node scripts/generate.js --prompt "fintech analytics dashboard, glassmorphism, dark mode" --name fintech-dash
# Portfolio
node scripts/generate.js --prompt "creative developer portfolio, minimal, black and white with one accent color" --name portfolio
# Agency
node scripts/generate.js --prompt "design agency, bold typography, high contrast, editorial layout" --name agency| Tool | Role | Docs |
|---|---|---|
| Gemini 2.0 Flash | Code generation | Google AI Studio |
| shadcn/ui | Component primitives | npx shadcn@latest |
| 21st.dev | Production UI components | npx shadcn@latest add <url> |
| Next.js 14 | App framework | Vercel |
| Tailwind CSS | Styling | Tailwind Labs |
| framer-motion | Animations | Framer |
For every --prompt, the pipeline outputs a complete Next.js 14 project with:
app/page.tsx— main page with navbarapp/layout.tsx— root layout with metadataapp/globals.css— base styles + CSS keyframe animationscomponents/Hero.tsx— full-viewport hero with particlescomponents/GamesShowcase.tsx(or equivalent) — feature/product sectioncomponents/About.tsx— about/stats sectioncomponents/Careers.tsx— CTA / team / roles sectioncomponents/Footer.tsx— links, socials, newsletterpublic/images/— placeholder stubs (swap in your own assets)package.json,tsconfig.json,tailwind.config.ts,next.config.ts
The pipeline generates CSS gradient fallbacks for all image slots. To add real images:
- Drop
.pngor.jpgfiles intogenerated/<name>/public/images/ - Name them to match:
hero-bg.png,game-card-1.png,game-card-2.png,studio-bg.png
For AI-generated images, Ideogram, Midjourney, or Adobe Firefly all work well.
- CLI generator (Gemini + shadcn + 21st.dev)
- Interactive prompt wizard (
npm run create) - Multi-page support (landing + inner pages)
- Deploy step (
npx vercelintegration)
MIT — use freely, build openly.
StudioKit is an open-source project by MMKPC Studios. Built by Matt Mitchell, 2026.