service-worker

Open-source projects categorized as service-worker

Top 23 service-worker Open-Source Projects

  • msw

    Seamless REST/GraphQL API mocking library for browser and Node.js.

  • Project mention: Easier TypeScript API Testing with Vitest + MSW | dev.to | 2024-04-25

    However, I discovered a great combination that transformed my API call testing in TypeScript: Vitest and Mock Service Worker (MSW). Their well-crafted design makes them incredibly easy to use, enhancing the overall testing experience.

  • workbox

    📦 Workbox: JavaScript libraries for Progressive Web Apps

  • Project mention: A deep-dive on a Progressive Web App implementation for a React-based App Platform (DHIS2) | dev.to | 2023-08-22

    We use the Workbox library and its utilities as a foundation for our service worker.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • offline-plugin

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

  • awesome-pwa

    Awesome list of progressive web apps! (PR welcomed ;))

  • angular-performance-checklist

    âš¡ Cheatsheet for developing lightning fast progressive Angular applications

  • Project mention: New to Angular and OOP, but got first job in Angular, what key concepts to focus on picking up? | /r/Angular2 | 2023-07-03

    there is this famous checklist that covers "everything". https://github.com/mgechev/angular-performance-checklist

  • StreamSaver.js

    StreamSaver writes stream to the filesystem directly asynchronous

  • Project mention: It's never been a better time to switch to Firefox | news.ycombinator.com | 2023-11-22

    This! It is frustrating that web apps like draw.io can't save to file directly using Firefox. It gets old having to save a new file every time you make a change.

    Beyond that, the File System API would also allow for streamed downloads directly from the web-app. This would allow for web-apps to generate large download files without having to store a copy on a database (external server or IndexedDB), which is a privacy improvement. The only way to do this now is by using convoluted techniques to essentially do a MITM to a fake endpoint [1].

    [1] https://github.com/jimmywarting/StreamSaver.js

  • next-pwa

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

  • Project mention: Enable PWA with next.js 13 or later using next-pwa (disabled in development environment) | dev.to | 2023-05-27

    /** @type {import('next').NextConfig} */ const path = require("path"); const isDev = process.env.NODE_ENV !== "production"; const withPWA = require("next-pwa")({ dest: "public", disable: isDev, buildExcludes: ["app-build-manifest.json"], }); const generateAppDirEntry = (entry) => { const packagePath = require.resolve("next-pwa"); const packageDirectory = path.dirname(packagePath); const registerJs = path.join(packageDirectory, "register.js"); return entry().then((entries) => { // Register SW on App directory, solution: https://github.com/shadowwalker/next-pwa/pull/427 if (entries["main-app"] && !entries["main-app"].includes(registerJs)) { if (Array.isArray(entries["main-app"])) { entries["main-app"].unshift(registerJs); } else if (typeof entries["main-app"] === "string") { entries["main-app"] = [registerJs, entries["main-app"]]; } } return entries; }); }; const nextConfig = { experimental: { appDir: true, }, reactStrictMode: true, webpack(config) { if( !isDev ){ const entry = generateAppDirEntry(config.entry); config.entry = () => entry; } return config; }, }; module.exports = withPWA(nextConfig);

  • 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.

    InfluxDB logo
  • zip.js

    JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.

  • Project mention: Pigz: Parallel gzip for modern multi-processor, multi-core machines | news.ycombinator.com | 2023-05-12

    Similarly, if people are interested, I have coded the possibility to compress zip files on several cores in zip.js [1]. The approach is simpler as it consists of compressing the entries in parallel. It still offers a significant performance gain though when compressing multiple files in a zip file, which is often the nominal case.

    [1] https://github.com/gildas-lormeau/zip.js

  • offline-first

    :electric_plug: Everything you need to know to create offline-first web apps.

  • PWABuilder

    The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.

  • Project mention: Don't upload your PWA to the app stores | dev.to | 2024-01-10

    For a PWA to be listed in app stores, it must be wrapped within additional software. This wrapper tends to be less robust and not as finely tuned as mainstream browsers, a fact that even PWABuilder acknowledges.

  • itty-router

    A little router.

  • next-offline

    make your Next.js application work offline using service workers via Google's workbox

  • service-workers

    A collection of utilities for creating/testing/experimenting with service workers.

  • expenses

    💰Expense tracker using Google Sheets 📉 as a storage written in React (by jakubgarfield)

  • http-server-online

    Start a local HTTP server without any tools, just open a web page.

  • replayweb.page

    Serverless replay of web archives directly in the browser

  • Project mention: Ask HN: How can I back up an old vBulletin forum without admin access? | news.ycombinator.com | 2024-01-29

    You can try https://replayweb.page/ as a test for viewing a WARC file. I do think you'll run into problems though with wanting to browse interconnected links in a forum format, but try this as a first step.

    One potential option but definitely a bit more work would be, once you have all the warc files downloaded, you can open them all in python using the warctools module and maybe beautifulsoup and potentially parse/extract all of the data embedded in the WARC archives into your own "fresh" HTML webserver.

    https://github.com/internetarchive/warctools

  • ipwb

    InterPlanetary Wayback: A distributed and persistent archive replay system using IPFS

  • wayne

    Service Worker Routing library for in browser HTTP requests

  • Project mention: Created a Server-Sent Event Proxy with Wayne | /r/webdev | 2023-07-01

    Just created a Server-Sent Events Proxy with my Open Source library Wayne. This was the last open issue on GitHub.

  • next-pwa

    Zero-config PWA plugin for Next.js. (by DuCanhGH)

  • Project mention: Considering PWA with Next.js 13 - Any Thoughts? | /r/nextjs | 2023-06-07

    I, uh, used my fork of next-pwa. There isn't an official solution from Next yet, sadly.

  • Ultraviolet

    A highly sophisticated proxy used for evading internet censorship or accessing websites in a controlled sandbox using the power of service-workers. Works by intercepting HTTP requests with a service worker script that follows the TompHTTP specifications. (by titaniumnetwork-dev)

  • Project mention: bypass lightspeed M1 | /r/hacking | 2023-09-23

    I’ve tried a lot of stuff but something that’s worked for me is just using a proxy like Ultraviolet and Rammerhead . Both of these were made with content filtering agents in mind and support a lot of sites.

  • self-destroying-sw

    Code-snippets and guides on removing ServiceWorker from a websiste.

  • WebPush

    webpush, Encryption Utilities for Web Push protocol

  • fetch-progress-indicators

    Progress indicators/bars using Streams, Service Workers, and Fetch APIs

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

service-worker related posts

Index

What are some of the best open-source service-worker projects? This list will help you:

Project Stars
1 msw 14,848
2 workbox 12,102
3 offline-plugin 4,503
4 awesome-pwa 4,411
5 angular-performance-checklist 4,085
6 StreamSaver.js 3,864
7 next-pwa 3,602
8 zip.js 3,278
9 offline-first 3,038
10 PWABuilder 2,433
11 itty-router 1,604
12 next-offline 1,574
13 service-workers 1,273
14 expenses 1,208
15 http-server-online 627
16 replayweb.page 620
17 ipwb 590
18 wayne 535
19 next-pwa 518
20 Ultraviolet 416
21 self-destroying-sw 398
22 WebPush 386
23 fetch-progress-indicators 331

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com