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

@getaiva/create-app

v0.1.0

Published

CLI to scaffold AIVA-powered subscription commerce apps

Readme

create-aiva-app

npm version License: MIT

Scaffold AIVA-powered subscription commerce apps in seconds.

Create production-ready Next.js PWAs with AIVA MCP pre-configured. Perfect for customer portals, merchant dashboards, and subscription management apps.

Quick Start

npx create-aiva-app my-portal

This creates a new directory called my-portal with everything you need:

  • Next.js 14 with App Router
  • PWA support (installable, offline-capable)
  • AIVA MCP pre-configured
  • Magic link authentication
  • Push notifications ready
  • Tailwind CSS styling
  • CLAUDE.md for AI-assisted development

Usage

Interactive Mode

npx create-aiva-app

You'll be prompted to:

  1. Enter your project name
  2. Choose a template (Customer Portal, Merchant Dashboard, etc.)
  3. Select your vertical (Pet Food, Coffee, Wine, etc.)

Direct Template

# Customer portal with pet food vertical
npx create-aiva-app my-portal --template customer-portal --vertical pet-food

# Merchant dashboard
npx create-aiva-app my-dashboard --template merchant-dashboard

# Generic customer portal
npx create-aiva-app my-app --template customer-portal

Available Templates

| Template | Description | |----------|-------------| | customer-portal | Customer-facing subscription management portal | | merchant-dashboard | Admin dashboard with analytics and operations | | liquid-widgets | Shopify Liquid theme components |

Available Verticals

When using customer-portal, you can specify a vertical for pre-built components:

| Vertical | Description | |----------|-------------| | pet-food | Pet profiles, dietary preferences, breed selector | | coffee | Roast preferences, grind settings, tasting notes | | wine | Wine cellar, ratings, pairing suggestions | | beauty | Skin profile quiz, routine builder | | supplements | Dosage tracking, reminders, wellness goals | | generic | Basic subscription portal (default) |

What's Included

Every project includes:

Project Structure

my-portal/
├── src/
│   ├── app/                    # Next.js App Router
│   │   ├── (auth)/             # Authentication routes
│   │   ├── dashboard/          # Main dashboard
│   │   └── api/                # API routes
│   ├── components/             # React components
│   │   ├── ui/                 # Base UI components
│   │   └── subscription/       # Subscription-specific
│   ├── lib/                    # Utilities
│   │   ├── aiva.ts             # AIVA client
│   │   └── auth.ts             # Auth helpers
│   └── hooks/                  # Custom hooks
├── public/
│   └── manifest.json           # PWA manifest
├── CLAUDE.md                   # AI context file
├── .env.example                # Environment template
└── mcp.json                    # MCP configuration

Key Features

  • PWA Ready: Service worker, manifest, offline support
  • Magic Link Auth: Passwordless authentication flow
  • Push Notifications: Web push with permission UI
  • AIVA Integration: Pre-configured MCP and API client
  • Tailwind Styling: Modern, responsive design
  • TypeScript: Full type safety

AI Development Ready

The CLAUDE.md file contains:

  • Project architecture overview
  • Coding conventions
  • AIVA API patterns
  • Component guidelines
  • Common customization tasks

Open the project in Cursor, Claude Code, or any MCP-compatible tool and start building with AI assistance.

After Creating

  1. Install dependencies:

    cd my-portal
    npm install
  2. Configure environment:

    cp .env.example .env.local
    # Edit .env.local with your AIVA API key
  3. Start development:

    npm run dev
  4. Open in your AI tool (Cursor, Claude Code, etc.) and start customizing!

Configuration

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | AIVA_API_KEY | Yes | Your AIVA API key | | NEXT_PUBLIC_APP_URL | Yes | Your app URL (for auth callbacks) | | SHOPIFY_STORE | No | Shopify store domain (if direct access needed) | | SHOPIFY_ACCESS_TOKEN | No | Shopify Admin API token |

MCP Configuration

The mcp.json file is pre-configured for AIVA MCP. Just add your API key to .env.local.

Customization

Branding

Edit tailwind.config.js to customize colors:

colors: {
  primary: {
    // Your brand colors
  }
}

Vertical-Specific Components

When using a vertical template, you get pre-built components. Customize them in:

  • src/components/profile/ - Customer profile components
  • src/components/subscription/ - Subscription management

Adding Features

Use the prompt library at appspurt.com/prompts for AI-ready prompts to add new features.

Deployment

Vercel (Recommended)

npm install -g vercel
vercel

Other Platforms

The app is a standard Next.js application and deploys to any Node.js host:

  • Netlify
  • Railway
  • Render
  • AWS Amplify

Related Packages

License

MIT - see LICENSE for details.

Support