{"id":21951348,"url":"https://github.com/hiswe/service-worker-test","last_synced_at":"2026-07-03T10:03:33.537Z","repository":{"id":137623891,"uuid":"119048020","full_name":"Hiswe/service-worker-test","owner":"Hiswe","description":null,"archived":false,"fork":false,"pushed_at":"2018-01-26T15:09:38.000Z","size":3614,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T22:32:52.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/Hiswe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2018-01-26T12:16:53.000Z","updated_at":"2018-01-26T15:09:40.000Z","dependencies_parsed_at":"2024-03-30T21:02:00.437Z","dependency_job_id":null,"html_url":"https://github.com/Hiswe/service-worker-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hiswe%2Fservice-worker-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hiswe%2Fservice-worker-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hiswe%2Fservice-worker-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hiswe%2Fservice-worker-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hiswe","download_url":"https://codeload.github.com/Hiswe/service-worker-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244999193,"owners_count":20544863,"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":[],"created_at":"2024-11-29T06:13:39.162Z","updated_at":"2026-07-03T10:03:28.504Z","avatar_url":"https://github.com/Hiswe.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [service-worker-test](#service-worker-test)\n  - [current browser setup for https](#current-browser-setup-for-https)\n    - [in chrome:](#in-chrome)\n    - [in firefox:](#in-firefox)\n  - [building \u0026 launching](#building--launching)\n    - [custom service worker](#custom-service-worker)\n    - [using google workbox](#using-google-workbox)\n  - [issues](#issues)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n# service-worker-test\n\na simple test to see how it differs from using workbox \u0026 writting it's own\n\n## current browser setup for https\n\nWe need to let the browsers serve the app throught https. Thanks to this [simple guide we have ](https://improveandrepeat.com/2016/09/allowing-self-signed-certificates-on-localhost-with-chrome-and-firefox/)\n\n### in chrome:\n\n```\nchrome://flags/#allow-insecure-localhost\n```\n\nshould be checked\n\n### in firefox:\n\njust add an exceptions for the website\n\n## building \u0026 launching\n\n`npm install` then:\n\n### custom service worker\n\n```\nnpm run serve:custom\n```\n\nwill run on [https://localhost:3500](https://localhost:3500)\n\n### using [google workbox](https://developers.google.com/web/tools/workbox/)\n\n```\nnpm run serve:workbox\n```\n\nwill run on [https://localhost:3600](https://localhost:3600)\n\n## issues\n\non `chrome` the custom script isn't reliable for an unfound reason…\n\nGetting this strange error:\n```\nFailed to fetch \n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiswe%2Fservice-worker-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiswe%2Fservice-worker-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiswe%2Fservice-worker-test/lists"}