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

styledgenie

v1.0.2

Published

AI-Powered Shopify Fashion App MVP

Readme

StyledGenie - AI-Powered Shopify Fashion App

An MVP Shopify app that uses AI to recommend complete outfits via a storefront chatbot and merchant dashboard.

Project Structure

styledgenie/
├── apps/
│   ├── backend/          # Node.js + Express API server
│   ├── dashboard/        # React + Polaris merchant dashboard (Shopify embedded)
│   └── widget/           # React chat widget (injected into storefront)
├── packages/
│   └── shared/           # Shared types, utilities, constants
├── infra/                # AWS / Docker / deployment config
├── .env.example
├── .gitignore
├── package.json          # Root workspace package.json
└── README.md

Quick Start

Prerequisites

  • Node.js 18+
  • PostgreSQL 14+
  • pgvector extension
  • Docker & docker-compose (optional)

Setup

  1. Install dependencies

    npm install
  2. Copy environment files

    cp .env.example apps/backend/.env
    cp .env.example apps/dashboard/.env
    cp .env.example apps/widget/.env
  3. Start PostgreSQL (with docker-compose)

    docker-compose up postgres -d
  4. Run database migrations

    npm run migrate
  5. Start development servers

    npm run dev

Architecture

Backend (apps/backend)

  • Express.js API server
  • Shopify OAuth integration
  • Product sync with OpenAI embeddings
  • Chat API with RAG (Retrieval Augmented Generation)
  • Analytics tracking
  • Webhook handling

Dashboard (apps/dashboard)

  • React + Polaris UI
  • Shopify App Bridge integration
  • Analytics visualization
  • Product sync management
  • Merchant rules/FAQs editor
  • Chat logs viewer

Widget (apps/widget)

  • React chat widget (IIFE bundle)
  • Auto-injected via Shopify script tag
  • Image upload support
  • Floating button UI
  • Session persistence

Key Features

AI-Powered Outfit Recommendations

  • Multi-product outfit suggestions
  • Image recognition for style matching
  • Context-aware styling tips

📊 Merchant Dashboard

  • Real-time analytics
  • Customer chat logs
  • Product sync status
  • Custom style rules & FAQs

🛍️ Widget

  • Embedded storefront chatbot
  • Image upload for style analysis
  • Product recommendations with images
  • Session persistence

Technology Stack

  • Backend: Node.js, Express, PostgreSQL, pgvector
  • Frontend: React, Polaris (Shopify design system)
  • AI: OpenAI (embeddings, GPT-4, GPT-4o)
  • Deployment: Docker, AWS (ECS, RDS, S3)

Deployment

See infra/ for AWS deployment configs (ECS, RDS, S3).

Development Milestones

See the mission specification for detailed milestone checklist and security requirements.