Open-source PWA libraries and tools on GitHub

The libraries worth using, and when to use each one.

Every project here is open source and on GitHub. For each one we explain what it does, when to use it, how to install it, and what to use instead. Status notes say when a project is no longer actively maintained. The same list is available as JSON for scripts and AI assistants.

Picks marked with a star are where we would start.

57 projects

Service workers ★ Serwist serwist/serwist A modern fork of Workbox, started because Workbox development had slowed. One serwist package with ES modules and TypeScript, plus maintained integrations for Next.js, Vite, SvelteKit and webpack. TypeScript Service workers ★ Workbox GoogleChrome/workbox A set of libraries for service workers: precaching with revision hashes, routing, caching strategies, expiration, background sync and a window helper for updates. Many build tools and frameworks use it underneath. JavaScript Service workers Comlink GoogleChromeLabs/comlink Makes Web Workers feel like local objects by turning postMessage into simple function calls. Keeps heavy work off the main thread. TypeScript Service workers Quicklink GoogleChromeLabs/quicklink Prefetches links as they scroll into view while the browser is idle, so the next page loads almost instantly. Works well alongside a service worker cache. JavaScript Framework plugins ★ vite-plugin-pwa vite-pwa/vite-plugin-pwa Zero-config PWA support for Vite: generates the manifest and a Workbox service worker with your build files precached, with update hooks for React, Vue, Svelte, Solid, Preact and Lit. TypeScript Framework plugins @angular/pwa and @angular/service-worker angular/angular Angular's own service worker, configured with ngsw-config.json, plus the @angular/pwa schematic that adds the manifest and icons. SwUpdate and SwPush handle updates and web push. TypeScript Framework plugins @vite-pwa/astro vite-pwa/astro The vite-plugin-pwa integration for Astro sites. TypeScript Framework plugins @vite-pwa/nuxt vite-pwa/nuxt The vite-plugin-pwa module for Nuxt, with a manifest component and a $pwa helper for updates and install prompts. TypeScript Framework plugins @vite-pwa/sveltekit vite-pwa/sveltekit The vite-plugin-pwa integration for SvelteKit, adding generated precache manifests and update prompts to SvelteKit's own service worker support. TypeScript Framework plugins Docusaurus PWA plugin facebook/docusaurus @docusaurus/plugin-pwa makes a Docusaurus documentation site installable and readable offline, with configurable activation strategies. TypeScript Framework plugins next-pwa (legacy) shadowwalker/next-pwa The original Workbox-based PWA plugin for Next.js. Widely used in older tutorials. JavaScript · legacy Framework plugins PWA for WordPress GoogleChromeLabs/pwa-wp The WordPress feature plugin that adds a web app manifest, a service worker API for themes and plugins, and offline templates. PHP Install and UI ★ pwa-install khmyznikov/pwa-install A web component with polished install dialogs: uses beforeinstallprompt in Chromium browsers, shows app gallery screenshots from your manifest, and gives step-by-step instructions on iOS, iPadOS and macOS Safari. TypeScript Install and UI PWA Elements ionic-team/pwa-elements Web UI for features that need it in the browser, such as the camera and toast, used by Capacitor plugins when your app runs as a PWA. TypeScript Install and UI PWACompat GoogleChromeLabs/pwacompat Reads your web app manifest and adds the matching legacy meta tags and icons for browsers that do not read manifests fully, especially older iOS versions. JavaScript Packaging and stores ★ Bubblewrap GoogleChromeLabs/bubblewrap A command-line tool that generates, builds and signs an Android app that opens your PWA in a Trusted Web Activity, ready for Google Play. TypeScript Packaging and stores ★ Capacitor ionic-team/capacitor Runs your web app inside native iOS and Android apps, with plugins for push, camera, files, haptics and more. The same code still deploys as a PWA. TypeScript Packaging and stores ★ PWABuilder pwa-builder/PWABuilder Checks your PWA and packages it for the Microsoft Store, Google Play, the Meta Quest store and iOS. The monorepo also includes the PWA Starter template and web components such as pwa-update and pwa-auth. TypeScript Packaging and stores Android Browser Helper GoogleChrome/android-browser-helper The Android library behind Trusted Web Activities, with demos for notifications delegation, Play Billing, location delegation and more. Java Packaging and stores Tauri (alternative) tauri-apps/tauri Builds small desktop and mobile apps with a web frontend and a Rust backend, using the system webview. Not a PWA, but a common alternative when you need deep OS access. Rust Icons and images ★ PWA Asset Generator elegantapp/pwa-asset-generator Generates PWA icons, iOS splash screens, favicons and Windows tiles from one image using a headless browser, and can update your manifest and HTML automatically. TypeScript Icons and images @vite-pwa/assets-generator vite-pwa/assets-generator Generates icons, maskable icons, Apple touch icons and favicons from one image, with presets that match vite-plugin-pwa. TypeScript Icons and images favicons itgalaxy/favicons A Node module that generates favicons, app icons and a manifest from one image for every platform. TypeScript Icons and images Maskable.app NotWoods/maskable An editor and previewer for maskable icons, showing your icon in every shape launchers use. The site is itself an installable PWA. TypeScript Icons and images sharp lovell/sharp Very fast Node.js image processing (resize, convert, compress) built on libvips. Ideal for icon and screenshot pipelines. JavaScript Icons and images Squoosh GoogleChromeLabs/squoosh An image compression web app (and PWA) that converts and resizes images to WebP, AVIF, MozJPEG and more, all in the browser with WebAssembly. TypeScript Icons and images SVGO svg/svgo Optimises SVG files by removing editor metadata and simplifying paths, often halving their size. JavaScript Push notifications ★ web-push (Node.js) web-push-libs/web-push Sends Web Push messages from Node.js: VAPID signing, payload encryption and a CLI to generate VAPID keys. JavaScript Push notifications ntfy binwiederhier/ntfy A self-hostable notification service with an installable web app that receives notifications through Web Push. A good example of push in a real PWA. Go Push notifications pywebpush web-push-libs/pywebpush Sends Web Push messages from Python with VAPID support. Python Push notifications web-push-csharp web-push-libs/web-push-csharp Sends Web Push notifications from .NET. C# Push notifications WebPush for PHP web-push-libs/web-push-php Sends Web Push notifications from PHP with VAPID and payload encryption, including batch sending. PHP Push notifications webpush-go SherClockHolmes/webpush-go A Go library for sending Web Push messages with VAPID. Go Push notifications webpush-java web-push-libs/webpush-java A Java library for sending Web Push messages with VAPID. Java Offline data ★ Dexie.js dexie/Dexie.js A friendly IndexedDB library with a clear query API, live queries for React, Vue, Svelte and Angular, and an optional sync service (Dexie Cloud). TypeScript Offline data ★ idb jakearchibald/idb A tiny wrapper that makes IndexedDB use promises, while keeping its full model (stores, indexes, transactions, cursors). TypeScript Offline data Automerge automerge/automerge A CRDT library for local-first apps: JSON-like documents that sync and merge without conflicts. Rust and JavaScript Offline data browser-fs-access GoogleChromeLabs/browser-fs-access Uses the File System Access API where available and falls back to input and download elsewhere, with one API for opening and saving files. JavaScript Offline data idb-keyval jakearchibald/idb-keyval The smallest possible key-value store on top of IndexedDB: get, set, del, keys. TypeScript Offline data localForage localForage/localForage A localStorage-like asynchronous API backed by IndexedDB, with fallbacks. JavaScript Offline data PouchDB pouchdb/pouchdb A JavaScript database that stores data in the browser and syncs with CouchDB-compatible servers, designed for offline-first apps. JavaScript Offline data RxDB pubkey/rxdb A reactive, offline-first database for JavaScript apps with replication plugins for HTTP, GraphQL, CouchDB, Firestore and more. TypeScript Offline data SQLite Wasm sqlite/sqlite-wasm The official SQLite build for browsers, packaged for npm, able to persist databases in the Origin Private File System. JavaScript Offline data Yjs yjs/yjs A CRDT framework for shared data that merges changes automatically, powering collaborative and offline-capable editors. JavaScript Testing and performance ★ Lighthouse GoogleChrome/lighthouse Audits performance, accessibility, best practices and SEO, in DevTools, from the command line or in Node. Its PWA category was removed in Lighthouse 12. JavaScript Testing and performance ★ Playwright microsoft/playwright End-to-end testing across Chromium, Firefox and WebKit, with support for service workers, offline mode and mobile emulation. TypeScript Testing and performance Lighthouse CI GoogleChrome/lighthouse-ci Runs Lighthouse on every commit and fails the build when budgets are missed, with a server to track results over time. JavaScript Testing and performance Mock Service Worker mswjs/msw Mocks APIs by intercepting requests with a service worker in the browser (and at the network level in Node), for tests and development. TypeScript Testing and performance Puppeteer puppeteer/puppeteer A Node library to control Chrome and Firefox, useful for scripted checks, screenshots for your manifest and service worker tests. TypeScript Testing and performance web-vitals GoogleChrome/web-vitals A tiny library that measures LCP, INP, CLS, FCP and TTFB from real users the same way Chrome does. JavaScript Starters and UI kits Framework7 framework7io/framework7 A UI framework for mobile web apps and PWAs with native-looking iOS and Material Design components. JavaScript Starters and UI kits Ionic Framework ionic-team/ionic-framework Mobile UI components for Angular, React and Vue that adapt to iOS and Android styles, designed to ship as a PWA and as native apps with Capacitor. TypeScript Starters and UI kits Magento PWA Studio magento/pwa-studio Tools and a reference storefront for building PWA storefronts on Adobe Commerce and Magento Open Source. JavaScript Starters and UI kits PWA Starter pwa-builder/pwa-starter An opinionated starter for new PWAs with Lit web components, Vite, a Workbox service worker, a manifest and routing set up. TypeScript Starters and UI kits Quasar quasarframework/quasar A Vue framework that builds the same app as a website, PWA, mobile app (Capacitor or Cordova) or desktop app, with a built-in PWA mode. JavaScript Learning Awesome PWA hemanth/awesome-pwa A long-running curated list of PWA articles, tools, libraries and examples. Markdown Learning MDN PWA examples mdn/pwa-examples Small, readable PWA examples that accompany MDN's Progressive Web Apps documentation. JavaScript