{"id":17231051,"url":"https://github.com/rishabh3112/gridsome-plugin-pwa","last_synced_at":"2025-04-14T02:31:18.334Z","repository":{"id":36581762,"uuid":"197373276","full_name":"rishabh3112/gridsome-plugin-pwa","owner":"rishabh3112","description":"PWA plugin for gridsome","archived":false,"fork":false,"pushed_at":"2023-03-04T17:26:52.000Z","size":2190,"stargazers_count":30,"open_issues_count":22,"forks_count":18,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T21:05:03.285Z","etag":null,"topics":["gridsome","hacktoberfest","javascript","nodejs","pwa-plugin","vue"],"latest_commit_sha":null,"homepage":"","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/rishabh3112.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["rishabh3112"]}},"created_at":"2019-07-17T11:07:28.000Z","updated_at":"2023-07-06T16:58:58.000Z","dependencies_parsed_at":"2024-06-20T22:00:08.938Z","dependency_job_id":null,"html_url":"https://github.com/rishabh3112/gridsome-plugin-pwa","commit_stats":{"total_commits":106,"total_committers":20,"mean_commits":5.3,"dds":0.5754716981132075,"last_synced_commit":"cc4b6bc070f51be173a9d9228d598ea1003945e0"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh3112%2Fgridsome-plugin-pwa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh3112%2Fgridsome-plugin-pwa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh3112%2Fgridsome-plugin-pwa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabh3112%2Fgridsome-plugin-pwa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabh3112","download_url":"https://codeload.github.com/rishabh3112/gridsome-plugin-pwa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248810883,"owners_count":21165195,"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","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":["gridsome","hacktoberfest","javascript","nodejs","pwa-plugin","vue"],"created_at":"2024-10-15T04:54:29.459Z","updated_at":"2025-04-14T02:31:17.910Z","avatar_url":"https://github.com/rishabh3112.png","language":"JavaScript","funding_links":["https://github.com/sponsors/rishabh3112"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/gridsome-plugin-pwa\"\u003e\n      \u003cimg src=\"https://gridsome.org/logos/logo-circle-light.svg\" alt=\"gridsome logo\" width=\"100px\"/\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003egridsome-plugin-pwa\u003c/h1\u003e\n    \u003cp align=\"center\"\u003e A PWA plugin for gridsome \u003c/p\u003e\n    \u003cp align=\"center\"\u003e\u003ca href=\"https://npmjs.com/package/gridsome-plugin-pwa\"\u003e\u003cimg src=\"https://badge.fury.io/js/gridsome-plugin-pwa.svg\" alt=\"npm version\"\u003e\u003c/a\u003e \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dt/gridsome-plugin-pwa\"\u003e \u003cimg alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/minzip/gridsome-plugin-pwa\"\u003e\u003c/p\u003e\n\u003c/p\u003e\n\n## Installation\n\n```\n# For npm\n$ npm install gridsome-plugin-pwa\n# For yarn\n$ yarn add gridsome-plugin-pwa\n```\n\n## Usage\n\nAdd `gridsome-plugin-pwa` to plugin array with following configurable options to `gridsome.config.js`\n\n\u003e Defaults for required fields and example for optional fields values are mentioned below along side properties\n\n```js\n...\nplugins:[\n    {\n        use: 'gridsome-plugin-pwa',\n        options: {\n            // Service Worker Options\n            disableServiceWorker: false,\n            serviceWorkerPath: 'service-worker.js',\n            cachedFileTypes: 'js,json,css,html,png,jpg,jpeg,svg,gif',\n            disableTemplatedUrls: false,       // Optional\n\n            // Manifest Options (https://developer.mozilla.org/en-US/docs/Web/Manifest)\n            manifestPath: 'manifest.json',\n            id: \"Gridsome\",\n            title: 'Gridsome',\n            startUrl: '/',\n            display: 'standalone',\n            statusBarStyle: 'default',\n            themeColor: '#666600',\n            backgroundColor: '#ffffff',\n\n            // icon should be a path to the static folder i.e. 'static/icon.png'\n            icon: '',\n\n            // set {maskableIcon: true} to use the same icon (this will set\n            // {purpose:  'maskable any'}), or specify a different icon path\n            maskableIcon: true,                 // Optional\n            shortName: 'Gridsome',              // Optional\n            description: 'Gridsome is awesome!',// Optional\n            categories: ['education'],          // Optional\n            lang: 'en-GB',                      // Optional\n            dir: 'auto',                        // Optional\n            screenshots: [                      // Optional\n                {\n                    src: 'src/screenshot1.png',\n                    sizes: '1280x720',\n                    type: 'image/png',\n                },\n            ],\n            shortcuts: [                        // Optional\n                {\n                    name: \"View Subscriptions\",\n                    short_name: \"Subscriptions\",\n                    description: \"View the list of podcasts you listen to\",\n                    url: \"/subscriptions?utm_source=homescreen\",\n                    icons: [{ src: \"/icons/subscriptions.png\", sizes: \"192x192\" }]\n                }\n            ],\n            gcmSenderId: undefined,             // Optional\n\n            // Standard Meta Tags\n            svgFavicon: 'favicon.svg',          // Optional. Requires favicon.ico fallback\n\n            // Microsoft Windows Meta Tags\n            msTileColor: '#666600',             // Optional\n\n            // Apple MacOS Meta Tags\n            appleMaskIcon: 'favicon.svg',       // Optional\n            appleMaskIconColor: '#666600',      // Optional\n        }\n    }\n]\n```\n\n## License (MIT)\n\nOpen [LICENSE](./LICENSE) file for more info\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabh3112%2Fgridsome-plugin-pwa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabh3112%2Fgridsome-plugin-pwa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabh3112%2Fgridsome-plugin-pwa/lists"}