4 ms·
Is there a way to publish a web page of mine on ipfs while keeping a human readable name? E.g. so that ipfs://mydoma.in would "just work" with ipfs capable cli
by dcbadacd 7y ago
Is there a way to publish a web page of mine on ipfs while keeping a human readable name?
E.g. so that ipfs://mydoma.in would "just work" with ipfs capable clients and I can update it easily.
- nodja 7y agoThere's a way, but it relies on DNS, so it's not decentralized like the rest of IPFS and is susceptible to the usual DNS hijack attacks (or taken down by government entities, etc.) https://docs.ipfs.io/guides/concepts/dnslink/ https://docs.ipfs.io/guides/concepts/dnslink/ It'll be in the format /ipns/mydoma.in
- diggan 7y agoYeah, checkout dnslink, it's part of the strategy to bind dns names with ipfs hashes. It won't be ipfs://mydoma.in as the IPFS namespace is only content-address.
- dcbadacd 7y agoThanks for replying, I found that link myself and it seems quite usable, however that raises another question, are there some plans to add support for translating URIs transparently (ipfs://mydomai.in) into the IPFS content addresses or I have to just keep writing something like "This link is IPFS-only: https://sub.mydomai.in" https://sub.mydomai.in"?
- devttyeu 7y agoFirefox should already support ipfs:// and ipns:// with the IPFS Companion extension. See: * 'Support for Decentralization Protocols' in https://blog.mozilla.org/addons/2018/01/26/extensions-firefox-59/ https://blog.mozilla.org/addons/2018/01/26/extensions-firefo... * https://addons.mozilla.org/en-US/firefox/addon/ipfs-companion/ https://addons.mozilla.org/en-US/firefox/addon/ipfs-companio...
- humblebee 7y agoYou can do this if you have IPFS Companion installed. Eg: ipns://dist.ipfs.io => http://localhost:8080/ipns/dist.ipfs.io http://localhost:8080/ipns/dist.ipfs.io Firefox only as noted by devttyeu There is talk of adding signed HTTP exchanges (same thing AMP uses to achieve the same idea[0]), but with content hosted on IPFS[1]. Native support for this may land in Brave someday currently there is an effort around adding IPFS[2] [0] https://news.ycombinator.com/item?id=19678914 https://news.ycombinator.com/item?id=19678914 [1] https://github.com/ipfs/in-web-browsers/issues/121 https://github.com/ipfs/in-web-browsers/issues/121 [2] https://github.com/brave/brave-browser/issues/819#issuecomment-456039555 https://github.com/brave/brave-browser/issues/819#issuecomme...
- dcbadacd 7y agoReally cool, I'm eagerly awaiting for the signed HTTP exchanges.