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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-rdp-app

v1.1.1

Published

A powerful CLI tool to create Next.js projects with shadcn/ui, NextAuth.js, Turbopack and more

Readme

🚀 RDP CLI

A powerful CLI tool to quickly scaffold Next.js projects with popular features like shadcn/ui, NextAuth.js, and Turbopack. Built with TypeScript and designed to work seamlessly with Next.js 15 and Tailwind CSS v4.

✨ Features

  • 🎯 Interactive Setup - Uses the official create-next-app for base project creation
  • 🎨 shadcn/ui Integration - Automatically sets up shadcn/ui with Tailwind CSS v4 compatibility
  • 🔐 NextAuth.js Support - Optional authentication setup with popular providers
  • Turbopack Ready - Optional Turbopack support for faster development
  • 📦 Multi Package Manager - Supports npm, yarn, pnpm, and bun
  • 🔧 Smart Detection - Automatically detects project structure and adapts configuration
  • 🌟 Modern Stack - Full TypeScript support and Next.js 15 compatibility

🚀 Quick Start

Usage

npx create-rdp-app

Global Installation (Optional)

npm install -g create-rdp-app
create-rdp-app

📋 What It Does

  1. 🎯 Project Setup - Asks for basic project configuration
  2. 🛠️ Next.js Creation - Uses official create-next-app with your preferences
  3. 🔍 Smart Detection - Analyzes the created project structure
  4. 🎨 Feature Installation - Adds requested features like shadcn/ui and NextAuth.js
  5. ✅ Ready to Go - Complete setup with all dependencies installed

🎨 Supported Features

Core Configuration

  • ✅ TypeScript / JavaScript
  • ✅ ESLint
  • ✅ Tailwind CSS (v3 & v4 compatible)
  • ✅ src/ directory structure
  • ✅ App Router / Pages Router
  • ✅ Custom import aliases
  • ✅ Multiple package managers

Optional Additions

  • 🎨 shadcn/ui - Beautiful UI components (requires Tailwind CSS)
  • 🔐 NextAuth.js - Complete authentication solution
  • Turbopack - Next.js 14+ fast refresh and bundling

🔧 Requirements

  • Node.js 16.0.0 or higher
  • Package Manager - npm, yarn, pnpm, or bun

📚 Example Usage

$ npx create-rdp-app

🚀 Next.js Project Generator

This tool will first create a Next.js project using the official installer,
then add optional features like shadcn/ui and NextAuth.js.

? What is your project name? my-awesome-app
? Which package manager would you like to use? yarn
? Do you want to add shadcn/ui after project creation? Yes
? Do you want to add NextAuth.js after project creation? No
? Do you want to use Turbopack for faster development? Yes

🚀 Creating Next.js app using create-next-app...
# ... Next.js installation questions ...

🔍 Detected project structure:
  • TypeScript: ✅
  • Tailwind CSS: ✅ (v4)
  • src/ directory: ✅

🎨 Setting up shadcn/ui...
# ... shadcn/ui configuration ...

✅ Project setup complete!

🎯 Tailwind CSS v4 Compatibility

This tool is specifically designed to work with Next.js 15's default Tailwind CSS v4 setup:

  • ✅ Preserves v4 Configuration - Keeps your postcss.config.mjs with @tailwindcss/postcss
  • ✅ shadcn/ui Compatible - Creates minimal tailwind.config.js only for component generation
  • ✅ Best of Both Worlds - Modern v4 features + beautiful UI components

🛠️ Manual Setup (if needed)

If you prefer to set up features manually:

shadcn/ui Setup

yarn add -D tailwindcss-animate
npx shadcn@latest init
npx shadcn@latest add button card input label

NextAuth.js Setup

yarn add next-auth@beta @auth/prisma-adapter prisma @prisma/client

📁 Project Structure

After running create-rdp-app, your project will have:

my-app/
├── src/
│   ├── app/
│   │   ├── globals.css
│   │   ├── layout.tsx
│   │   └── page.tsx
│   ├── components/
│   │   └── ui/           # shadcn/ui components (if selected)
│   ├── lib/
│   │   ├── utils.ts      # Tailwind utilities
│   │   └── auth.ts       # NextAuth config (if selected)
│   ├── hooks/
│   └── types/
├── components.json       # shadcn/ui config
├── tailwind.config.js    # Minimal config for shadcn/ui
├── postcss.config.mjs    # Tailwind v4 config
└── package.json

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Development Setup

  1. Clone the repository
git clone https://github.com/rdp-datacenter/cli.git create-rdp-app
cd create-rdp-app
  1. Install dependencies
npm install
  1. Build the project
npm run build
  1. Test locally
npm link
create-rdp-app

📄 License

MIT License - see the LICENCE file for details.

🙏 Acknowledgments


Happy coding! 🚀