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

@ai-chat-ui/cli

v0.0.33

Published

CLI for AI Chat UI

Readme

@ai-chat-ui/cli

CLI tool for setting up AI Chat UI projects with shadcn/ui integration.

Installation

You can use the CLI without installation via npx:

npx @ai-chat-ui/cli create my-app
# or
npx @ai-chat-ui/cli init

Or install it globally:

npm install -g @ai-chat-ui/cli
# or
pnpm add -g @ai-chat-ui/cli
# or
yarn global add @ai-chat-ui/cli

Commands

create

Create a new AI Chat UI project with everything pre-configured.

npx @ai-chat-ui/cli create my-app

If you don't provide a project name, you'll be prompted for one:

npx @ai-chat-ui/cli create

This command will:

  1. Prompt for a project name (if not provided)
  2. Create a new Next.js app with the AI Chat UI starter template
  3. Install all required dependencies
  4. Set up Tailwind CSS and shadcn/ui components
  5. Configure everything needed to start building your AI chat interface

What's Included:

  • ✅ Next.js 15 with App Router
  • ✅ TypeScript configured
  • ✅ Tailwind CSS v4
  • ✅ shadcn/ui components pre-installed
  • ✅ AI Chat UI components (@assistant-ui/react)
  • ✅ Example chat interface
  • ✅ API route for chat functionality

Prerequisites:

  • Node.js 18+ installed
  • npm, pnpm, or yarn

init

Initialize shadcn/ui in an existing React project.

npx @ai-chat-ui/cli init

This command will:

  1. Check if you're in a valid project directory (with package.json)
  2. Detect your package manager (npm, pnpm, or yarn)
  3. Check for React in your dependencies
  4. Run shadcn/ui init to set up Tailwind CSS and shadcn/ui components

Prerequisites:

  • A React project (Next.js, Vite, or Create React App)
  • Node.js 18+ installed

Usage Example

# Navigate to your existing React project
cd my-react-app

# Initialize shadcn/ui
npx @ai-chat-ui/cli init

# After initialization, add shadcn/ui components
npx shadcn@latest add button
npx shadcn@latest add dialog
npx shadcn@latest add resizable

What's Next?

After running init, you can:

  • Add shadcn/ui components using npx shadcn@latest add <component-name>
  • Build your AI chat interface with pre-styled components
  • Customize components in the components/ui directory

Learn More

License

MIT