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

web-template-wizard

v0.1.3

Published

Open-source CLI to generate responsive website templates with CMS, admin dashboard, Firebase, and theme settings.

Readme

Web Template Wizard

Web Template Wizard is an open-source CLI for building responsive website templates with CMS, admin dashboard, Firebase, and theme settings.

npx web-template-wizard create my-website

For local development:

npm run dev -- create my-website

What It Generates

  • Public responsive website
  • Admin login and dashboard
  • CMS-backed content
  • Firebase Auth
  • Firestore
  • Firebase Storage
  • Theme color settings
  • SEO metadata setup
  • Contact form
  • Firestore and Storage rules
  • .env.example
  • Setup README
  • Product search/filter UI for Product Catalog websites
  • Product/category CMS structure for Product Catalog websites

Installation

npm install
npm run build

Local Development

Run the CLI locally with:

npm run dev -- create my-website

Generate a specific template:

npm run dev -- create company-site --app-type company-profile --frontend next --storage firebase-storage
npm run dev -- create catalog-site --app-type product-catalog --frontend next --storage firebase-storage

The generated app then runs with:

cd my-website
npm install
npm run dev

CLI Examples

npm run dev -- create my-website
npm run dev -- create acme-site --app-type company-profile
npm run dev -- create catalog-site --app-type product-catalog --frontend next --storage firebase-storage

The published command target is:

npx web-template-wizard create my-website

Package builds expose the executable as:

web-template-wizard create my-website

Supported App Types

  • Landing Page
  • Company Profile
  • Product Catalog Website

Frontend

  • Next.js App Router: fully supported
  • React.js: planned
  • Nuxt.js: planned

If React.js or Nuxt.js is selected interactively, the CLI explains that it is planned and asks whether to continue with Next.js. In non-interactive/scripted runs, it prints a warning and generates the stable Next.js template instead so automation does not hang.

Storage

  • Firebase Storage: fully supported
  • Bunny.net: planned
  • No Storage: planned

If Bunny.net or No Storage is selected interactively, the CLI explains that it is planned and asks whether to continue with Firebase Storage. In non-interactive/scripted runs, it prints a warning and generates the stable Firebase Storage template instead.

Template Architecture

Web Template Wizard uses a modular template system to avoid a separate full project template for every combination:

Core Engine
+ Frontend Base Template
+ App Type Template
+ CMS Schema
+ Admin Pages
+ Theme Preset
+ Storage Adapter

The generator starts from templates/next/base, merges generated Firebase rules from templates/next/modules/firestore-rules, then overlays one of the supported app types from templates/next/app-types/*.

The base template owns shared Next.js, Firebase client, admin, CMS services, theme, contact, layout, and UI components. App-type templates own public pages, app-specific CMS schema/defaults/forms, sections, and theme presets.

Firestore Structure

siteSettings/
  theme
  seo
  general

cms/
  landingPage
  companyProfile
  productCatalog

products/
  {productId}

categories/
  {categoryId}

messages/
  {messageId}

Security Model

Projects created by the CLI use one role: admin. Public visitors can read published content and submit contact messages. Admin users can write CMS content, manage theme settings, and upload safe images.

Admin access is based on an email allowlist for this release. The project README and security rules explain how to create the first admin safely and how to migrate to custom claims later.

Roadmap

  • Optional Firebase custom claims script
  • Sitemap and robots generation
  • React.js and Nuxt.js frontend adapters
  • Bunny.net and no-storage modes
  • Additional app types through the same modular template boundary

Contributing

Keep changes modular:

  • Shared behavior belongs in the frontend base template or modules.
  • App-specific public UI, CMS schema, default content, and admin form belong in the app type template.
  • Avoid duplicating Firebase, theme, auth, or CRUD logic across app types.
  • Keep generated projects runnable with npm install and npm run dev.