A directory of Progressive Web App case studies.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 028530f Jul 17, 2018
Permalink
Failed to load latest commit information.
.github Changes relative URL to absolute URL Apr 9, 2018
_data Add Jekyll files and setup basic layouts (#1) Mar 21, 2017
_includes Change frontmatter configuration for images Jul 16, 2018
_layouts Change frontmatter configuration for images Jul 16, 2018
_posts Change frontmatter configuration for images Jul 16, 2018
_tags Merge branch 'master' of https://github.com/cloudfour/pwastats into S… Apr 10, 2018
images Change frontmatter configuration for images Jul 16, 2018
js/vendor Add new request wrapper for CDN CORS assets (#76) Apr 7, 2017
scripts Add pretty error printing Jul 17, 2018
.editorconfig Add editorconfig Mar 30, 2017
.gitattributes Add service worker (#15) Mar 28, 2017
.gitignore Generate css to root directory, and run before jekyll Jul 10, 2018
.npmrc Add scripts for version command (#70) Apr 6, 2017
404.html Style 404 and error pages Mar 30, 2017
Gemfile Remove minima gem Mar 28, 2017
Gemfile.lock Update ruby deps Jul 6, 2018
LICENSE Initial commit Mar 20, 2017
README.md Rename fetch-pwa-icon to fetch-icon Jul 17, 2018
_config.yml Merge remote-tracking branch 'origin/master' into resize-images Jul 11, 2018
android-chrome-192x192.png Add icons Mar 30, 2017
android-chrome-512x512.png Add icons Mar 30, 2017
apple-touch-icon.png Add icons Mar 30, 2017
browserconfig.xml Add icons Mar 30, 2017
error.html Style 404 and error pages Mar 30, 2017
favicon-16x16.png Add icons Mar 30, 2017
favicon-32x32.png Add icons Mar 30, 2017
favicon.ico Add icons Mar 30, 2017
index.html Change frontmatter configuration for images Jul 16, 2018
manifest.json Add manifest.json (#17) Mar 28, 2017
mstile-150x150.png Add icons Mar 30, 2017
netlify.toml Generate css to root directory, and run before jekyll Jul 10, 2018
package-lock.json Merge remote-tracking branch 'origin/master' into feature/pwa-icon-fe… Jul 16, 2018
package.json Add pretty error printing Jul 17, 2018
safari-pinned-tab.svg Simplify pinned tab SVG in a way that doesn't make Safari cry Mar 30, 2017
sw.js Fix regex escaping for sw Jul 11, 2018

README.md

PWAStats

A directory of Progressive Web App case studies.

Contributing

See CONTRIBUTING.md

Developing

This site is built with Jekyll.

Quick start

git clone git@github.com:cloudfour/pwastats.git
cd pwastats
gem install bundler
bundle install
npm install

For local development:

npm start

For a single build:

npm run build

View the local site at http://localhost:4000.

Fetching an icon for a PWA

npm run fetch-icon

This will ask you for the PWA url and the directory to download to. It will fetch the icon from the app's manifest.json.

Resizing icons

To resize all the PWA icons in images:

  1. Run npm install to install the dependencies
  2. Run npm run resize-images to automatically generate optimized 1x and 2x versions of the images