AI Boilerplate is the Next.js SaaS boilerplate built for vibe coding with Claude and Cursor, providing a production-ready foundation with authentication, payments, storage, and AI-optimized structure.
What is AI Boilerplate?
AI Boilerplate is a pre-built Next.js monorepo designed for founders and indie hackers shipping SaaS products with AI coding tools. It takes your idea and gives you a fully wired codebase — authentication, Stripe subscriptions, a user dashboard, file storage, email, blog, documentation, and more — so you can start building unique features immediately. Built by a team with over 15 years of experience at companies worth €300M+, it runs on Vercel and uses Turborepo, Supabase or MongoDB, tRPC, Prisma, and shadcn/ui.
Key Features
- Cursor & Claude rules built-in — AI follows your conventions from prompt one, with
.cursorrules and CLAUDE.md templates that give full context before every change.
- Modular monorepo — Isolated packages for auth, payments, email, and database prevent cascading bugs when you add features.
- Authentication — Email, magic links, Google, and GitHub sign-in with roles and admin access, secured by Better Auth.
- Payments & credits — Stripe subscriptions and a credit system that prevents double-charges and unauthorized usage.
- Swappable database — Prisma ORN with support for Supabase Postgres or MongoDB; typed models and migrations included.
- File storage — Per-user uploads on Cloudflare R2 or Supabase, with access control built in.
- Email system — Transactional emails via Resend, on-brand templates for verification and notifications.
- Additional modules — MDX blog, Fumadocs documentation, feature flags, light/dark theming, analytics with GDPR consent.
Who is it for?
- Founders and indie hackers — Use AI Boilerplate to ship a production-ready MVP in days, not months, while owning the full source code.
- Non-technical builders — Start from a working foundation so AI coding tools (Cursor, Claude) build on stable ground, not from scratch.
- Freelancers and small agencies — Build multiple client projects with the Teams license, reusing the same scalable architecture.
What can you do with AI Boilerplate?
- Launch a SaaS product — Clone the repo, set up environment variables in 15 minutes, and start vibe-coding unique features while auth, payments, and storage already work.
- Build an AI-powered tool — Use the tRPC + TanStack Query API layer with full type safety to integrate AI models, then deliver via the included dashboard.
- Create a content site with user accounts — Pair the MDX blog and Fumadocs documentation with user authentication and roles, all wired on day one.
How does AI Boilerplate work?
- Purchase and receive instant repository access via email.
- Clone the repo, configure environment variables, and run the setup script — you’ll be running locally in 15 minutes.
- Open Cursor or Claude, start adding features; the AI reads the built-in rules and modular structure to generate consistent, production-safe code.
Pricing
AI Boilerplate is a one-time purchase with lifetime updates. Two tiers:
- Personal (€199) — For founders and indie hackers shipping their own products. Includes full source, unlimited projects for your own business, and access to the private founder Discord.
- Teams (€499) — For agencies and freelancers building projects for clients. Includes everything in Personal plus unlimited client projects, extra source access seats, and priority support.
The first 100 buyers get €100 off (85/100 spots left) and the OG role with direct founder access.
FAQ