Build your repo.
Preview it before you pay.
Start from a preset, swap any provider, and watch the app change. Your choices are saved in the link, so you can share them.
Presets
Configure
AI SaaS defaults are set. Open a row to change a provider.
Preview
Sample data. The generated app starts with your own. Providers in this preview: PostgreSQL, Resend, Stripe, Cloudflare R2.
Install
AI SaaS preset, 6 modules. Every choice above is saved in one config ID.
1. Get your repo
2. Set up modules
- PostgreSQL
- Resend
- Users
- Stripe
- Cloudflare R2
- Vercel AI SDK
The repo you download.
Nothing you didn't pick.
Every choice is recorded in .tailar.json. The CLI reads it when you add a module or sync one later, and the agent files follow your stack.
- app/
- (auth)/login, signup, reset password
- (protected)/home, settings
- chat/AI chat
- files/file browser
- choose-plan/plans and checkout
- api/
- auth/Better-auth
- stripe/webhook/billing webhook
- chat/streaming route
- storage/files/presigned uploads
- components/
- ui/shadcn components
- auth/
- payments/
- storage/
- ai/
- emails/
- lib/
- db/Prisma client
- auth/sessions, actions
- emails/templates, provider
- payments/billing provider seam
- storage/provider seam, scopes
- ai/model, guard, threads
- prisma/schema and seed
- i18n/next-intl
- messages/en, es, fr
- tests/Vitest, Playwright
- .cursor/rules/rules for Cursor
- .tailar/agent/one guide per module
- AGENTS.mdfor your coding agent
- CLAUDE.md
- SETUP.mdenv variables, step by step
- .tailar.jsonyour choices
{
"name": "my-app",
"preset": "saas-ai",
"modules": [
"database",
"email",
"auth",
"payments",
"storage",
"ai"
],
"providers": {
"authProvider": "better-auth",
"database": "postgres",
"email": "resend",
"authStructure": "user-based",
"payments": "stripe",
"storage": "r2"
}
}The choices as the CLI records them. The file also lists what was installed.
$ npx tailar@latest init --recipe saas-ai-xxxxxFour starting points.
Change whatever you need.
A preset sets the defaults. Add or remove modules in the builder; only what a preset's app shell depends on stays on.
| SaaSSign-in, billing, settings. | AI SaaSStreaming chat with file attachments. | Marketing siteHome page from hero and logo blocks. | CustomCore Next.js, add as you go. | |
|---|---|---|---|---|
| Sign in | Usersalways on | Usersalways on | Optional | Optional |
| Database | PostgreSQLalways on | PostgreSQLalways on | Optional | Optional |
| Payments | Stripe | Stripe | Optional | Optional |
| Emails | Resendalways on | Resendalways on | Optional | Optional |
| File storage | Optional | Cloudflare R2 | Optional | Optional |
| AI chat | Optional | Vercel AI SDKalways on | Optional | Optional |
| Home page | App shell, session redirect | App shell, session redirect | Hero and logo blocks | Base page |
| Agent files | AGENTS.md, CLAUDE.md, rules | AGENTS.md, CLAUDE.md, rules | AGENTS.md, CLAUDE.md, rules | AGENTS.md, CLAUDE.md, rules |
About the builder.
Short answers.
No. The builder and the preview are free and use sample data. You add keys to your .env after you download the repo; SETUP.md lists the ones your modules need and where to get them.
Your preset, modules and providers, the same things .tailar.json records. No keys, no secrets. The ID is those choices written as a short code, nothing is stored on our side, and the CLI reads it with npx tailar@latest init --recipe <id>.
A current Node.js LTS. The generated app runs Next.js 16 with Prisma.
Yes. Billing and storage are built behind a provider seam and every module ships a guide for your coding agent in .tailar/agent, so adding or swapping a provider is a contained change.
Yes. Custom gives you the base app with shared UI and i18n. Add a module later with npx tailar add, for example npx tailar add auth, and run npx tailar sync when a module changes what another one generates.
Nothing is generated. You can email yourself the config and come back to it from the link.
