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 23 service-worker Open-Source 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.
-
angular-performance-checklist
âš¡ Cheatsheet for developing lightning fast progressive Angular applications
-
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.
-
zip.js
JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
-
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.
-
expenses
💰Expense tracker using Google Sheets 📉 as a storage written in React (by jakubgarfield)
-
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)
-
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.
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.
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: New to Angular and OOP, but got first job in Angular, what key concepts to focus on picking up? | /r/Angular2 | 2023-07-03there is this famous checklist that covers "everything". https://github.com/mgechev/angular-performance-checklist
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
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.
Project mention: Ask HN: How can I back up an old vBulletin forum without admin access? | news.ycombinator.com | 2024-01-29You 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
Just created a Server-Sent Events Proxy with my Open Source library Wayne. This was the last open issue on GitHub.
I, uh, used my fork of next-pwa. There isn't an official solution from Next yet, sadly.
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.
service-worker related posts
- Creating mocks for testing react code
- How do you manage Dependency Injection in Next.js APPS?
- It's never been a better time to switch to Firefox
- Mocks agnósticos para bibliotecas de requisições HTTP no Node.js
- A deep-dive on a Progressive Web App implementation for a React-based App Platform (DHIS2)
- is it common to use MSW to mock api calls or is there an easier way
- Workbox: JavaScript Libraries for Progressive Web Apps
-
A note from our sponsor - InfluxDB
www.influxdata.com | 29 Apr 2024
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