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?

Imestin
  • 49
  • 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 `, then update a pin via `ipfs pin update `. – Discordian May 03 '21 at 04:04
  • Yes, now I'm doing `ipfs pin add -r /ipns/`, 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 03 '21 at 09:34
  • This is how I'm currently doing it https://github.com/imestin/ipfs-blog-daemon/tree/master/bash – Imestin May 03 '21 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 04 '21 at 15:18
  • 1
    Related: https://github.com/ipfs/go-ipfs/issues/4435 – Discordian Jul 13 '21 at 04:16

0 Answers0