I just today realized that DHT will not work in the browser, feel kind of stupid about it.
Webtorrent, however, is somehow resolving magnet links within the browser, so I need to
parse the source code to figure out it does so. This way, hopefully I can piggyback on
another service to have a more decentralized way of finding captaindirgo servers.
I saw this pretty good discussion on persistent service workers:
https://stackoverflow.com/questions/66618136/persistent-service-worker-in-chrome-extension
With the new service-worker model that chrome has and mozilla is moving to, I don't think
I can create a persistent peer for a hyperswarm network within the extension without
resorting to some hacks. So I wonder what is the point of a p2p network like that.
Other than looking into this p2p stuff, I started setting up a webpack framework for
captaindirgo-extension.
I just today realized that DHT will not work in the browser, feel kind of stupid about it.
Webtorrent, however, is somehow resolving magnet links within the browser, so I need to
parse the source code to figure out it does so. This way, hopefully I can piggyback on
another service to have a more decentralized way of finding captaindirgo servers.
I saw this pretty good discussion on persistent service workers:
https://stackoverflow.com/questions/66618136/persistent-service-worker-in-chrome-extension
With the new service-worker model that chrome has and mozilla is moving to, I don't think
I can create a persistent peer for a hyperswarm network within the extension without
resorting to some hacks. So I wonder what is the point of a p2p network like that.
Other than looking into this p2p stuff, I started setting up a webpack framework for
captaindirgo-extension.
(post is archived)