# CLI Monorepo URL: /docs/picking-a-template/cli-monorepo CLI boilerplate to be deployed to Vercel and npm. For developers building a CLI product. ## Project structure Click through the file tree to see the full product structure. ## Tech Stack * Framework: * Web: [Next.js](https://nextjs.org) v15 with App Router * CLI: [Pastel](https://github.com/vadimdemedes/pastel) * Language: [TypeScript](https://www.typescriptlang.org/) with strict mode * Build system: [Turborepo](https://turborepo.com) * Styling: [TailwindCSS](https://tailwindcss.com/) v4 + [shadcn/ui](https://ui.shadcn.com/) * Database: [NeonDB](https://neon.com/) (PostgreSQL) + [Drizzle ORM](https://orm.drizzle.team/) * Auth: [Lucia](https://lucia-auth.com/) + GitHub OAuth * Payments: [Stripe](https://stripe.com/) * AI: [OpenRouter](https://openrouter.ai/) + [AI SDK](https://ai-sdk.dev/) * Deployment: * Web: [Vercel](https://vercel.com/) * CLI: [npm](https://npmjs.com/) + [Changesets](https://github.com/changesets/changesets) * DNS: [Cloudflare DNS](https://www.cloudflare.com/application-services/products/dns/) ## SEO * Includes all important SEO tags * Generate OG images via [@vercel/og](https://vercel.com/docs/og-image-generation) * Typesafe JSON-LD rich snippet component * Automatic sitemap generation ## Database * Powered-by [NeonDB](https://neon.com/) (PostgreSQL) and [Drizzle ORM](https://orm.drizzle.team/) * Commands to generate and apply migrations to local, staging or production databases * [Docker](https://www.docker.com/) to set-up Postgres locally * Guides on setting up NeonDB, local Postgres and migrations ## Styling * Powered-by [TailwindCSS](https://tailwindcss.com) and [shadcn/ui](https://ui.shadcn.com) * Swappable themes via shadcn themes * Automatic light/dark mode * Includes many custom components to support current features ## Auth * Powered-by [Lucia](https://lucia-auth.com) * GitHub OAuth included (for web and CLI) * Authenticated CLI commands ## Payment * Powered-by [Stripe](https://stripe.com) * One-time payments * e.g. [TailwindCSS Plus](https://tailwindcss.com/plus#pricing)'s components and templates * Download past invoices * Webhooks to handle stripe real-time events * Guides on setting up Stripe and reducing fraud * Guides on setting up [Cloudflare Tunnel](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks) for webhook testing * Guides on paywalling CLI commands ## Email * Guides on setting up [Cloudflare Email Routing](https://www.cloudflare.com/developer-platform/products/email-routing) to send & receive emails from custom domains via Gmail ## AI * Powered-by [OpenRouter](https://openrouter.ai/) and [AI SDK](https://ai-sdk.dev/) * Supports hundreds of models via OpenRouter ## Teams management * Includes only user accounts (i.e. no teams and members management) ## Deployment * Powered-by [Vercel](https://vercel.com/), [npm](https://npmjs.com/) and [Changesets](https://github.com/changesets/changesets) * Guides on setting up your Cloudflare DNS * Guides on setting up automated deployments for your CLI to [npm](https://npmjs.com/) via [Changesets](https://github.com/changesets/changesets) ## Misc. * ChatGPT prompts for generating Terms of Service and Privacy Policies