Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: (de-scoping) first pass at updating the IPFS in Web Browsers Roadmap #23

Conversation

daviddias
Copy link
Member

Following #21, this is my first pass/suggestions. @lidel, @hugomrdias please review

@ghost ghost assigned daviddias Jan 28, 2019
@ghost ghost added the status/in-progress In progress label Jan 28, 2019
@daviddias daviddias assigned lidel and hugomrdias and unassigned daviddias Jan 28, 2019
@momack2
Copy link
Contributor

momack2 commented Jan 28, 2019

Is there any value we'd expect package mangers to get from having companion installed? I understand the previous proposals like creating your own website, saving a website snapshot, or p2p file sharing don't make as much sense given our top priority (though I'd LOVE to see more folks in the community pick up this work because it would be so cool - maybe write up a quick spec that someone else can implement?) - but curious if there's any 2019 work scoped for the extension.

Copy link
Member

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • @momack2 given Package Managers scope, extension could detect the most popular JS libraries loaded from various CDNs, and work similar to decentraleyes, but instead of shipping code with itself just redirect to IPFS mirror at local node – Intercept URLs for JS libs at public CDNs ipfs-companion#674. Companion could also act as one of IPFS providers for IPFS-based JS CDN.
    • We have open issues for various ipfs-companion features outside of package managers scope. Most of them is marked with "help wanted", some valuable design discussions are happening in comments, and small code changes are contributed to existing features. Unfortunately bigger tasks just hang in limbo for months, sometimes years. My guess is that webextension environment and APIs are not as familiar/attractive to devs as other ipfs projects. Some ideas (such as p2p sharing) will be moved to WebUI.
  • I feel we should lay some low level groundwork for "website publishing" story in 2019 and reflect that in the roadmap. Right now it is missing.

Other comments inline below.

- `M(P0)` Drop-in API Provider library is the default way of integrating IPFS with web apps and browser extensions
- `M(P0)` HTTP/WS /api/v1/ with proper access controls exists
- `M(P1)` Docs or guidebook of developer best practices for writing decentralised web apps exists.
- `M(PX)` It is possible to verify integrity of HTTP Gateway Responses
Copy link
Member

@lidel lidel Jan 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this ability is highly relevant to Package Managers

This should be on someones roadmap for 2019. If Web Browsers WG not a good home for this, we perhaps we should move it to Package Managers WG itself?

#### Foundation

- `M(P0)` Base32 CIDv1 is the default and can be used as authority in URLs
- `M(P0)` Drop-in API Provider library is the default way of integrating IPFS with web apps and browser extensions
Copy link
Member

@lidel lidel Jan 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lack of good solution is this space is already hurting adoption. We really should address this in 2019.
This could be framed as a part of Package Managers' "Foundation", maybe something like this:

  • Drop-in IPFS Provider library enables truly distributed CDN and becomes the default way of integrating IPFS into web apps

(In simple terms, we are talking about service worker that intercepts /ipfs/cid/some.min.js and loads it from the best IPFS provider at hand: js-ipfs, ipfs-companion, local go-ipfs, public gateway)

@lidel
Copy link
Member

lidel commented Mar 22, 2019

Let's park this for one more week 🙏
I want to go over this with @autonome and @hugomrdias during our summit in Lisbon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants