internetarchive / dweb-mirror

Offline Internet Archive project
https://www-dweb-mirror.dev.archive.org/
GNU Affero General Public License v3.0
273 stars 30 forks source link

IPFS - auto config #38

Open mitra42 opened 6 years ago

mitra42 commented 6 years ago

We need something that automates the choice of how to access IPFS. a) If I have a local IPFS gateway connect to it. (GoLang shared) b) If running in the browser and have local MirrorHTTP server, connect to that (JS but shared) c) otherwise run JS local to app

mitra42 commented 6 years ago

First cut in test_ipfs.js seems to work, needs integration into TransportsIPFS and/or Dweb-mirror after chat with @Parkan

mitra42 commented 6 years ago

Now integrated into dweb-transports in the #mirror branch, should be able to go live for everything (e.g. dweb.archive.org) with a little more testing.

mitra42 commented 6 years ago

This has been dropped/deprioritized because of the issues with CORS etc

parkan commented 6 years ago

the CORS situation is not great but I anticipate is clearing up soon (there's two largely unrelated problems in the go-ipfs repo, with the API one being pretty much fully sorted)