[AskJS] Has anybody implemented and compiled ServiceWorker specification to a standalone executable?

This page summarizes the projects mentioned and recommended in the original post on /r/javascript

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. sw-transfer-stream

    MV3 ServiceWorker => ReadableStream => Web page

    I've already built it https://github.com/guest271314/captureSystemAudio#web-accessible-resources-transferable-streams-media-capture-transform-breakout-box, https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio.js; see also https://github.com/guest271314/sw-transfer-stream and https://github.com/guest271314/offscreen-webrtc. I'm just trying to reduce steps https://github.com/guest271314/requestClient.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. workerd

    The JavaScript / Wasm runtime that powers Cloudflare Workers

    I just tested workerd, however streams are not enabled by default and the configuration file is insane https://github.com/cloudflare/workerd/issues/419. I have no idea why they just didn't use JSON.

  4. captureSystemAudio

    Capture system audio ("What-U-Hear")

    I've already built it https://github.com/guest271314/captureSystemAudio#web-accessible-resources-transferable-streams-media-capture-transform-breakout-box, https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio.js; see also https://github.com/guest271314/sw-transfer-stream and https://github.com/guest271314/offscreen-webrtc. I'm just trying to reduce steps https://github.com/guest271314/requestClient.

  5. wasm-workers-server

    🚀 Develop and run serverless applications on WebAssembly

  6. js-compute-runtime

    JavaScript SDK and runtime for building Fastly Compute applications

  7. miniflare

    🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.

  8. SSVM

    WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.

  9. SaaSHub

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

    SaaSHub logo
  10. yew

    Rust / Wasm framework for creating reliable and efficient web applications

  11. nodebox-runtime

    Nodebox is a runtime for executing Node.js modules in the browser.

    There is also https://github.com/codesandbox/nodebox-runtime. However, we can already do that using an iframe or window.open().

  12. quickjs-rs

    Rust wrapper for the quickjs Javascript engine.

    Implementing this using quickjs sounds like a great little weekend project. If only I had a weekend to spend on it!

  13. offscreen-webrtc

    Offscreen document <=> WebRTC Data Channel <=> Web page

    I've already built it https://github.com/guest271314/captureSystemAudio#web-accessible-resources-transferable-streams-media-capture-transform-breakout-box, https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio.js; see also https://github.com/guest271314/sw-transfer-stream and https://github.com/guest271314/offscreen-webrtc. I'm just trying to reduce steps https://github.com/guest271314/requestClient.

  14. requestClient

    Dynamically set Web page, Worker, SharedWorker, Worklet as a Client or WindowClient of ServiceWorker

    I've already built it https://github.com/guest271314/captureSystemAudio#web-accessible-resources-transferable-streams-media-capture-transform-breakout-box, https://github.com/guest271314/captureSystemAudio/blob/master/native_messaging/capture_system_audio/capture_system_audio.js; see also https://github.com/guest271314/sw-transfer-stream and https://github.com/guest271314/offscreen-webrtc. I'm just trying to reduce steps https://github.com/guest271314/requestClient.

  15. Screenshare-with-audio-on-Discord-with-Linux

    A repo trying to gather all info regarding proper screensharing on Discord with Desktop Audio for linux usersA Linux-based solution for sharing screens and audio on Discord, including tutorials and setup guides for users.

    Chromium and Chrome refuses to capture monitor devices on Linux. Read this https://github.com/edisionnano/Screenshare-with-audio-on-Discord-with-Linux README and the README at https://github.com/guest271314/captureSystemAudio very carefully. At best you can capture tab audio, not whatever is output to speakears and headphones, in spite of the systemAudio constraints, which is poorly named, and actually misleading.

  16. webhoster

    HTTP/HTTPS/HTTP2 Web Hoster

    I have an extremely similar setup, but not 100% to spec because I wrote a HTTP server in node and it has some expectations of being used for HTTP requests. But most of Response is built into the API, with expectation that you would interface with an HTTP request in the same fashion as a service worker. The public version is out of date, but the internal version I have used has the stream consumers. I use it for HTTP2 Push setup.

  17. readable-stream

    Node-core streams for userland

    You then want what's invoked by that event to be consumed as a Response. NodeJS has something to replicate this with stream consumers where you can do all the response.text() you normally do.

  18. native-messaging-deno

    Deno Native Messaging Host

    I'm basically trying to do this https://github.com/guest271314/native-messaging-deno/blob/local-server-dynamic/local_server.js without the issue with deno executable increasing CPU to over 90% when streaming, and without carrying around the rest of Deno that I will not be using. Building deno requires using Rust toolchain which is over 1GB to install before we even begin building anything, which is non-trivial to do.

  19. SaaSHub

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

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Node on Web. Use Nodejs freely in your browser with Linux infrastructure.

    8 projects | /r/node | 3 Jul 2023
  • Lua Is So Underrated

    27 projects | news.ycombinator.com | 26 Dec 2024
  • WASM Is the New CGI

    7 projects | news.ycombinator.com | 10 Oct 2024
  • Show HN: Compiling C in the browser using WebAssembly

    12 projects | news.ycombinator.com | 7 Oct 2024
  • Show HN: Repaint – a WebGL based website builder

    2 projects | news.ycombinator.com | 3 Sep 2024

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?