PWA Asset Generator is a command-line tool that automates the creation of Progressive Web App (PWA) assets. It generates icons, splash screens, favicons, and mstile images, updating manifest.json and index.html files to comply with Web App Manifest specifications and Apple Human Interface guidelines.
Key Features
Generates icons and splash screens with options for icon-only, splash-only, landscape-only, and portrait-only modes.
Automatically updates manifest.json and index.html files with the generated assets.
Scrapes the latest specifications from Apple's Human Interface guidelines to support all recent iOS devices.
Supports offline mode using static specification data when scraping fails.
Utilizes Puppeteer with Chrome as a canvas to render images, allowing for creative customization using HTML and CSS.
Accepts multiple source formats, including local images, HTML files, and remote URLs.
Supports dark mode splash screens on iOS by generating appropriate media attributes.
Uses puppeteer-core to minimize installation size by avoiding redundant Chromium downloads