Bibliotecas e ferramentas PWA de código aberto no GitHub

As bibliotecas que valem a pena e quando usar cada uma.

Todos os projetos são de código aberto e estão no GitHub. Para cada um explicamos o que faz, quando usar, como instalar e quais são as alternativas. Notas de status avisam quando um projeto não é mais mantido. A mesma lista está disponível em JSON. Os marcados com estrela são nossa escolha.

57 projetos

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 Plugins para frameworks ★ 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 Plugins para frameworks @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 Plugins para frameworks @vite-pwa/astro vite-pwa/astro The vite-plugin-pwa integration for Astro sites. TypeScript Plugins para frameworks @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 Plugins para frameworks @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 Plugins para frameworks Docusaurus PWA plugin facebook/docusaurus @docusaurus/plugin-pwa makes a Docusaurus documentation site installable and readable offline, with configurable activation strategies. TypeScript Plugins para frameworks next-pwa (legacy) shadowwalker/next-pwa The original Workbox-based PWA plugin for Next.js. Widely used in older tutorials. JavaScript · legado Plugins para frameworks 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 Instalação e interface ★ 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 Instalação e interface 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 Instalação e interface 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 Empacotamento e lojas ★ 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 Empacotamento e lojas ★ 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 Empacotamento e lojas ★ 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 Empacotamento e lojas 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 Empacotamento e lojas 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 Ícones e imagens ★ 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 Ícones e imagens @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 Ícones e imagens favicons itgalaxy/favicons A Node module that generates favicons, app icons and a manifest from one image for every platform. TypeScript Ícones e imagens 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 Ícones e imagens sharp lovell/sharp Very fast Node.js image processing (resize, convert, compress) built on libvips. Ideal for icon and screenshot pipelines. JavaScript Ícones e imagens 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 Ícones e imagens SVGO svg/svgo Optimises SVG files by removing editor metadata and simplifying paths, often halving their size. JavaScript Notificações push ★ 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 Notificações push 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 Notificações push pywebpush web-push-libs/pywebpush Sends Web Push messages from Python with VAPID support. Python Notificações push web-push-csharp web-push-libs/web-push-csharp Sends Web Push notifications from .NET. C# Notificações push WebPush for PHP web-push-libs/web-push-php Sends Web Push notifications from PHP with VAPID and payload encryption, including batch sending. PHP Notificações push webpush-go SherClockHolmes/webpush-go A Go library for sending Web Push messages with VAPID. Go Notificações push webpush-java web-push-libs/webpush-java A Java library for sending Web Push messages with VAPID. Java Dados offline ★ 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 Dados offline ★ idb jakearchibald/idb A tiny wrapper that makes IndexedDB use promises, while keeping its full model (stores, indexes, transactions, cursors). TypeScript Dados offline Automerge automerge/automerge A CRDT library for local-first apps: JSON-like documents that sync and merge without conflicts. Rust and JavaScript Dados offline 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 Dados offline idb-keyval jakearchibald/idb-keyval The smallest possible key-value store on top of IndexedDB: get, set, del, keys. TypeScript Dados offline localForage localForage/localForage A localStorage-like asynchronous API backed by IndexedDB, with fallbacks. JavaScript Dados offline PouchDB pouchdb/pouchdb A JavaScript database that stores data in the browser and syncs with CouchDB-compatible servers, designed for offline-first apps. JavaScript Dados offline RxDB pubkey/rxdb A reactive, offline-first database for JavaScript apps with replication plugins for HTTP, GraphQL, CouchDB, Firestore and more. TypeScript Dados offline 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 Dados offline Yjs yjs/yjs A CRDT framework for shared data that merges changes automatically, powering collaborative and offline-capable editors. JavaScript Testes e desempenho ★ 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 Testes e desempenho ★ Playwright microsoft/playwright End-to-end testing across Chromium, Firefox and WebKit, with support for service workers, offline mode and mobile emulation. TypeScript Testes e desempenho 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 Testes e desempenho 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 Testes e desempenho Puppeteer puppeteer/puppeteer A Node library to control Chrome and Firefox, useful for scripted checks, screenshots for your manifest and service worker tests. TypeScript Testes e desempenho 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 Modelos e kits de UI Framework7 framework7io/framework7 A UI framework for mobile web apps and PWAs with native-looking iOS and Material Design components. JavaScript Modelos e kits de UI 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 Modelos e kits de UI Magento PWA Studio magento/pwa-studio Tools and a reference storefront for building PWA storefronts on Adobe Commerce and Magento Open Source. JavaScript Modelos e kits de UI 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 Modelos e kits de UI 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 Aprendizado Awesome PWA hemanth/awesome-pwa A long-running curated list of PWA articles, tools, libraries and examples. Markdown Aprendizado MDN PWA examples mdn/pwa-examples Small, readable PWA examples that accompany MDN's Progressive Web Apps documentation. JavaScript