
ASB PWA Engine
v2.22.5asobit · 2026年11月28日 上架
Turn your WordPress site into an installable Progressive Web App and send web push notifications to your visitors — no third-party service required.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月28日
贡献者
截图





ASB PWA Engine makes your WordPress site installable to the home screen and lets you send web push notifications straight from your dashboard. Configuration and subscription records stay in your WordPress database. There is no separate push-service account to create and no per-notification fee; encrypted notifications are transported by the push service built into each visitor’s browser.
It works across Chrome, Edge, Firefox, and modern iOS/Android browsers, with a guided setup wizard, an install prompt your visitors actually understand, and a ready-made install page you can point a printed QR code at.
Key Features (Free)
- Installable PWA – Web App Manifest and service worker so visitors can add your site to their home screen
- Self-Hosted Web Push – Send notifications from your own server using the VAPID standard (no third-party push service)
- Push on Publish – Notify subscribers when you publish a post, with a per-post switch in the editor sidebar
- Smart Subscribe Prompt – A customizable, non-intrusive prompt that explains the value before asking permission
- iOS Add-to-Home-Screen Guide – Illustrated slides that walk iPhone/iPad users through installing the app, with a separate set for iOS 18 and earlier, iOS 26 and iOS 27+ chosen automatically
- Install Page & QR Code – A ready-made
/apppage that explains the benefits of installing, plus a QR code you can download as a PNG and put on printed material - In-App Content Control – CSS classes that show or hide parts of a page only inside the installed app, plus classes that turn any element into a back, forward, reload or install button
- Delivery Health – See confirmed reach, detect undelivered endpoints, and prune dead subscriptions automatically
- Click Counts – Per-notification click totals and click-through rate in the send history
- Subscriber Metrics – Receive-capable subscribers, confirmed/unconfirmed breakdown, and OS split (admins excluded)
- Service Worker Update Status – See whether visitors’ devices have picked up the current service worker
- Conflict Detection – Warns you when another PWA or push plugin is active, because two service workers break delivery, and lists the files it left behind for you to remove
- Setup Wizard – A short guided flow to configure the essentials in minutes
- Privacy-Friendly – Subscriptions are stored in your own database; no visitor data is sent to us
- Secure – Nonce verification, capability checks, prepared statements, and output escaping throughout
Pro Features
The Pro version adds advanced delivery and engagement tools for businesses:
- Notification bell, inbox and app badge – a floating hub inside the installed app where visitors turn notifications on and off, read past notifications, and see the unread count on the home-screen icon
- Visitor-side test notification (arrives after a 5-second delay so the user can switch to the home screen and see it land)
- Audience targeting (send to logged-in users, specific roles, or specific users, and choose desktop / tablet / mobile per post), with per-post-type defaults
- System Diagnostics – one-click validation of HTTPS, mixed content, database tables/indexes, manifest, service worker, HTML integration, duplicate service workers, VAPID keys and the offline page – plus maintenance tools, subscriber clean-up and CSV export
- Smart retry for unacknowledged notifications, plus an OEM permission guide for aggressive Android battery savers (Xiaomi/OPPO/Huawei/Vivo/Samsung)
- UTM campaign tagging – append UTM parameters to notification links and record the campaign that brought each subscriber
- iOS slide generator (build your own install-guide artwork from your homepage, captured automatically at iPhone size)
- Custom benefit copy and imagery on the
/appinstall page (and a custom target URL for the install banner’s “What is PWA?” link) - Push subscriptions on sites published as static files (ASB Static Publisher). The free version recognises such a site and does not start a subscription there.
- Advanced database optimization
- License management and priority updates
Languages
The plugin is written in English and is ready for translation. Translations are provided through translate.wordpress.org.
Third-Party Libraries (bundled locally, no CDN)
- web-push-php 9.0 by Minishlink (MIT) – VAPID web push delivery, bundled via Composer in
vendor/together with the libraries it needs: web-token/jwt-library (MIT, VAPID signing), spomky-labs/pki-framework and spomky-labs/base64url (MIT), brick/math (MIT), paragonie/constant_time_encoding (MIT), Guzzle (MIT, request and response objects the library is built on; the requests themselves are sent with the WordPress HTTP API — see the FAQ), the PSR HTTP and clock interfaces (MIT) and two Symfony polyfills (MIT). Each one keeps its own licence file. - Font Awesome Free v5.15.4 (Icons CC BY 4.0, Fonts SIL OFL 1.1, Code MIT) – bundled in
assets/lib/fontawesome/ - QRCode.js by davidshimjs (MIT) – install-page QR code, bundled in
assets/js/lib/(unminifiedqrcode.jsincluded)
External Services
Web Push necessarily uses the push service selected by the visitor’s browser. When an administrator sends a notification, the plugin sends the browser-issued endpoint, encrypted notification payload, VAPID authentication data, and normal network metadata such as the sending server’s IP address to that endpoint. Depending on the browser/device, the recipient is typically a service operated by Google, Apple, Mozilla, or Microsoft. This happens only when sending or validating push delivery. Their respective terms and privacy policies apply: Google privacy policy, Apple privacy policy, Mozilla privacy policy, Microsoft privacy statement.
This plugin makes no other outbound request: no license, update, analytics, or tracking calls.
Privacy
Push subscriptions include a browser endpoint, device identifier, device/OS type, timestamps, unread counters, optional campaign parameters, and the WordPress user ID when signed in. WordPress administrators can export or erase data associated with a registered user’s email from Tools > Export Personal Data / Erase Personal Data.
Guest-device records can be removed by an administrator under Dashboard > Delivery & Subscribers, and a record whose browser has withdrawn its permission is removed automatically at the next send.
Delivery logs and per-device receipts follow the configured log-retention period.
Development and Source Code
Human-readable JavaScript source is included under assets/js/ and src/Admin/Editor/. The only compiled file is the block-editor panel: build/editor-free.js is src/Admin/Editor/editor-free.js compiled with @wordpress/scripts (wp-scripts build), and that source file is included in this package. PHP dependencies are declared in the included composer.json and installed with composer install --no-dev --optimize-autoloader.
External Services
Browser push services
Web push delivery inherently goes through the push service built into each subscriber’s browser. When you send a notification (or validate delivery), your server transmits the encrypted message payload and delivery headers to the subscriber’s push endpoint, which is operated by the browser vendor — Google (Chrome and Chromium browsers), Apple (Safari and iOS), Mozilla (Firefox), or Microsoft (Edge). The endpoint URL is issued by the browser itself when the visitor subscribes; the plugin does not choose or operate these services, and no account with them is required.
Privacy policies: https://policies.google.com/privacy , https://www.apple.com/legal/privacy/ , https://www.mozilla.org/privacy/ , https://privacy.microsoft.com/