Skip to content
This repository has been archived by the owner. It is now read-only.

How does an ipfs app update itself? #13

Closed
rdrey opened this issue Apr 10, 2015 · 4 comments
Closed

How does an ipfs app update itself? #13

rdrey opened this issue Apr 10, 2015 · 4 comments
Labels

Comments

@rdrey
Copy link

rdrey commented Apr 10, 2015

If I wanted to host an app completely on ipfs (no external servers and feeds), I'd share the hashed address of my app, right?

How do I update any content in the app? How do I update the app itself? I'm assuming that any change to my app will result in a new hash / address, which I will have to distribute via an out-of-band channel?

Thanks, interesting project!

@jbenet
Copy link
Contributor

jbenet commented Apr 10, 2015

If I wanted to host an app completely on ipfs (no external servers and feeds), I'd share the hashed address of my app, right?

Yes.

How do I update any content in the app? How do I update the app itself? I'm assuming that any change to my app will result in a new hash / address, which I will have to distribute via an out-of-band channel?

Yes, for /ipfs/... paths. But /<ipns>/... paths are mutable. IPNS isn't fully robust yet, but you can already try it out. check it with both ipfs name and with the /ipns/local/ after ipfs mount.

We probably need an example of how to use IPNS.

cc @whyrusleeping

@rdrey
Copy link
Author

rdrey commented Apr 10, 2015

Ah cool, thanks. I'll check it out. :)

@whyrusleeping
Copy link

whyrusleeping commented Apr 10, 2015

I have a little ipns example here: https://github.com/ipfs/examples/tree/master/examples/ipns

@madavieb
Copy link

madavieb commented May 23, 2017

This issue has been moved to https://discuss.ipfs.io/t/how-does-an-ipfs-app-update-itself/296.

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

No branches or pull requests

5 participants