Back to browse
GitHub Repository

A Software as a Service boilerplate code which can be used to generate packages with all the basic systems needed including landing page, support, authentication system, cms, payment system, etc.

4 starsTypeScript

SaaS Forge – Open-Source SaaS Boilerplate Generator

by anoopbayesian·Mar 4, 2026·2 points·0 comments

AI Analysis

●●SolidShip ItSolve My Problem

Auth + Postgres + Stripe + CMS in one CLI, but dozens of similar boilerplate generators exist.

Strengths
  • Monorepo structure with Turborepo + pre-wired tRPC/Prisma reduces repetitive SaaS scaffolding from weeks to minutes.
  • Modular design (pick auth, payments, CMS independently) avoids bloat compared to all-or-nothing templates.
  • Includes operational niceties: Logtail logging, Upstash Redis, n8n webhooks, suggesting real production experience.
Weaknesses
  • Crowded category: Wasp, Refinery, Replit Boilerplate, and dozens of paid/free SaaS templates already solve this problem identically.
  • Limited differentiation beyond feature count; unclear what makes this *better* than forking an existing template or using Create T3 App + manual integrations.
Target Audience

SaaS founders, full-stack developers, startup builders

Similar To

Wasp · Create T3 App · Refinery

Post Description

Hi HN!

I kept rewriting the same foundation for every SaaS I built — auth, payments, email, logging, environment setup — so I packaged it all up as SaaS Forge.

It’s a modular boilerplate generator for SaaS apps with AI in mind. You can use it two ways:

* 1. Open-source CLI (free, unlimited)*

npx saas-forge my-app

This launches a local scaffold where you choose modules via a form and download a ready-to-deploy repo.

* 2. Web Scaffold (20 credits)*

Live at: boilerplate.bayesian-labs.com

A guided UI that helps you select features, configure env vars (e.g. auth keys, DB URLs, etc.), and deploy correctly.

What you get out of the box: - Auth: Better Auth — email/password + GitHub, Google, LinkedIn OAuth + email verification + password reset - Payments: Dodo Payments/ Stripe — webhooks, credit system - Database: PostgreSQL(AWS RDS/Neon/Supabase/Railway) + Prisma ORM - Storage: Vercel Blob / Cloudflare R2 - Email: Resend / SMTP (Coming Soon) - Analytics: Google Analytics / Vercel Analytics - Security: Upstash Rate Limit - API: tRPC end-to-end type safety - CMS: Notion as a headless CMS for landing pages, docs, and legal pages - Caching: Redis via Upstash - Logging: Winston + Logtail + BetterStack (with guided env setup in the web scaffold) - UI: shadcn ui + aceternity ui+ Tailwind CSS 4 + Framer Motion + 50+ components - Monorepo: Turborepo + pnpm workspaces

Idea is simple: skip boilerplate and ship what’s actually unique in your product.

The CLI is free and open-source — fork it, extend it, or just use it raw. The web scaffold is for folks who want error-proof setup with minimal config.

Live demo: https://boilerplate.bayesian-labs.com GitHub: https://github.com/anoopkarnik/saas-forge Docs: https://boilerplate.bayesian-labs.com/landing/doc Demo Video: https://www.youtube.com/watch?v=0zpQTtcsPtk

Happy to answer anything about design decisions, architecture, or roadmap. Would love feedback — what’s missing, broken, or too much?

Please star the repo, if you find usage of this repo.

Similar Projects