samples VS service-workers

Compare samples vs service-workers and see what are their differences.

samples

A repo containing samples tied to new functionality in each release of Google Chrome. (by GoogleChrome)

service-workers

A collection of utilities for creating/testing/experimenting with service workers. (by zackargyle)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
samples service-workers
5 1
5,735 1,273
0.3% -
4.0 2.8
14 days ago 2 months ago
HTML JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

samples

Posts with mentions or reviews of samples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-07.
  • Is it better to learn web development with Python or C?
    4 projects | /r/webdev | 7 Aug 2022
    Why do you need an ordinary HTTP Web server when you have HTTP/3 and QUIC support in WebTransport (https://www.w3.org/TR/webtransport/; https://github.com/GoogleChrome/samples/tree/gh-pages/webtransport)?
  • Web Native Payment API with SvelteKit
    2 projects | dev.to | 2 Aug 2022
    Web Payment Request Examples by Google
  • Unit testing service workers
    3 projects | dev.to | 15 Dec 2021
    This code sample is an enhancement on top of Service Worker Mock. Service Worker Mock explains how to write unit tests for service works. Since it is not maintained any more, I am writing this code sample to unblock ourselves from the current issues in that library. Tests are written using the sample service worker given at service worker example
  • How hard is it to develop a simple companion App to interface with a BLE Capabale IoT Device?
    1 project | /r/embedded | 8 Apr 2021
    It's definitely possible to get this up and running in 1-2 months using like Flutter. An other option is to use Web Bluetooth if you feel more comfortable doing web stuff instead, here are many samples https://github.com/GoogleChrome/samples/tree/gh-pages/web-bluetooth
  • Running a python script from a website
    3 projects | /r/learnpython | 20 Mar 2021
    Technically WebTransport https://github.com/GoogleChrome/samples/tree/gh-pages/webtransport provides a means to run code (using aioquic in Python) on local machine requested from any site where CSP does not block the request.

service-workers

Posts with mentions or reviews of service-workers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-15.
  • Unit testing service workers
    3 projects | dev.to | 15 Dec 2021
    This code sample is an enhancement on top of Service Worker Mock. Service Worker Mock explains how to write unit tests for service works. Since it is not maintained any more, I am writing this code sample to unblock ourselves from the current issues in that library. Tests are written using the sample service worker given at service worker example

What are some alternatives?

When comparing samples and service-workers you can also consider the following projects:

aioquic - QUIC and HTTP/3 implementation in Python

unit-test-service-worker - Writing unit tests for service workers made easy.

google-pay-button - Google Pay button - React, Angular, and custom element

workbox - 📦 Workbox: JavaScript libraries for Progressive Web Apps

next-pwa - Zero config PWA plugin for Next.js, with workbox 🧰

webtransport - WebTransport

offline-plugin - Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)

quiche - 🥧 Savoury implementation of the QUIC transport protocol and HTTP/3

web.dev - The frontend, backend, and content source code for web.dev