{"id":16070752,"url":"https://github.com/cjpatoilo/pwa-installer","last_synced_at":"2025-08-15T22:38:01.261Z","repository":{"id":81608520,"uuid":"99695152","full_name":"cjpatoilo/pwa-installer","owner":"cjpatoilo","description":"Zero-configuration for installing PWA features.","archived":false,"fork":false,"pushed_at":"2023-02-27T01:20:07.000Z","size":553,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T13:45:07.610Z","etag":null,"topics":["cli","manifest","offline","precache","progressive-web-app","pwa","pwa-features","pwa-installer","service-worker","sw-precache","webapp"],"latest_commit_sha":null,"homepage":"https://cjpatoilo.com/pwa-installer","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cjpatoilo.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":".github/contributing.md","funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"open_collective":"cjpatoilo","patreon":"cjpatoilo"}},"created_at":"2017-08-08T13:20:03.000Z","updated_at":"2020-09-28T16:02:09.000Z","dependencies_parsed_at":"2023-05-29T02:30:43.734Z","dependency_job_id":null,"html_url":"https://github.com/cjpatoilo/pwa-installer","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"df53123323cfececcf08daabfb06a4b03c5151db"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cjpatoilo/pwa-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatoilo%2Fpwa-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatoilo%2Fpwa-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatoilo%2Fpwa-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatoilo%2Fpwa-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjpatoilo","download_url":"https://codeload.github.com/cjpatoilo/pwa-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjpatoilo%2Fpwa-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270639040,"owners_count":24620647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","manifest","offline","precache","progressive-web-app","pwa","pwa-features","pwa-installer","service-worker","sw-precache","webapp"],"created_at":"2024-10-09T07:06:55.875Z","updated_at":"2025-08-15T22:38:01.211Z","avatar_url":"https://github.com/cjpatoilo.png","language":"JavaScript","funding_links":["https://opencollective.com/cjpatoilo","https://patreon.com/cjpatoilo"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/cjpatoilo/pwa-installer\"\u003e\u003cimg width=\"100%\" src=\"https://repository-images.githubusercontent.com/99695152/9fc8c280-f5b9-11e9-80ca-45435f7262a4\" alt=\"PWA Installer - Zero-configuration for installing PWA features.\"\u003e\u003c/a\u003e\n\n\u003e Zero-configuration for installing PWA features.\n\n[![Travis Status](https://travis-ci.org/cjpatoilo/pwa-installer.svg?branch=master)](https://travis-ci.org/cjpatoilo/pwa-installer?branch=master)\n[![AppVeyor Status](https://ci.appveyor.com/api/projects/status/3e7283286e2147c78c41eac515714429?svg=true)](https://ci.appveyor.com/project/cjpatoilo/pwa-installer)\n[![Codacy Status](https://img.shields.io/codacy/grade/99f45f0e32c649e79db8ba48c66b468f/master.svg)](https://www.codacy.com/app/cjpatoilo/pwa-installer/dashboard)\n[![Dependencies Status](https://david-dm.org/cjpatoilo/pwa-installer.svg)](https://david-dm.org/cjpatoilo/pwa-installer)\n[![Version Status](https://badge.fury.io/js/pwa-installer.svg)](https://www.npmjs.com/package/pwa-installer)\n[![Download Status](https://img.shields.io/npm/dt/pwa-installer.svg)](https://www.npmjs.com/package/pwa-installer)\n[![Gitter Chat](https://img.shields.io/badge/gitter-join_the_chat-4cc61e.svg)](https://gitter.im/cjpatoilo/pwa-installer)\n\n## Why it's awesome\n\nZero-configuration for installing PWA features. Although [sw-precache](https://github.com/GoogleChromeLabs/sw-precache) works great as a light-weight tool to quickly install service worker support, it currently does not provide much functionality for installing specific \"features\".\n\n**Features**\n\n- [ ] Read config from `pwa.config.js`\n- [ ] Inject preload e prefetch tags on html files\n- [ ] Generate manifesto.json file\n- [x] Generate `service-worker.js` (files)\n- [x] Generate hashs in scripts and styles files (files)\n- [x] Automate `service-worker.js` call in your `html` files\n\n## Install\n\n**Install with npm**\n\n```sh\n$ npm i pwa-installer\n```\n\n**Install with Yarn**\n\n```sh\n$ yarn add pwa-installer\n```\n\n**Run with npx (without installing)**\n\n```sh\n$ npx pwa-installer\n```\n\n_Note: Install this npm package with the flag `-g` or `--global` for global use. Install with the flag `-D` or `--save-dev` for add the package as a devDependency of your project._\n\n## Usage\n\n```\n$ pwa-installer --help\n\n  Usage:\n\n    $ pwa-installer [\u003coutput\u003e] [\u003coptions\u003e]\n\n  Options:\n\n    -h, --help              Display help information\n    -v, --version           Output version\n    -c, --config              Display help information\n\n  Examples:\n\n    $ pwa-installer\n    $ pwa-installer dist/index.html\n    $ pwa-installer dist --config=pwa.config.js\n```\n\nNote: Directory is required\n\n## Contributing\n\nWant to contribute? Follow these [recommendations](https://github.com/cjpatoilo/pwa-installer/contribute).\n\n## License\n\nDesigned with ♥ by [CJ Patoilo](https://twitter.com/cjpatoilo). Licensed under the [MIT License](https://cjpatoilo.com/license).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjpatoilo%2Fpwa-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjpatoilo%2Fpwa-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjpatoilo%2Fpwa-installer/lists"}