Agent-First · Next.js SaaS Boilerplate
The convention-driven Next.js boilerplate for autonomous AI agents — Ship your startup.
Let agents do the job.
The Next.js based solo-founder kit for autonomous AI agents. Strict conventions keep Claude Code, Cursor, and Antigravity on track—auth, payments, and 3 databases already wired.
- Zero blast radius — new features never break old ones
- Strict conventions — zero AI coding slop
- Start instantly on SQLite ($5 VPS) · Graduate to Supabase Postgres as you scale
- Auth, 3 payment gateways & boards pre-wired
✓ Built for Claude Code, Cursor, Antigravity & OpenCode · zero external bloat · yours forever
+ all the boring stuff (built-in analytics, auth, SQLite, webhooks)
Payments Supported
Databases Supported
Single $5 VPS ready (SQLite) · Managed Cloud ready (Supabase & MongoDB)
Storage Supported
Cloudflare R2 ($0 egress) · AWS S3 (industry standard)
Email & Deployment
Resend REST · 1-Push Git Deploy & Docker (0 Vercel tax)
What You'll Get
Revenue-first analytics.
Discover which marketing channels bring customers so you can grow your business, fast.
- Every pageview, entry point and drop-off path
- Real hardware detection: Safari, Chrome, iOS & Mac
- Referrer attribution: tweet, launch post or sponsor
- Journeys that end in $$$ checkout conversions
- Local SQLite persistence with zero cookie banners
- One-click CSV export & raw event querying
Autonomous Mobile Deployments
Ship from your phone.
Zero production panics.
The most prolific solo founders aren't glued to their desks anymore. Pieter Levels and so many other indie makers are shipping features, closing support tickets, and pushing to live servers directly from their phones with Termius and Claude Code.
If they can ship from their phone on the couch—so can you.
pushing code from phone is so amazing and its only possible since last few months cause agents can handle massive context and limited tooling scopes better now
— jack friks (@jackfriks) (August 11, 2026)
can't believe I ship code from my phone now
— Kent (@kentdebruin) (August 28, 2026)
my mac is now 24/7 reachable and i can use codex and claude from anywhere :) here is my setup: 1. install amphetamine so your mac does not sleep and stays on. 2. install amphetamine power protect so you can close the lid and the mac still keeps running. 3. install tailscale...
— Andi (@andilosing) (June 24, 2026)
.@levelsio I code from my phone now because of your post. Wrapped the whole setup into one command. pocketdev: • Hetzner box running your AI CLI (Claude Code, Codex, Cursor, Gemini…) on your own subscription • Tailscale-only, empty Hetzner firewall, nothing inbound • code…
— Massi — oss/acc (@0xMassi) (June 29, 2026)
i still can’t get over how much power i have from my phone. coding new features, closing customer support tickets, optimizing wedding website - all while watching the baseball game on my couch after dinner :)
— jack friks (@jackfriks) (August 10, 2026)
This is how I code now about half the time. From my phone with Termius coding on my VPS and writing requests into Claude Code like a goon
— @levelsio (@levelsio) (January 5, 2026)
The Zero-Panic Guarantee
Why mobile shipping terrifies founders—and how Boring makes it safe.
Prompting an AI agent from your phone is suicide if your codebase has no guardrails. One hallucinated npm package, one unchecked database migration, or one broken auth claim drops production while you're away from your laptop. Here is why normal apps crash, and how our strict .agents/ rules guarantee zero downtime.
Why vibe-coded apps break live users
- Phantom npm installs: The AI invents non-existent packages or installs dead npm wrappers that fail container builds and leak secrets.
- Accidental database wipes: One bad prompt runs an unchecked migration, dropping live tables or locking production with unindexed queries.
- 200-line spaghetti routes: The AI dumps raw unreadable logic into endpoints without transactions and forgets to check if the user actually paid.
- Infinite login loops: Corrupted session cookies and auth claims trap your paying customers in endless redirects.
- API keys leaked in the browser: The model bakes Stripe and OpenAI secret keys directly into frontend code for anyone to scrape.
- No undo button: The AI touches 15 files at once, breaks the build, and leaves you stranded with no rollback plan.
How Boring keeps autonomous ships rock-solid
requirePaidUser() check and automatic rate limits.node --check and lint with 0 warnings before it can deploy.Sent from your phone → prod stayed green
Act II · The switch
Deploy on a $5 server. Or scale to the cloud.
Run your entire SaaS on a single $5/month VPS with production SQLite, 0ms query latency, and zero database bills. Or flip one environment variable to switch to Supabase Postgres or MongoDB Atlas. The application code never rewrites a query.
# Run app + db + analytics on a $5 server
DB_PROVIDER=sqlite
SQLITE_PATH=/var/data/app.db
BILLING_PROVIDER=dodo
✓ 0ms RAM latency · 100k+ ops/sec · $0/mo DB bill# Point to Supabase or Atlas with 1 env variable
DB_PROVIDER=supabase # or mongodb
SUPABASE_URL=https://xyz.supabase.co
BILLING_PROVIDER=stripe
✓ Exact same models · 0 lines of app code changedgit push production main. Done.
Local pre-push hook runs node --check and zero-warning lint gates before code leaves your laptop. Git transports commits to your $5 VPS over encrypted SSH or private Tailscale WireGuard. PM2 reloads with zero downtime.
A quiet night crew that works while you sleep.
No Redis clusters to babysit. No third-party cron bills. While you're offline, silent background routines create fresh database backups, sweep away old logs, and reclaim disk space—so you never wake up to an out-of-memory emergency.
Your app won't fail from competition. It'll die from an AI slop grenade.
Give an autonomous AI agent a blank, un-opinionated repository and watch it toss a slop grenade into your codebase: hallucinating 10 npm packages, inventing 4 conflicting folder structures, and locking your production database. Unconstrained agents don't build software—they force you to clean up their architectural mess.
Unstructured AI development balance sheet
- + Defusing AI slop grenades: hallucinated packages & broken builds20 hrs
- + Untangling un-opinionated folder spaghetti and duplicate models16 hrs
- + Resolving destructive ORM schema migrations that locked prod DB24 hrs
- + Fixing silent regressions when a new feature breaks existing code18 hrs
- + Refactoring 250-line bloated route handlers leaking secrets14 hrs
- + Fixing auth redirect loops and stale JWT cookies8 hrs
- + Paying $29/mo for hosted Postgres before making your first dollar$29/mo
- + Paying $49/mo for Sentry only to wake up to 2,000 alert emails$49/mo
- + Paying $20/mo for hosted CI minutes and debugging runner YAML$20/mo
- + Wrestling with Redis, Celery, or BullMQ just to run 2 simple cron jobs16 hrs
- + Debugging ghost memory leaks from state stored in module globals10 hrs
- + Arguing over stack architecture instead of shipping∞ hrs
- = Total architectural slop debt100+ hrs lost
Strict conventions eliminate chaotic architecture debates. When an autonomous agent has rigid rules for schemas, providers, and thin routes, it stops creating slop and starts shipping production software.
const agent_output = "Production code. Zero slop.";The Anti-Regret Architecture · Blast Radius: 0%
Never break what's already paying you.
Every solo builder knows the cold dread in their stomach: you ask an AI to add a simple feature, and it quietly breaks the checkout that pays your bills. Your Saturday is gone, your customers are locked out, and you're frantically debugging code you didn't even write. In Boring, your revenue code is sacred. Every new feature is quarantined in its own folder—completely blocked from touching your working auth, your database, or your Stripe checkout.
Bad programmers worry about the code. Good programmers worry about data structures and their relationships.
Why BoringPush enforces a strict Data-First rule: schemas defined on SQLite, MongoDB, and Supabase first. When data structures are immutable contracts, your application code stays simple, boring, and immune to AI churn.
Your revenue code is sacred
The checkout that pays your bills is completely off-limits to new code. Every new feature lives in its own quarantined folder with its own isolated routes. Your AI can build freely without ever touching your login, your payment webhooks, or your active customer sessions.
Never trapped by your stack
Tired of watching your database bill grow before your product even has revenue? Or locked into Stripe when you need global merchant-of-record payouts? Change a single word in your config. Your models, your routes, and your application code stay untouched. Zero rewrites. Zero regret.
Your customer data is permanent
No accidental table drops. No wiped customer records. No runaway queries that freeze your live database while you're asleep. AI agents are hard-banned from running destructive migrations. Every change is strictly additive. Prompt from your phone at 2:00 AM knowing your customer data can never be destroyed.
Act IV · The lineup
Boring vs the hard way
How Boring stacks up against starting from a blank directory or wrestling with bloated multi-package frameworks.
| Feature | Boring | From scratch | Typical boilerplate |
|---|---|---|---|
| Strict .agents/ rules (Defuse AI slop grenades) | |||
| Zero blast radius (new features never break old ones) | |||
| Locality of behavior (sandboxed feature pods) | |||
| Tri-database schema parity on every feature | |||
| Mobile production sessions with rollback safety | |||
| Production SQLite ($0/mo DB bill, 0ms latency, WAL mode) | |||
| One-switch SQLite ↔ Supabase (or MongoDB) | |||
| Production Docker out of the box (0 Vercel tax, self-host anywhere) | |||
| In-built zero-CI deploy (git push production main) | |||
| 0-deps background workers & backups (0 Redis / 0 BullMQ) | |||
| Native SQLite VACUUM INTO snapshots & hourly WAL truncation | |||
| Tailscale private mesh option (Zero open port 22) | |||
| Stripe + LemonSqueezy + Dodo (3 Gateways) | |||
| Transactional email: Resend out of the box (0 npm bloat) | |||
| Thin routes (≤40 lines, zero memory leaks) | |||
| Built-in privacy analytics (zero cookies) | |||
| Pocket incident alerts + 1-tap phone fixes (Telegram/Discord) | |||
| Feedback & roadmap boards included | |||
| Magic links + Google OAuth (proven JWT) | |||
| Zero external npm bloat | |||
| Time spent fixing AI slop | 0 hrs | Weeks | Days |
Act V · Word on the street
Students, founders, and engineers love us
Real feedback from solo builders, founders, and engineers who stopped rebuilding and started shipping.
I learned the fundamentals of real shipping in 12 days. I stopped getting stuck in tutorial hell and launched my first working tool. I'm shipping with genuine momentum now.
Whenever I get stuck on an architecture problem, I remember the first-principles rule. We built our entire backend with zero bloated frameworks and it just runs.
They enthusiastically build from scratch outside of work. No npm bloat, no framework fatigue—just raw speed and clean shipping. This makes me want to build every day.
Pointed Claude Code at CONVENTIONS.md and it implemented multi-seat org billing end-to-end. Not a single hallucinated npm package, not a single broken import.
The tri-database architecture is pure genius. Zero-friction SQLite on my Mac during dev, and our MongoDB cloud cluster was live on day one without rewriting a single model.
Most boilerplates ship 250-line bloated route handlers that collapse under load. Boring's 40-line route rule forced discipline into our entire codebase.
Went from reading endless system design theory to launching my first paid micro-SaaS over a single weekend. The code reads like clear prose from top to bottom.
Prompted an agent from my iPhone in an Uber to patch a Stripe webhook. The additive migration guard and automated preflight checks kept prod 100% green.
No ORM black magic, no rogue global state, no cookie consent theater. Just plain functions, clean SQL, and predictable plain objects. Absolutely refreshing.
Replaced our Frankenstein Next.js + Prisma setup with Boring. Lighthouse jumped to 99, Docker builds take 12 seconds, and we shipped 3 customer-requested features this week.
I learned the fundamentals of real shipping in 12 days. I stopped getting stuck in tutorial hell and launched my first working tool. I'm shipping with genuine momentum now.
Whenever I get stuck on an architecture problem, I remember the first-principles rule. We built our entire backend with zero bloated frameworks and it just runs.
They enthusiastically build from scratch outside of work. No npm bloat, no framework fatigue—just raw speed and clean shipping. This makes me want to build every day.
Pointed Claude Code at CONVENTIONS.md and it implemented multi-seat org billing end-to-end. Not a single hallucinated npm package, not a single broken import.
The tri-database architecture is pure genius. Zero-friction SQLite on my Mac during dev, and our MongoDB cloud cluster was live on day one without rewriting a single model.
Most boilerplates ship 250-line bloated route handlers that collapse under load. Boring's 40-line route rule forced discipline into our entire codebase.
Went from reading endless system design theory to launching my first paid micro-SaaS over a single weekend. The code reads like clear prose from top to bottom.
Prompted an agent from my iPhone in an Uber to patch a Stripe webhook. The additive migration guard and automated preflight checks kept prod 100% green.
No ORM black magic, no rogue global state, no cookie consent theater. Just plain functions, clean SQL, and predictable plain objects. Absolutely refreshing.
Replaced our Frankenstein Next.js + Prisma setup with Boring. Lighthouse jumped to 99, Docker builds take 12 seconds, and we shipped 3 customer-requested features this week.
Founding cohort — batch closes soon
One payment. Yours forever.
Everything you need to build your SaaS, AI tool, or web app and make your first $ online.
$349.00 $199.00 USD
First 100 founders only — goes to $349 when batch closes.
Today's price is locked forever — v1.1 costs more.
- Everything on this page, full source
- 1-push git deploy + multi-stage Dockerfile ($5 VPS)
- All v1.x fixes & features
- Private repo access + updates
- Keep 100% of what you ship
- Lifetime updates
Secure checkout · Runs locally in 60 seconds · Boring Promise: saves a weekend or rm -rf it
Act VII · Straight answers
Fair questions, no pitching
Have another one? Ask directly at [email protected]
Getting started
Payments
AI builders
Final act · Your move
Stop burning weeks on plumbing.
Build your SaaS, AI tool, or web app and make your first dollar online fast. Zero-setup SQLite today, production cluster tomorrow.