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| Rank | Project | Score |
|---|---|---|
| 1 | ant-design-proReact admin dashboard template built on Ant Design 6 and Umi Max | 69 out of 100 |
| 3 | hackathon-starterNode.js and Express boilerplate with auth, API examples and AI samples | 52 out of 100 |
| #4 | open-saasWasp SaaS template with auth, three payment providers, OpenAI demo app | 47 out of 100 |
| #5 | AI-Fullstack-SaaS-BoilerplateFastify, tRPC and React SaaS base with Better Auth and SSE chat | 36 out of 100 |
| #6 | next-ai-starterNext.js 14, tRPC and Prisma starter with LLM SDKs and agent checklists | 28 out of 100 |