ONE COMMAND.
FULL INTEGRATIONS.
Stop spending days wiring auth, payments, email, and storage. CNIPPET_STACK installs production-ready integrations directly into your existing Next.js app — with diff previews, automatic backups, and zero greenfield lock-in.
$ npx cnippet-stack init better-auth
# → auth wired in under 5 minutes
How it works — install with confidence
Every install follows the same four steps, in the same order, whether you run it yourself or an agent does.
Analyze
We scan package.json, tsconfig, and your folder structure — Next.js version, router type, ORM, and package manager, detected before you answer a single question.
Configure
Only the questions we can't answer from code. Every prompt is data-driven from the recipe manifest, not hardcoded.
Preview
See a full diff of every file we'll change before anything writes. Run --dry-run to inspect without touching a single byte.
Deploy
Files written, deps installed, env vars generated. We print the manual steps — OAuth setup, migrations — with links to the guide.
Every install is safe by construction
No assumptions about your project, no unreviewed writes — built to be driven by you or your coding agent.
Preview before write
See a full diff of every file we'll change before anything writes. Run --dry-run to inspect without touching a single byte.
AST injection, not regex
We use ts-morph for JSX/TS changes and marker-based appends for schema files. No blind overwrites. Every change is surgical.
Auto-backup
Every touched file is backed up to .cnippet/backup/<timestamp>/ before anything changes. You are always one git checkout away from reverting.
Plug-and-play integrations
9 recipes shipped — 5 free, 4 pro. Every recipe is a typed manifest declaring exactly which files it writes and which env/deps it needs, enforced before a single file touches your repo.
Auth, sessions, and OAuth wired in — the recipe most projects start with.
export default defineRecipe({
name: "better-auth",
requires: {
env: ["BETTER_AUTH_SECRET"],
deps: ["better-auth"],
},
})
Pay once. Every pro recipe.
A license unlocks all pro recipes — payments, billing, and everything we ship next. Free recipes never need an account.
All free recipes: auth, email, storage. No account needed.
For individual developers. All free + pro recipes, one seat.
For teams up to 5. All free + pro recipes, shared across the team.
Ready to ship auth
in 5 minutes?
Run the command in your existing Next.js project. Free recipes are unlocked immediately — a single license unlocks every pro recipe.
$ npx cnippet-stack init better-auth
5 files written
doctor: 8/8 passed
done in 1.2s