93 modules · 12 categories
Every feature ships wired, typed, and documented
The full generator catalog. Tick what you need in the builder, get one zip. Plans that unlock these bundles live on the pricing page.
Authentication
13 features
Email/Password Authentication
CoreBetter Auth core: sign-up/sign-in, secure httpOnly session cookies, session management, and the auth HTTP handler.
- Session management
Email Verification
Require users to verify their email address before the account is considered active.
Password Reset / Forgot Password
Secure forgot-password flow with single-use, time-limited reset tokens.
Magic Links / Passwordless
Sign in with a one-time link sent to the email address, no password required.
Social OAuth
Sign in with Google, GitHub, and Apple. Provider config is env-driven, add credentials and it activates.
- GitHub
- Apple
- Extensible provider config
Multi-Factor Authentication (2FA/TOTP)
PopularTOTP-based two-factor authentication with one-time recovery codes for account lockout scenarios.
- TOTP authenticator apps
- Recovery codes
- 2FA challenge on sign-in
Passkeys / WebAuthn
Phishing-resistant sign-in with platform passkeys (Face ID, Touch ID, Windows Hello).
Device Sessions & Remote Logout
Multi-session support: users see every signed-in device and can revoke any of them remotely.
- Active device list
- Remote logout
- Revoke all other sessions
Account Lockout
Rate-limited sign-in with temporary lockout after repeated failed attempts, plus IP throttling.
SSO / SAML / OIDC Readiness
EnterpriseOrganization-scoped SSO with SAML 2.0 and OIDC providers via the Better Auth SSO plugin.
Role-Based Access Control (RBAC)
Admin plugin: user roles, permissions, ban/unban, and server-side role guards.
- Roles & permissions
- Ban/unban users
- Server-side role guards
Recovery Codes
One-time backup codes for account recovery when a 2FA device is unavailable.
Device Sessions & Remote Logout
Per-device session list with remote logout and "log out everywhere else".
Billing & Payments
11 features
Stripe Core + Checkout
CoreStripe client, checkout sessions, customer records, and signature-verified idempotent webhooks.
- Checkout sessions
- Webhooks with signature verification + idempotency
- Customer records
Customer Portal
Stripe-hosted portal for plan changes, payment methods, invoices, and cancellation.
Subscription Lifecycle
Upgrade, downgrade, cancel, pause, resume, plus trials and automatic proration.
- Upgrade/downgrade
- Cancel & pause/resume
- Trials (with/without card)
- Proration handling
Coupons & Promo Codes
Apply Stripe coupons and promotion codes at checkout.
Seat-Based Billing
Per-user pricing with quantity sync: invites add seats, removals release them.
Usage-Based / Metered Billing
Meter credits, tokens, or API calls and report them to Stripe (or invoice manually).
Multi-Item Checkout, Tiers & Add-ons
Multi-line-item checkout with tiered pricing and optional add-ons.
Plan Gating / Entitlements
Map plans to feature entitlements and gate features server-side.
Tax, Invoicing & Multi-Currency
Stripe Tax automatic tax calculation, hosted invoices, and multi-currency prices.
- Stripe Tax
- Invoicing
- Multi-currency support
Alternative Providers (Lemon Squeezy, Paddle, Polar…)
Provider-agnostic billing interface with Stripe implemented and adapters for Lemon Squeezy, Paddle, Polar, Creem, and Dodo.
Lemon Squeezy (Subscriptions + Lifetime)
PopularComplete Lemon Squeezy flow: tiered subscriptions and one-time lifetime purchases, signed webhooks, entitlements, pricing page with plan states, and customer portal.
- Subscriptions + one-time lifetime variants
- Signed webhooks (order + subscription events)
- Entitlements with tier ranking
- Pricing page with current-plan state
- Customer portal redirect
Multi-Tenancy
7 features
Organizations / Teams
PopularCreate, edit, delete, and switch between organization (team/workspace) accounts with settings and avatars.
- Create/edit/delete orgs
- Organization switching
- Org settings & avatars
Member Invitations
Invite members by email or link, assign roles on invite, and manage leave/remove flows.
- Email + link invites
- Role assignment on invite
- Leave/remove member flows
Org Roles & Permissions
Owner, Admin, Member roles plus custom roles with a permission matrix.
Data Isolation
CorePer-user and per-org scoping patterns for every query, the tenancy security backbone.
Ownership Transfer
Transfer organization ownership to another member with confirmation.
Personal + Organization Hybrid
Personal accounts alongside org accounts: users own private data and team data simultaneously.
Per-Organization Billing
Subscriptions owned by organizations instead of individuals, seats and entitlements per org.
Admin
7 features
User Management
Admin user list with search, filtering, and ban/unban (reason + expiration).
- User list, search, filtering
- Ban/unban with reason + expiration
User Impersonation
Admins can sign in as a user for support and debugging, with an audit trail.
Organization Management
Admin view of all organizations with member counts and deletion.
Subscription Admin
Overview of all subscriptions with manual plan overrides for support.
Metrics Dashboard
Admin dashboard: users, active subscriptions, MRR estimate, and churn.
Audit Logs
Append-only audit trail for privileged actions, with an admin viewer.
System Config / Feature Flag Control
Admin-controlled runtime configuration and feature flag overrides.
User Management
6 features
Profile Editing
View and edit display name, bio, and other profile fields.
Avatar Upload
Upload profile avatars through the storage abstraction with signed URLs.
Account Settings
Change email (with re-verification), change password, and manage connected accounts.
- Email change
- Password change
- Connected accounts
Onboarding Checklist
Trackable setup checklist shown to new users until completed.
API Keys
PopularCreate, scope, and revoke API keys. Keys are shown once and stored hashed.
Account Deletion & Data Export
Self-serve account deletion with cascading cleanup, plus GDPR-style data export.
- Account deletion
- GDPR-style data export
Email & Notifications
6 features
Transactional Email
CoreEmailProvider abstraction with Resend implemented and Mailgun/Postmark adapter slots.
- Resend implemented
- Mailgun/Postmark adapter interface
React Email Templates
Typed, themeable email templates (welcome, reset, invite, billing) built with React Email.
DNS Setup Guide (SPF/DKIM/DMARC)
Documentation and checklist for domain authentication so emails land in inboxes.
In-App Notifications
Notification feed stored per user with unread counts and a dropdown UI.
Notification Preferences
Per-user opt-in/out matrix for each notification channel and type.
Email Digests
Periodic summary emails (weekly activity) assembled from user data and sent on a schedule.
Analytics
5 features
Product Analytics Integration
AnalyticsProvider abstraction with PostHog implemented; Mixpanel/Plausible adapter slots.
- PostHog implemented
- Mixpanel/Plausible adapter interface
Internal Dashboards
Sign-ups, active users, and conversion charts from your own database.
Error Tracking
Sentry-style error capture with a provider interface and server/client hooks.
Usage Tracking
Internal usage events per user/metric, feeds metered billing and dashboards.
Health Endpoints
Liveness/readiness endpoints for uptime monitors and orchestrators.
AI & LLM
9 features
AI SDK Integration
PopularVercel AI SDK with AI Gateway, server-only generation, and a typed generation service.
Chatbot with History
Streaming chat UI with persisted conversations and per-user scoping.
Text Generation Actions
Ready-made server actions for summarize, rewrite, and extract with Zod-validated input.
Image Generation
Server-side image generation through the AI Gateway with size/format guards.
Structured / JSON Output
Schema-constrained generation with Zod, typed objects out, never free-text parsing.
Multi-Model Routing & Failover
Route requests across providers with automatic failover and per-task model selection.
AI Token/Credit Metering
Meter AI usage per user and gate on credits, ties AI spend to billing.
RAG / Document Chat Starter
Document ingestion with chunking and embedding-based retrieval scaffolding.
AI Agent Readiness
AGENTS.md, Cursor rules, and MCP server patterns so coding agents work productively in the repo.
Storage & Media
4 features
File Uploads + Storage Abstraction
CoreStorageProvider interface with Vercel Blob implemented and an S3 adapter slot; validated uploads.
- File uploads
- Vercel Blob default
- S3 adapter interface
Secure Signed URLs
Time-limited signed URLs for private files with server-side authorization.
Image Optimization
Resize and convert uploaded images server-side before storage.
Media Library
Per-user file manager: grid view, delete, and copy-URL flows.
Marketing
9 features
Landing Page
PopularHero, features, social proof, and CTA sections with a conversion-focused layout.
Pricing Page
Plan comparison grid wired to your billing plans with a checkout CTA.
Blog / CMS
Markdown-based blog with static generation and a post listing.
SEO & Metadata
Per-page metadata, Open Graph images, sitemap, and robots.txt.
Waitlist / Early Access
Email capture with duplicate-safe storage and a success state.
Testimonials & Social Proof
Testimonial grid component with avatar, quote, and attribution.
Legal Pages
Privacy Policy, Terms of Service, and Cookie Policy pages rendered from markdown.
Changelog
Product changelog rendered from markdown entries with a dated listing.
Dark Mode & Theming
System/light/dark theme toggle with no flash of the wrong theme.
Growth
7 features
Feature Flags
CoreServer-side flag store with typed reads and admin overrides.
Onboarding Flow
Multi-step onboarding wizard with resumable progress.
Referral Program
Unique referral codes per user with attribution on sign-up.
Cancellation Save Flow
Pause/discount offers shown at cancellation to reduce churn.
Lifecycle Emails
Triggered emails for activation milestones, inactivity, and win-back.
In-App Announcements
Dismissible announcement banner driven by the database with a cookie-backed dismiss state.
Feedback & NPS Widget
Floating feedback widget capturing a 0-10 score and comment into the database.
Infrastructure
9 features
Background Jobs / Queues
CoreQueue abstraction with an in-process driver for dev and a Vercel Queues adapter slot.
Scheduled Tasks (Cron)
Vercel Cron wiring with a protected maintenance endpoint pattern.
Rate Limiting
In-memory sliding-window limiter with an Upstash Redis adapter slot for multi-region.
Security Headers
Baseline hardening headers (nosniff, HSTS, referrer policy, permissions policy) in next.config.
Environment Variable Management
Typed env access with startup validation, fail fast on missing config.
Testing Setup
Vitest unit tests and Playwright E2E scaffolding with example specs.
CI/CD Pipeline
GitHub Actions workflow: typecheck, lint, test, and build on every push.
Documentation Structure
docs/ tree with per-feature guides, ADRs, and a README index.
Docker & Local Development
Production Dockerfile (standalone output) and a compose file with Postgres for local development.