cyberneticlibrary

Scaffold progressive web app

create-pwacommandsetup L21
jorgecensi/jorgecensi.github.io
What it does

Scaffold PWA with manifest, service worker, icons, and HTML integration

Best for

Onboarding new Progressive Web Apps to this Jekyll portfolio without manual manifest/icon boilerplate

Inputs
  • · app name
  • · short name
  • · slug
  • · description
  • · theme color
  • · category
  • · emoji
  • · app content description
Outputs
  • · .html page
  • · -sw.js service worker
  • · -manifest.json
  • · icon-192.png + icon-512.png or .svg
  • · updated apps page card
Requires
  • · Pillow (or SVG fallback)
  • · Bash Python script
  • · Read/Write
Preconditions
  • · Jekyll site structure (img/ directory)
  • · Pillow installed or SVG fallback available
Failure modes
  • · Pillow missing (falls back to SVG)
  • · icon generation fails
  • · manifest scope mismatch
Trust signals
  • · Icon generation from theme color + short name initials
  • · service worker precache strategy
  • · three-phase flow (gather→generate→create)