2

What is the correct way to add an IPNS site to ipfs-desktop? The purpose would be to seed a website on several computers, let's say 5. So, I give my IPNS link to 5 of my friends. How can they contribute to hosting that site?

5
  • 1
    Currently I don't think there's a built-in way to do it. You could use a cronjob, and check if the ipns address has updated via ipfs name resolve <ipnsAddr>, then update a pin via ipfs pin update <oldCID> <newCID>.
    – Discordian
    May 3, 2021 at 4:04
  • Yes, now I'm doing ipfs pin add -r /ipns/<ipnsAddr>, but cronjob is necessary. Pinning the IPNS address itself will keep the old versions as well, I didn't know about pin update.
    – Imestin
    May 3, 2021 at 9:34
  • This is how I'm currently doing it github.com/imestin/ipfs-blog-daemon/tree/master/bash
    – Imestin
    May 3, 2021 at 18:30
  • 1
    That's exactly how I'd do it currently (I'm hoping a feature like IPNS pinning will be available in the future), ipfs pin update is really useful as it'll automatically unpin the old blocks.
    – Discordian
    May 4, 2021 at 15:18
  • 1
    Related: github.com/ipfs/go-ipfs/issues/4435
    – Discordian
    Jul 13, 2021 at 4:16

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.