1
0 Comments

I built a Next.js boilerplate with AI chat because I kept rebuilding the same features

After building Pacgie (the design tools site), I realized something annoying: every time I started a new SaaS project, I was copying the same code over and over. Auth, payments, admin panel, email templates. All the boring stuff that takes weeks but isn't the actual product.

So I turned my setup into a proper boilerplate. Then I went further and added what I needed for my next project: an AI chat system with streaming, multiple models, and credit-based billing.

What's in it:

  • Next.js 16 with Supabase (auth + database)

  • Payments with LemonSqueezy or Stripe

  • Admin panel with role-based access

  • Email templates via Resend

  • And the AI version adds streaming chat with GPT-4o, Claude, and Gemini, plus a token/credit system

I'm selling two versions:

  • Standard — all the core SaaS features

  • AI — everything above plus the AI chat and credit billing

Why I'm sharing this:

I built Pacgie to scratch my own itch. PacBoiler is the same idea: tools I actually use, now packaged so others can skip the setup grind.

If you're starting a SaaS (especially anything AI-powered), this might save you a few weeks. If not, no worries—it was worth building anyway.

Happy to answer any questions or hear feedback.

posted toAvatar for product pacgie
pacgie