Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudfour/pwastats
A directory of Progressive Web App case studies.
https://github.com/cloudfour/pwastats
directory offline push-notifications pwa service-worker
Last synced: 1 day ago
JSON representation
A directory of Progressive Web App case studies.
- Host: GitHub
- URL: https://github.com/cloudfour/pwastats
- Owner: cloudfour
- License: mit
- Created: 2017-03-20T22:30:20.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-01-10T07:43:42.000Z (12 days ago)
- Last Synced: 2025-01-10T08:37:23.363Z (12 days ago)
- Topics: directory, offline, push-notifications, pwa, service-worker
- Language: HTML
- Homepage: https://www.pwastats.com
- Size: 2.16 MB
- Stars: 104
- Watchers: 16
- Forks: 9
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - pwastats
README
# PWAStats
> A directory of Progressive Web App case studies.
## Contributing
See [CONTRIBUTING.md](.github/CONTRIBUTING.md)
## Developing
This site is built with [Eleventy](https://www.11ty.dev/).
### Quick start
This project relies on [Node](https://nodejs.org/), and [npm](https://www.npmjs.com/). Before following these steps you'll need to [install node and npm](https://blog.npmjs.org/post/85484771375/how-to-install-npm) if you haven't already.
Installation:
1. Clone this repository.
1. `cd` into the directory.
1. Run `npm ci` to install dependencies.For local development:
```
npm start
```
This will compile the site into the \_site directory and run a local file server where you can preview the site: http://localhost:8080For a single build:
```
npm run build
```### Fetching an icon for a PWA
```sh
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