Frappe

Cloud

Marketplace

PWA Frappe

Frappe

Products

Insights

PWA Frappe
PWA for enabling your applications to be installed and run as native-like apps on both desktop and mobile devices. 🚀

Publisher

Md Omar Faruk

Supported versions

Version 15

Categories

Free
Utility

E-Commerce

About

🌐 PWA Frappe

A Progressive Web App (PWA) implementation for the Frappe Framework, enabling your applications to be installed and run as native-like apps on both desktop and mobile devices. 🚀

✨ Features

  • Progressive Web App Support — Turn your Frappe site into an installable PWA

  • 📱 Cross-Platform Installation — Works on iOS, Android, and Chrome Desktop

  • 🔔 Push Notifications — VAPID-based notifications (📦 Coming Soon!)

  • 💾 Offline-First Architecture — Smart caching via Service Worker

  • 🎨 Customizable Manifest — Icons, colors, display modes & screenshots

  • 🧩 Easy Configuration — Manage everything from simple Frappe DocTypes

⚙️ Configuration

1️⃣ Web App Manifest Setup

Go to Web App Manifest in your Frappe Desk and configure:

  • 🏷️ App Name — Full name of your app

  • 🔤 Short Name — Short display name

  • 🎨 Theme & Background Colors

  • 🧭 Display Modefullscreen, standalone, minimal-ui, or browser

  • 🖼️ Icons — Upload in multiple sizes (192x192, 512x512 recommended)

  • 📸 Screenshots & Categories — For app store appearance

2️⃣ Auto PWA Configuration

Click "Automatically configure PWA" to: - ✅ Add manifest link to Website Settings - ✅ Enable PWA features automatically - ✅ Optionally enable Desk Mode support

3️⃣ Service Worker Setup (Optional)

Visit Service Worker doctype to: - 🔑 Generate VAPID keys (coming soon) - ⚙️ Configure caching and update policies

💡 Usage

🖥️ Desktop (Chrome/Edge)

  1. Visit your site

  2. Click the Install icon in the address bar or select Install [App Name]

📱 Android

  1. Open your site in Chrome

  2. Tap Add to Home Screen when prompted

🍎 iOS (Safari)

  1. Open your site in Safari

  2. Tap Share → Add to Home Screen → Add

Visit /install for a full installation guide.

🧠 Service Worker Caching

Caches: - Static assets (CSS, JS, images) - Frappe core resources - Custom app assets defined in hooks

Old caches are auto-cleared upon activation 🔁

📄 DocTypes

  1. Web App Manifest — Main configuration

  2. Manifest Icon / Screenshot / Category / Related App — Child tables

  3. Service Worker — Caching & notifications config

🧠 Service Worker Extensions

Extend to include custom routes or caching strategies.

🌍 Browser Support

✅ Chrome (Desktop & Mobile) ✅ Safari (iOS 11.3+)

⚠️ Limitations

  • 🚧 Push notifications not yet implemented

  • 🔒 HTTPS required for PWA features

  • 🍎 Limited iOS PWA support

🧰 Troubleshooting

❌ PWA not installing? - Ensure HTTPS is enabled - Verify /manifest.json is reachable - Check Service Worker registration in DevTools

🔁 Service Worker not updating? - Hard refresh (Ctrl+Shift+R) - Clear site data - Update cache version

📜 License

MIT License — see license.txt

📞 Support

For any issues, feature requests, or collaboration:

📧 Email: omfsakib@gmail.com

🌐 Visit: omfsakib.pythonanywhere.com

User Reviews

No reviews yet, be the first to review.

0.0

0 rating

Rate and share your experience

Text

Explore more apps