# shadowwalker/next-pwa

Zero config PWA plugin for Next.js, with workbox 🧰

Repository: https://github.com/shadowwalker/next-pwa
Canonical: https://ross.abutalabs.com/products/next-pwa
Language: JavaScript
License: MIT
License Family: permissive
Topics: pwa, nextjs, workbox, web, service-worker, website, webapp, cache
Last push: 2024-07-27T00:29:09+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2711, "days_push": 768, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4089, forks 339 (observed 2026-08-28T04:08:34.551395+00:00)

## What it is
A zero-config Next.js plugin that adds Progressive Web App support by generating and registering service workers, powered by Workbox. It provides optimized precaching and runtime caching, offline fallbacks, and configurable Workbox options out of the box.

## Use cases
- add pwa support to a next.js app
- make my next.js website work offline
- generate a service worker for next.js without config
- improve lighthouse pwa score
- cache assets and api responses in next.js
- add offline fallback pages to a webapp

## When to choose
- you use Next.js 9.1+ and want PWA features with minimal setup
- you want Workbox-powered caching without hand-writing service workers
- you need offline support, precaching, and runtime caching quickly

## When to avoid
- you don't use Next.js
- you need fine-grained custom service worker logic beyond Workbox configuration
- you need a plugin under heavy active development with frequent updates

## Facets
- artifact type: plugin
- maturity: maintenance
- function: caching, build-tool, middleware
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: nextjs, pwa, workbox, service-worker, offline-support, webpack-plugin, nodejs, web-server

## Member repositories
- shadowwalker/next-pwa (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:34.551395+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:22.432898+00:00, confidence not recorded.
  - readme: https://github.com/shadowwalker/next-pwa (fetched 2026-08-28T04:08:34.551395+00:00, sha 51b96cd6349a)
  - registry_npm: https://registry.npmjs.org/next-pwa (fetched 2026-08-29T09:15:28.406992+00:00, sha e4deb7ae54cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
