Simple PWA is a Progressive Web App template that provides the minimum file structure needed to create a PWA. These files collectively represent a reliable and installable web application. It's up to you to add functionality to make it capable.
Simple PWA is "offline-first", using a "cache falling back to the network" caching strategy, which means any files specified in sw.js will be cached, and therefore, accessible offline. Non-cached requests (including non-GET requests, as they cannot be cached), will not be accessible offline, and instead, will ping the network or fail if there is no network available. In sw.js, the value of cacheName should be changed whenever the app is updated in order to force the cache to update from the network.
android-chrome-36x36.pngFavicon, Android Chrome M39+ with 0.75 screen densityandroid-chrome-48x48.pngFavicon, Android Chrome M39+ with 1.0 screen densityandroid-chrome-72x72.pngFavicon, Android Chrome M39+ with 1.5 screen densityandroid-chrome-96x96.pngFavicon, Android Chrome M39+ with 2.0 screen densityandroid-chrome-144x144.pngFavicon, Android Chrome M39+ with 3.0 screen densityandroid-chrome-192x192.pngFavicon, Android Chrome M39+ with 4.0 screen densityandroid-chrome-256x256.pngFavicon, Android Chrome M47+ Splash screen with 1.5 screen densityandroid-chrome-384x384.pngFavicon, Android Chrome M47+ Splash screen with 3.0 screen densityandroid-chrome-512x512.pngFavicon, Android Chrome M47+ Splash screen with 4.0 screen densityapple-touch-icon.pngFavicon, Apple defaultapple-touch-icon-57x57.pngApple iPhone, Non-retina with iOS6 or priorapple-touch-icon-60x60.pngApple iPhone, Non-retina with iOS7apple-touch-icon-72x72.pngApple iPad, Non-retina with iOS6 or priorapple-touch-icon-76x76.pngApple iPad, Non-retina with iOS7apple-touch-icon-114x114.pngApple iPhone, Retina with iOS6 or priorapple-touch-icon-120x120.pngApple iPhone, Retina with iOS7apple-touch-icon-144x144.pngApple iPad, Retina with iOS6 or priorapple-touch-icon-152x152.pngApple iPad, Retina with iOS7apple-touch-icon-180x180.pngApple iPhone 6 Plus with iOS8browserconfig.xmlIE11 icon configuration filefavicon_config.jsonRealFaviconGenerator configuration filefavicon.icoFavicon, IE and fallback for other browsersfavicon.pngFavicon generation source imagefavicon-16x16.pngFavicon, defaultfavicon-32x32.pngFavicon, Safari on Mac OSindex.htmlMain HTML filelogo.pngLogomain.jsMain Javascript filemanifest.jsonManifest filemaskable_icon.pngFavicon, maskablemstile-70x70.pngFavicon, Windows 8 / IE11mstile-144x144.pngFavicon, Windows 8 / IE10mstile-150x150.pngFavicon, Windows 8 / IE11mstile-310x150.pngFavicon, Windows 8 / IE11mstile-310x310.pngFavicon, Windows 8 / IE11README.mdReadme filerobots.txtRobots filesafari-pinned-tab.svgFavicon, Safari pinned tabshare.jpgSocial media sharingsitemap.xmlSitemap filesw.jsService worker filestyle.cssMain CSS file
-
Clone the repository from GitHub.
-
Create all favicon images using RealFaviconGenerator and replace existing images with generated images.
If you're able to install the CLI version of RealFaviconGenerator,
favicon_config.jsoncontains all settings to generate these images using the following command from the project's root directory. Thereal-favicontool generates images fromfavicon.png, so replacefavicon.pngprior to running this command. The resultingfavicon_data.jsonandsite.webmanifestcan be discarded:real-favicon generate favicon_config.json favicon_data.json . -
Create new 650x650 maskable icon using Maskable.app and replace
maskable_icon.png. -
Create new black vector icon using
Manytools' colorize images tooland replacesafari-pinned-tab.svg. -
Create new 1200x630 share image and replace
share.jpg. -
Build your PWA by adding HTML, CSS, and Javascript.
YES! Contributions are welcome!