{"id":15706823,"url":"https://github.com/stephenlb/serviceworker-pubnub-example","last_synced_at":"2025-05-12T19:10:56.240Z","repository":{"id":66632428,"uuid":"402208440","full_name":"stephenlb/serviceworker-pubnub-example","owner":"stephenlb","description":"Example using PubNub with ServiceWorkers","archived":false,"fork":false,"pushed_at":"2021-09-30T20:23:06.000Z","size":296,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T01:51:44.642Z","etag":null,"topics":["docker","pubnub","serviceworker","sharedworker","webworker"],"latest_commit_sha":null,"homepage":"https://stephenlb.github.io/serviceworker-pubnub-example/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephenlb.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-09-01T21:31:41.000Z","updated_at":"2024-04-17T10:41:03.000Z","dependencies_parsed_at":"2023-06-11T04:15:43.631Z","dependency_job_id":null,"html_url":"https://github.com/stephenlb/serviceworker-pubnub-example","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/stephenlb%2Fserviceworker-pubnub-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenlb%2Fserviceworker-pubnub-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenlb%2Fserviceworker-pubnub-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenlb%2Fserviceworker-pubnub-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephenlb","download_url":"https://codeload.github.com/stephenlb/serviceworker-pubnub-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805860,"owners_count":21967053,"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":["docker","pubnub","serviceworker","sharedworker","webworker"],"created_at":"2024-10-03T20:29:03.244Z","updated_at":"2025-05-12T19:10:56.218Z","avatar_url":"https://github.com/stephenlb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This example shows how to use a single PubNub connection across many tabs and windows.\nThis is accomplished by using a Service Worker\n`navigator.serviceWorker.register('service-worker.js');`.\nThis is great for reducing resources used for web apps.\nThis makes the end-user experience faster and more pleasant.\n\n`./start` to start the docker server.\n\n### Service Workers Example\n\nService Workers are the W3C standard for sharing resources\nbetween tabs/windows in a browser.\n\n```shell\nopen http://localhost:8000/index.html\n```\n\n### Access Debugging for Service Worker\n\nOpen `chrome://inspect/#service-workers` in chrome.\n\nFind the `localhost` section and click `inspect`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenlb%2Fserviceworker-pubnub-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephenlb%2Fserviceworker-pubnub-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenlb%2Fserviceworker-pubnub-example/lists"}