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.

.czrc
.eslintrc.js
.node-version
.npmrc
docker-compose.yml
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
README.md
renovate.json
tsconfig.json
turbo.json

Tech Stack

SEO

  • Includes all important SEO tags
  • Generate OG images via @vercel/og
  • Typesafe JSON-LD rich snippet component
  • Automatic sitemap generation

Database

  • Powered-by NeonDB (PostgreSQL) and Drizzle ORM
  • Commands to generate and apply migrations to local, staging or production databases
  • Docker to set-up Postgres locally
  • Guides on setting up NeonDB, local Postgres and migrations

Styling

  • Powered-by TailwindCSS and shadcn/ui
  • Swappable themes via shadcn themes
  • Automatic light/dark mode
  • Includes many custom components to support current features

Auth

  • Powered-by Lucia
  • GitHub OAuth included (for web and CLI)
  • Authenticated CLI commands

Payment

  • Powered-by Stripe
  • One-time payments
  • Download past invoices
  • Webhooks to handle stripe real-time events
  • Guides on setting up Stripe and reducing fraud
  • Guides on setting up Cloudflare Tunnel for webhook testing
  • Guides on paywalling CLI commands

Email

AI

Teams management

  • Includes only user accounts (i.e. no teams and members management)

Deployment

Misc.

  • ChatGPT prompts for generating Terms of Service and Privacy Policies