New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

create-blu-app

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-blu-app

Scaffold a new project with the Blu Stack: Next.js, shadcn, Tailwind CSS, Supabase, TanStack Query, React Hook Form, Zod, React Email, and Resend

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

create-blu-app

npm version npm downloads license

Scaffold a new project with the Blu Stack — a curated, opinionated set of tools for building modern full-stack apps with Next.js.

Quickstart

# npm
npx create-blu-app@latest

# pnpm
pnpm create blu-app

# yarn
yarn create blu-app

# bun
bunx create-blu-app

Or pass a project name directly:

npx create-blu-app@latest my-app

Use --default to skip prompts and include all features:

npx create-blu-app@latest my-app --default

What's Included

Every project starts with Next.js 16, TypeScript, Tailwind CSS, and Turbopack. On top of that, you choose which features to add:

  • shadcn/ui — All components installed and ready to use. Beautiful, accessible, and fully customizable.
  • Supabase — Pre-configured client, server, and proxy helpers for auth with automatic session refresh. Includes example auth pages (login, sign-up, forgot/update password) when paired with shadcn/ui.
  • TanStack Query — Async state management with a provider, singleton QueryClient, and devtools.
  • React Hook Form + Zod — Type-safe form validation with Zod v4 schema integration.
  • React Email + Resend — A starter email template and server action for sending transactional emails.
  • ESLint + Prettier — Linting with eslint-config-prettier and formatting with prettier-plugin-tailwindcss.
  • React Compiler — Automatic memoization via babel-plugin-react-compiler (off by default, experimental).

All features except React Compiler are selected by default in the interactive prompt. Deselect any you don't need.

Options

FlagDescription
--defaultUse all default features without prompting
--use-npmUse npm as the package manager
--use-yarnUse yarn as the package manager
--use-pnpmUse pnpm as the package manager
--use-bunUse bun as the package manager
--dry-runShow what would be generated without writing any files
--no-gitSkip git init and initial commit

When no package manager flag is passed, the CLI auto-detects which one you used to run the command.

Generated Project Structure

Structure shown with all features selected. Files are only generated for the features you choose.

my-app/
├── src/
│   ├── actions/
│   │   ├── auth.ts                  # Server actions (login, signup, forgot/update password, logout)
│   │   └── send-email.ts           # Server action for sending emails
│   ├── app/
│   │   ├── auth/
│   │   │   ├── login/page.tsx       # Login (email + password)
│   │   │   ├── sign-up/page.tsx     # Register (name, email, password, confirm)
│   │   │   ├── sign-up-success/page.tsx
│   │   │   ├── forgot-password/page.tsx
│   │   │   ├── update-password/page.tsx
│   │   │   ├── confirm/route.ts     # Email confirmation handler
│   │   │   └── error/page.tsx
│   │   ├── layout.tsx              # Root layout with providers
│   │   └── page.tsx
│   ├── components/
│   │   ├── logout-button.tsx        # Sign-out button component
│   │   └── ui/                     # shadcn/ui components
│   ├── lib/
│   │   ├── schemas.ts               # Zod schemas (login, signup)
│   │   └── supabase/
│   │       ├── client.ts            # Browser client
│   │       ├── server.ts            # Server client
│   │       ├── proxy.ts             # Session refresh helper
│   │       └── hooks.ts             # TanStack Query hooks (useUser)
│   ├── providers/
│   │   ├── get-query-client.ts     # QueryClient singleton
│   │   └── query-provider.tsx      # TanStack Query provider
│   └── proxy.ts                    # Next.js proxy (middleware)
├── emails/
│   └── welcome.tsx                 # Starter email template
├── .env.local.example              # Environment variables template
├── .prettierrc
└── eslint.config.mjs

Requirements

  • Node.js 20.9 or later

License

MIT

Keywords

create-blu-app

FAQs

Package last updated on 24 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts