StackSmith gives you auth, Stripe billing, Claude & GPT-4 streaming, and usage metering — all wired up from day one. Clone, configure, deploy.
One-time payment · MIT license · Use on unlimited projects
What's included
Every AI SaaS needs the same foundation. StackSmith ships it so you can skip straight to your actual product.
Email/password, magic link, and Google OAuth via Supabase. Session middleware and RLS policies pre-configured.
Subscription plans, webhook handler, checkout sessions, and customer portal. Starter, Pro, and Unlimited tiers ready to go.
Multi-model streaming via Vercel AI SDK. Switch between Claude and GPT-4 with one prop. Non-streaming completions included.
Credit-based limits enforced per plan before hitting any API. Auto-reset monthly, real-time tracking, upgrade prompts at 80%.
Full CRUD for storing and reusing prompts per user. Load directly into the AI Playground with one click.
Usage stats, credit progress bar, 14-day chart, plan badge, and billing management — all pre-built.
Conversion-optimized with pricing table, feature grid, FAQ, and CTA. Swap in your copy and go.
Vitest + React Testing Library covering all API routes, components, and hooks. Ship with confidence.
Clone, install, fill in your API keys, run the Supabase schema. You'll have it running locally in under 15 minutes.
Getting started
Unzip, run npm install, copy .env.example to .env.local.
Paste in your Supabase, Stripe, and Anthropic API keys. Run the schema SQL once.
npm run dev — sign up, hit the AI Playground, verify your dashboard.
Push to GitHub, connect to Vercel, add your env vars. Done.
Pricing
One-time payment · MIT license
Questions? stanford.r.baker@gmail.com