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-ko-next-app

v1.0.7

Published

A CLI tool for quickly scaffolding Next.js applications with KO starter template - featuring authentication, theming, and professional UI components.

Downloads

477

Readme

Create KO Next App

🚀 A CLI tool for quickly scaffolding Next.js applications with KO starter template - featuring authentication, theming, and professional UI components.

npm version License: MIT

✨ What You Get

  • 🔐 Complete Authentication System with JWT tokens and session management
  • 🎨 Modern UI Components built with Radix UI and Tailwind CSS
  • 🌈 Multiple Theme Support (light, dark, colored variants)
  • Performance Optimized Next.js 15 with App Router
  • 🛡️ TypeScript with strict configuration
  • 🧪 Testing Setup with Jest and React Testing Library
  • 📱 Responsive Design with professional dashboard layout
  • 🔧 Developer Experience with ESLint, Prettier, and hot reload

🚀 Quick Start

Using npx (Recommended)

npx create-ko-next-app my-awesome-app

Global Installation

npm install -g create-ko-next-app
create-ko-next-app my-awesome-app

Interactive Setup

The CLI will guide you through the setup process:

npx create-ko-next-app
? What is your project name? my-awesome-app
? Choose a template variant: Admin Dashboard (Full featured)
? Select additional features: Error Reporting, Analytics Integration
? API Base URL: https://api.myapp.com

📋 Template Options

🏢 Admin Dashboard (Default)

Full-featured admin dashboard with all components:

  • Collapsible sidebar navigation
  • User management interface
  • Breadcrumb navigation
  • Notification system
  • Complete authentication flow

📱 Simple App

Minimal setup for lightweight applications:

  • Basic authentication
  • Clean, simple layout
  • Essential components only
  • Faster development start

🏢 Enterprise

Security-focused setup for enterprise applications:

  • Enhanced security features
  • OTP authentication support
  • Error reporting enabled
  • Analytics integration
  • Comprehensive monitoring

🎯 Usage Options

Default Setup (Recommended)

npx create-ko-next-app my-app

Skip Interactive Prompts

npx create-ko-next-app my-app --yes

Specify Template

npx create-ko-next-app my-app --template enterprise

🛠️ After Creation

  1. Navigate to your project:

    cd my-awesome-app
  2. Install dependencies:

    npm install
  3. Start development server:

    npm run dev
  4. Follow the setup checklist:

    • Check CHECKLIST.md for configuration steps
    • Review TEMPLATE_SETUP.md for advanced customization
    • Update src/lib/templateConfig.ts for your specific needs

📦 What's Included

Core Features

  • ✅ Next.js 15 with App Router and TypeScript
  • ✅ Tailwind CSS with custom design system
  • ✅ Radix UI components for accessibility
  • ✅ Zustand for state management
  • ✅ TanStack Query for server state
  • ✅ React Hook Form with Zod validation

Authentication & Security

  • ✅ JWT token management with auto-refresh
  • ✅ Session timeout with user warnings
  • ✅ Inactivity detection and auto-logout
  • ✅ Protected routes and auth guards
  • ✅ OTP validation support

UI & Experience

  • ✅ Professional dashboard layout
  • ✅ Dark/light theme switching
  • ✅ Responsive sidebar navigation
  • ✅ Loading states and error boundaries
  • ✅ Toast notifications
  • ✅ Modal dialogs and forms

Developer Tools

  • ✅ TypeScript with strict configuration
  • ✅ ESLint and Prettier setup
  • ✅ Jest testing with coverage reports
  • ✅ Custom hooks for common patterns
  • ✅ Comprehensive documentation

🔧 Customization

After creating your project, customize it by:

  1. Environment Configuration:

    NEXT_PUBLIC_APP_NAME="Your App Name"
    NEXT_PUBLIC_BASE_URL="https://your-api.com"
  2. Template Configuration: Edit src/lib/templateConfig.ts to modify:

    • API endpoints and timeouts
    • Authentication settings
    • Theme preferences
    • Feature flags
  3. Styling:

    • Update src/styles/theme.css for custom colors
    • Modify Tailwind config in tailwind.config.ts

📚 Documentation

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

📄 License

MIT © Kelvin Orhungul


🆚 Comparison with Other Tools

| Feature | create-ko-next-app | create-next-app | create-react-app | | --------------------- | ------------------------ | ----------------- | ----------------- | | Authentication System | ✅ Built-in | ❌ Manual setup | ❌ Manual setup | | UI Components | ✅ Radix UI + Tailwind | ❌ Bring your own | ❌ Bring your own | | Theme System | ✅ Multi-theme support | ❌ Manual setup | ❌ Manual setup | | TypeScript | ✅ Strict config | ✅ Basic setup | ✅ Basic setup | | Testing Setup | ✅ Jest + RTL configured | ❌ Manual setup | ✅ Basic setup | | Dashboard Layout | ✅ Professional ready | ❌ Manual setup | ❌ Manual setup |

🏆 Why Choose KO Next.js Starter?

  • ⚡ Instant Productivity: Start building features immediately, not boilerplate
  • 🔒 Enterprise Ready: Production-grade authentication and security
  • 🎨 Beautiful UI: Professional design system out of the box
  • 📱 Mobile First: Responsive design that works everywhere
  • 🧪 Quality Assured: Comprehensive testing setup included
  • 📚 Well Documented: Extensive guides and examples
  • 🔧 Highly Configurable: Easy to customize for your needs

Happy coding! 🚀