@swoff/assets — Standalone PWA Asset Generator

Generate 31+ PWA Assets
From One SVG

Icons, splash screens, favicons, Apple touch icons, OG images, Microsoft tiles, and a full manifest.json — all from a single source image. No build tool required, no service worker coupling, no framework lock-in.

npx @swoff/assets --source ./logo.svg

Works with SVG, PNG, and JPG sources

What You Get

Everything you need for a production PWA — platform-ready, right out of the box.

PWA Icons

Generate 64×64, 192×192, and 512×512 icons plus maskable variants with a 80% safe-zone crop.

Dark Mode Icons

Optional dark theme icon set with prefers-color-scheme media queries. Light and dark variants from a single source.

Apple Splash Screens

Seven device-specific launch screen sizes (640×1136 through 2048×2732) — one for every iPhone and iPad resolution Apple ships.

Microsoft Tiles

browserconfig.xml + tile images for pinning to the Windows taskbar. Pin your PWA like a native app.

OG & Favicon

1200×630 social share image, multi-resolution favicon.ico (16+32+48), SVG favicon, and Apple Touch Icon (180×180).

manifest.json

Full Web App Manifest with icons, screenshots (narrow + wide), shortcuts, theme color, and background color — ready to deploy.

HTML Head Tags

A ready-to-copy swoff-head-tags.html file with all <link> and <meta> tags. Paste straight into your document <head>.

Standalone CLI

No build tool, no framework, no service worker dependency. Works with any stack — Jamstack, MPA, SPA, static site, or plain HTML.

Generated Files

All placed in your output directory — ready to deploy.

FileSize
icon-64.png64×64
icon-192.png192×192
icon-512.png512×512
maskable-icon-96.png96×96
maskable-icon-192.png192×192
maskable-icon-512.png512×512
apple-touch-icon.png180×180
favicon.ico16+32+48
favicon.svgSVG
og-image.png1200×630
splash-*.png7 sizes
manifest.json
swoff-head-tags.html

How It Compares

The only standalone PWA asset generator — no build tool required.

Feature@swoff/assets@vite-pwa/assets-generatorPWABuilderWorkbox CLI
Standalone CLI (no build tool)
Dark mode icons
Monochrome icons
Microsoft Tile icons + XML
Apple splash screens (7 sizes)
manifest.json generation
Head tag HTML output

Ready to generate?

One command. One source file. 31+ production-ready assets.

npx @swoff/assets --source ./logo.svg