{"repo":"nikandr-surkov/ai-saas-starter","free":true,"listed":false,"github":"https://github.com/nikandr-surkov/ai-saas-starter","clone":"git clone https://github.com/nikandr-surkov/ai-saas-starter.git","description":"AI SaaS boilerplate for Next.js 16 — Better Auth, Stripe subscriptions, credits system, AI image generation. AI-native: AGENTS.md, Claude Code skills & hooks.","language":"TypeScript","stars":10,"topics":["agents-md","ai-image-generation","ai-saas","ai-saas-boilerplate","better-auth","claude-code","drizzle-orm","nextjs","nextjs-boilerplate","postgresql"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"ai-saas-starter The free, open-source AI SaaS boilerplate and starter kit for Next.js 16. Auth, Stripe subscriptions, an append-only credits ledger, and AI image generation — built as an AI-native repo that Claude Code, Cursor, and Codex can extend without breaking the money paths. Live demo · Deploy guide · Pro version What is this? - This website is the demo — sign up, everything works. - The code is a free GitHub repo — MIT, clone it. - You build YOUR product on top — auth and payments are done. A free, open-source SaaS boilerplate / starter kit for Next.js 16 · React 19 · TypeScript strict · Better Auth · Drizzle + PostgreSQL · Stripe · AI SDK 6 · Tailwind v4 + shadcn/ui · Resend · Vitest + Playwright . See it --------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------- Credits ledger on the dashboard — balance is SUM(amount), enforced AI image generation — 1 credit per image Busy state Plans from one config file Real Stripe checkout (test mode) Auth + account settings Why another SaaS boilerplate? AI assistants are good at building product features and bad at the 20% that loses money when improvised: webhook retries, concurrent spends, refund paths, idempotency. This repo ships that 20% finished and tested — an append-only credit ledger whose balance is enforced equal to SUM(amount) , Stripe webhoo","default_branch":null,"files":null,"tree":[],"storefront":"/r/nikandr-surkov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nikandr-surkov/ai-saas-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}