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 →
Top 22 JavaScript service-worker Projects
-
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.
-
zip.js
JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
-
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.
-
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)
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: A deep-dive on a Progressive Web App implementation for a React-based App Platform (DHIS2) | dev.to | 2023-08-22We use the Workbox library and its utilities as a foundation for our service worker.
Project mention: It's never been a better time to switch to Firefox | news.ycombinator.com | 2023-11-22This! 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
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);
Project mention: Pigz: Parallel gzip for modern multi-processor, multi-core machines | news.ycombinator.com | 2023-05-12Similarly, 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
Just created a Server-Sent Events Proxy with my Open Source library Wayne. This was the last open issue on GitHub.
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.
See Source Code and Live Preview
JavaScript service-worker related posts
-
It's never been a better time to switch to Firefox
-
A deep-dive on a Progressive Web App implementation for a React-based App Platform (DHIS2)
-
Workbox: JavaScript Libraries for Progressive Web Apps
-
Created a Server-Sent Event Proxy with Wayne
-
Considering PWA with Next.js 13 - Any Thoughts?
-
Wayne filesystem demo
-
Enable PWA with next.js 13 or later using next-pwa (disabled in development environment)
-
A note from our sponsor - InfluxDB
www.influxdata.com | 7 May 2024
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