-
Notifications
You must be signed in to change notification settings - Fork 547
Add ServiceWorker support to plugin protocols #46
Comments
Waiting on electron issue 9663 I guess... |
Yes, unfortunately. |
Well shucks. I'm guessing this is why I'm getting:
when trying to use my cool webapp over dat:// |
Yeah it's a total shame. Having this and modules land in electron are going to be huge for dat. |
@pfrazee @feross and i almost got Wikipedia working in dat currently, we're stuck on:
|
@dcposch That looks awesome! I want to use ServiceWorker for something similar. (Converting URL requests into git repository lookups.) |
@dcposch oh clever solution. I've been poking around more in electron lately. I'll take another pass at fixing this. No promises, but I may get lucky. |
(Even if we can get Service Workers to run on a custom protocol, I'm still unsure whether I'll be able to inject the APIs. We'll see.) |
@pfrazee have you heard of Muon? It's Brave's fork of Electron. They have similar goals to Beaker--they too are developing their own chromium-based browser. (They also have lots of developers and Scrooge McDuck-esque piles of money from their recent token sale... point is, Muon is actively developed :) ) issues fixed in Muon
as far as i can tell, it's a fork of and (mostly) a drop in replacement for |
Yeah we're going to switch to Muon this year. Gotta get 0.8 out first. |
AFAIK Electron already supports service workers, it just seems to be failing on custom protocols. Do we know for certain that muon supports service workers on custom protocols? |
I spent a little more time with it in Electron. Even after I cheated my way around the current issue, SWs would randomly stall in installation and fail to intercept requests. |
i'm not sure! we added torrent support to Brave recently. i think the easiest way to test SW support in Muon would be to turn a ServiceWorker "hello world" app into a torrent, then visit |
Once ServiceWorkers are enabled, are there any plans for Dat-specific APIs for them? I think it would be super useful to have something similar to Push Notifications, but for Dat updates. |
We can certainly look into that |
Just wondering if there are any updates on this. Have a very exciting use case for this. |
Service Workers will allow unhosted applications in plugin-protocols to serve pages dynamically. To support them, we need:
The text was updated successfully, but these errors were encountered: