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

Replace Dropbox integration with IPFS #1

Open
davidar opened this issue Sep 30, 2015 · 7 comments
Open

Replace Dropbox integration with IPFS #1

davidar opened this issue Sep 30, 2015 · 7 comments

Comments

@davidar
Copy link
Owner

davidar commented Sep 30, 2015

Instead of opening/saving files using Dropbox, we should use IPFS as the storage backend.

  • IPFS Haskell API: ipfs/ipfs#4

CC: @osener @jamescarlyle @jbenet @diasdavid @bitemyapp @puffnfresh

@bitemyapp
Copy link

@davidar what's the current state of hs-ipfs-api? I poked through it a few weeks ago, nothing looked particularly objectionable but I couldn't gauge where it was progress-wise.

@davidar
Copy link
Owner Author

davidar commented Oct 1, 2015

State of the Haskell ecosystem

IPFS

Rating: Immature

@bitemyapp Sorry, I've been neglecting hs-ipfs-api (and I still need to address your PR :/ ), as I haven't really had much practical use for it yet (I'm waiting for IPLD to land). However, if people are interested in getting apps like markup.rocks integrated with IPFS, then it might be a kick in the pants to get the necessary functionality into hs-ipfs-api.

@davidar
Copy link
Owner Author

davidar commented Oct 4, 2015

It looks like most of the dropbox-specific code is in static/jsbits.js. @diasdavid Would it be possible to make a drop-in replacement for IPFS?

Ideally, I'd like to be able to link to ...markup.rocks/#/ipfs/<hash-of-file-to-load> which would automatically open the specified file. When you saved the file, it would then update the hash in the URL bar to reference the current version. @osener Would that be difficult to do?

@daviddias
Copy link

@davidar 'updatable' hashes are part of the IPNS spec, so it is totally doable :). To load an asset from IPFS on a URL hash (#/ipfs/..), you would have to have some JS code on your markup.rocks app that captures that hash and fetches the file for you, right now that can be done with node-ipfs-api

@davidar
Copy link
Owner Author

davidar commented Nov 7, 2015

Loading documents specified by the URL hash now works. Example

@jbenet
Copy link

jbenet commented Nov 8, 2015

@davidar very nice! thanks. add it to https://github.com/ipfs/awesome-ipfs

@davidar
Copy link
Owner Author

davidar commented Aug 5, 2016

also see ipfs/notes#149

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

No branches or pull requests

4 participants