npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wizeworks/create-next-daisy-clerk-stripe-app

v0.6.0

Published

Scaffold a Next.js app with DaisyUI, Clerk, and Stripe subscriptions in minutes.

Readme

create-next-daisy-clerk-stripe-app

CI NPM Version NPM Downloads License: MIT

Scaffold a Next.js app with DaisyUI, Clerk, and Stripe subscriptions in minutes.

A CLI tool that creates a production-ready SaaS starter template with authentication, payments, and beautiful UI components out of the box.

Features

  • Next.js 15 with Turbopack for lightning-fast development
  • 🎨 DaisyUI + Tailwind CSS for beautiful, accessible components
  • 🔐 Clerk Authentication with sign-in/sign-up flows
  • 💳 Stripe Integration for subscriptions and payments
  • 🏢 Organizations Support (optional)
  • 📱 Responsive Design with mobile-first approach
  • 🔧 TypeScript Support (configurable)
  • 📦 Multiple Package Managers (pnpm, npm, yarn)

Quick Start

npx @wizeworks/create-next-daisy-clerk-stripe-app@latest my-saas-app

Or with your preferred package manager:

# Using pnpm
pnpm create @wizeworks/next-daisy-clerk-stripe-app my-saas-app

# Using yarn
yarn create @wizeworks/next-daisy-clerk-stripe-app my-saas-app

Interactive Setup

The CLI will prompt you to configure your app:

  • App directory name: Choose your project name
  • TypeScript: Enable/disable TypeScript support
  • Package manager: Choose between pnpm, npm, or yarn
  • Clerk Organizations: Enable organization features
  • Billing model: Choose between subscriptions or one-time payments

What's Included

📁 Project Structure

my-saas-app/
├── app/
│   ├── (auth)/              # Authentication pages
│   │   ├── sign-in/
│   │   └── sign-up/
│   ├── (marketing)/         # Landing and pricing pages
│   ├── dashboard/           # Protected dashboard
│   └── api/
│       ├── checkout/        # Stripe checkout endpoints
│       └── webhooks/stripe/ # Stripe webhook handler
├── components/
│   ├── billing/             # Stripe components
│   └── ui/                  # Reusable UI components
└── lib/
    ├── auth.ts             # Clerk configuration
    └── stripe.ts           # Stripe configuration

🔧 Pre-configured Services

  • Authentication: Complete sign-in/up flows with Clerk
  • Payments: Stripe Checkout integration with webhook handling
  • UI Components: DaisyUI components with dark mode support
  • Middleware: Route protection and authentication checks

Development Setup

After creating your app:

  1. Install dependencies:

    cd my-saas-app
    pnpm install  # or npm install / yarn install
  2. Set up environment variables:

    cp .env.local.example .env.local

    Fill in your API keys:

  3. Start development server:

    pnpm dev  # or npm run dev / yarn dev
  4. Set up Stripe webhooks (for local development):

    stripe listen --forward-to localhost:3000/api/webhooks/stripe

Environment Variables

Create a .env.local file with the following variables:

# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...

# Stripe
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...

# App Configuration
NEXT_PUBLIC_APP_URL=http://localhost:3000

Deployment

The generated app is ready to deploy to platforms like:

  • Vercel (recommended for Next.js)
  • Netlify
  • Railway
  • Render

Deployment Checklist

  • [ ] Set all environment variables in your hosting platform
  • [ ] Add webhook endpoint URL in Stripe Dashboard
  • [ ] Configure Clerk allowed origins and redirect URLs
  • [ ] Update NEXT_PUBLIC_APP_URL to your production domain

Tech Stack

| Technology | Purpose | |------------|---------| | Next.js 15 | React framework with App Router | | Tailwind CSS | Utility-first CSS framework | | DaisyUI | Tailwind CSS component library | | Clerk | Authentication and user management | | Stripe | Payment processing and subscriptions | | TypeScript | Type safety (optional) |

Development & Deployment

Local Development

  1. Clone the repository:

    git clone https://github.com/wizeworks/create-next-daisy-clerk-stripe-app.git
    cd create-next-daisy-clerk-stripe-app
  2. Install dependencies:

    npm install
  3. Build the package:

    npm run build
  4. Test locally:

    node dist/index.js

Automated Deployment

This package uses GitHub Actions for automated CI/CD:

  • Continuous Integration: Runs on every push and PR to test builds across Node.js versions and operating systems
  • Automated Releases: Use the GitHub Actions "Release" workflow to create new versions
  • NPM Publishing: Automatically publishes to NPM when a GitHub release is created

Creating a Release

  1. Go to GitHub Actions in the repository
  2. Run the "Release" workflow manually with your desired version bump (patch/minor/major)
  3. The workflow will:
    • Bump the version in package.json
    • Update CHANGELOG.md
    • Create a git tag and GitHub release
    • Trigger automatic NPM publishing

Setup Requirements

To enable automated NPM publishing, add the following secret to your GitHub repository:

  • NPM_TOKEN: Your NPM access token with publish permissions

Contributing

Contributions are welcome! Please read our contributing guidelines first.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support


Made with ❤️ by WizeWorks