22nd of 7 in SaaS boilerplates

velobase-harness

Next.js AI SaaS base with credits, usage billing, workers and anti-abuse

Stars
607
License
MIT
Last commit
Sep 2026
Last release
Sep 2026
Language
TypeScript

Overview

A Next.js 15 and tRPC application with Prisma on Postgres and BullMQ on Redis that already has accounts, subscriptions, a credit ledger, Stripe and NowPayments, entitlement checks, affiliate accounting, server-side attribution, anti-abuse controls (rate limits, Turnstile, disposable-email checks), lifecycle email, an admin area and a multi-provider AI chat module. One command starts Postgres and Redis in Docker. For builders turning an AI prototype into a paid product.

Who it is for: Builders turning an AI prototype into a paid product

Strengths

  • Credit ledger, usage metering and entitlements are built in, not left to you
  • Anti-abuse for free credits: rate limits, Turnstile, disposable-email checks, clawbacks
  • Runs as one process or split web, worker and API by SERVICE_MODE
  • Docker compose, English and Chinese docs, AGENTS.md and CLAUDE.md

Weaknesses

  • No unit-test script; only service-mode smoke tests
  • Large surface area; the framework guide asks for domain design before coding
  • Payments are Stripe and NowPayments; others need adapters
  • Seed shows 607 stars; young project

What it needs

  • TypeScript, ai-sdk, openai, anthropic, google
  • Needs postgres, redis, docker, stripe, model-api-keys
  • GitHub template
  • Docker
  • env example file
  • sign-in: Auth.js

Also in SaaS boilerplates

See all 7
Also in SaaS boilerplates
RankProjectScore
1ant-design-proReact admin dashboard template built on Ant Design 6 and Umi Max Live demo ↗ (opens in a new tab)38.8k stars, MIT69 out of 100
3hackathon-starterNode.js and Express boilerplate with auth, API examples and AI samples Live demo ↗ (opens in a new tab)35.3k stars, MIT52 out of 100
#4open-saasWasp SaaS template with auth, three payment providers, OpenAI demo app Live demo ↗ (opens in a new tab)16.1k stars, MIT47 out of 100
#5AI-Fullstack-SaaS-BoilerplateFastify, tRPC and React SaaS base with Better Auth and SSE chat Live demo ↗ (opens in a new tab)1.4k stars, MIT36 out of 100
#6next-ai-starterNext.js 14, tRPC and Prisma starter with LLM SDKs and agent checklists511 stars, MIT28 out of 100