-
Notifications
You must be signed in to change notification settings - Fork 548
IPFS integration #2
Comments
@diasdavid great, thanks for opening this issue. This document explains the repo. I think the background process is the right place to integrate the transport protocols, so that data can persist across navigations, and so we're not confined to WebRTC. So, go-ipfs seems like the right call. Most of my dat integration's structure should be copyable for IPFS. There may be ways to reuse code btwn the protocol integrations, which will also pay off when we integrate webtorrent. No need to focus on that yet, though; let's just make it work, first. After we have an Some info for reference:
|
@diasdavid @jbenet this is what I have in mind for integration right now. I shared it with the dat guys and they think it's doable on their end. I'm interested if you have technical or design issues to raise. |
I've hit an issue that'll need some thought. Chromium (and thus Electron) have a concept of "standard" URLs. You can read about them here. To make electron's webviews handle paths correctly (in links, in imgs, etc) we want Electron to treat the folder hash as the domain. Then, paths like in Here's the problem: the domain in standard URIs are case-insensitive. Once a protocol is registered as standard, chromium automatically runs toLowerCase on the domain. In base58/64, this destroys information. I've committed a basic integration. If you serve an Two possible solutions:
We might raise issues with electron, but that's an unlikely solution as well. |
Two small updates on my last post...
|
@pfraze Long story short:
|
Absolute paths like Edit: I'd actually go further than that and say that paths like |
@diasdavid hey, I'd like to do a call with the IPFS team, to hear about the vision for IPFS browser. Do you think we could schedule one? |
hey @pfraze I am really interested. A couple of weeks ago I attempted to make an ipfs-specific browser (specific to ipfs in every sense - even its components were on IPFS and makes it easier to be self-publish), I am happy to discuss design choices, I really love the approach in combining all the decentralized projects! great work! |
@nicola right on, ping me on IRC sometime and we can chat |
Are those times ==? I think they may be off by an hour. I can do Tuesday |
I can do tuesday too |
@pfraze you are right, fixed. Looking forward to chat today :) 9am PDT, 5pm WEST, 6pm UTC |
Same. How should we get in touch? Google hangout? On Tue, Jun 21, 2016 at 5:54 AM, David Dias notifications@github.com
|
Sent a cal invite with a Hangout URL :) |
Now basically working. The code has been moved into https://github.com/pfrazee/beaker-plugin-ipfs. Give it a shot! |
@pfrazee that repo link is dead now. What's the status of this a year later? |
Hey @Powersource, see my comment here #480 (comment) |
…l-pfrazee-changes Updates to the favicon drawing tool
Hi @pfraze, it was great to chat at the #DWebSummit and getting to know about
beaker
.Opening this issue so that we can continue our convo about IPFS integration and also invite other people in the community that might want to participate :)
Since beaker is an electron app, we can integrate either go-ipfs or js-ipfs, which in the short term, will give beaker's IPFS integration different properties, namely:
Either way, we are standardizing the js-ipfs-api (HTTP-API client library) and js-ipfs core APi to expose the same calls, so that devs don't have to change any code when using a remote daemon or a in process daemon.
I still need to look into
beaker
code to get familiar with it, but meanwhile if you can give some lights on the integration should be done, it would be great.Meanwhile, here is a short list of things that we will be doing in our side:
ipfsd
to use bin-wrapper Upgrade js-ipfsd-ctl to use bin-wrapper ipfs/js-ipfsd-ctl#78 so that it can be added to any electron app independently of the architecture.The text was updated successfully, but these errors were encountered: