JavaScript service-worker

Open-source JavaScript projects categorized as service-worker

Top 22 JavaScript service-worker Projects

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

  • offline-plugin

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

  • 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
  • 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);

  • 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

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

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

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

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

  • sqlite-worker

    A simple, and persistent, SQLite database for Web and Workers.

  • network-idle-callback

    Like requestIdleCallback, but for detecting network idle

  • Mosque-Screen

    Chat: https://discord.gg/CG7frj2 - Email: [email protected]. We do not provide any support, this is a volunteer-based project therefore we cannot commit to any time to resolve local issues.

  • offline-first-sw

    Service worker example with 404 handling, custom offline page and max TTL for specific file types.

  • Surfable-app

    Install any website as an app for instant access 🖥️

  • checkpose

    Offline Body Movement Analysis in the Browser

  • offline-website

    Sample website that will also work when the user is offline

  • Project mention: Building an Offline-Enabled To-Do List Web App 🚀 | dev.to | 2024-04-07

    See Source Code and Live Preview

  • sw-extension-audio

    Play audio in service worker-based browser extensions

  • dlpwait

    A wait times / entertainment schedule app for Disneyland Paris

  • unit-test-service-worker

    Writing unit tests for service workers made easy.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub 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).

JavaScript service-worker related posts

  • It's never been a better time to switch to Firefox

    5 projects | news.ycombinator.com | 22 Nov 2023
  • A deep-dive on a Progressive Web App implementation for a React-based App Platform (DHIS2)

    4 projects | dev.to | 22 Aug 2023
  • Workbox: JavaScript Libraries for Progressive Web Apps

    1 project | news.ycombinator.com | 17 Jul 2023
  • Created a Server-Sent Event Proxy with Wayne

    1 project | /r/webdev | 1 Jul 2023
  • Considering PWA with Next.js 13 - Any Thoughts?

    2 projects | /r/nextjs | 7 Jun 2023
  • Wayne filesystem demo

    3 projects | /r/webdev | 28 May 2023
  • Enable PWA with next.js 13 or later using next-pwa (disabled in development environment)

    1 project | dev.to | 27 May 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 May 2024
    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. Learn more →

Index

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

Project Stars
1 workbox 12,109
2 offline-plugin 4,504
3 StreamSaver.js 3,869
4 next-pwa 3,618
5 zip.js 3,280
6 next-offline 1,574
7 service-workers 1,273
8 expenses 1,208
9 http-server-online 631
10 wayne 535
11 Ultraviolet 420
12 self-destroying-sw 403
13 sqlite-worker 168
14 network-idle-callback 135
15 Mosque-Screen 101
16 offline-first-sw 91
17 Surfable-app 64
18 checkpose 12
19 offline-website 11
20 sw-extension-audio 5
21 dlpwait 2
22 unit-test-service-worker 1

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com