PWA support
Is Your Feature Request Related to a Problem? Please Describe
I'd like to make an installable web application using P2P storage.
For example, I want some kind of P2P-Steam, which will be able to sync game saves to user personal cloud storage (like google drive), but in order to not make users choose the location of where game saves are stored every single time, I'd like that all users would place this kind of info into a shared P2P storage, so when a new user installs the same game, - the app will automatically check if there are some known places where saves are stored, and setup syncing automatically using these paths. So in the end it will be an entirely server-independent solution for game saves (ofc, it's just one of examples of potential features).
Solution You'd Like
Beaker to support PWA, and extends functionality of PWA, so it can also:
- Access such a P2P storage (
hyper://...) - Run a daemon which shares this P2P storage
Something similar to File System Access, but with Hyperdrive API.
Alternatives You've Considered
Create a whole independent executable, likely an Electron app, which will include both a classic PWA, and a NodeJS server running this daemon for sharing P2P storage (kind of, separate Beaker browser??? but with more narrow purpose).
Additional Context
- There's just a single mention of PWA in this repository currently: https://github.com/beakerbrowser/beaker/issues/1744#issuecomment-645057997, - but at least some people agree that PWA is the future of cross platform applications among Beaker community
- In Hyperdrive repository, there's also a guy who's curious about this: https://github.com/hypercore-protocol/hyperdrive/issues/305#issue-761171964, - question
#8in his list - Also, here's just some random guys wanting P2P storage too, on stackoverflow: [1], [2], [3], [4], [5] (less related to PWA exactly, but supposedly they would've been interested in this solution too... if they alive... because one of those questions is 10 years old)
just wanted to bump this ^^ i'd love to see Beaker support PWAs