damus icon indicating copy to clipboard operation
damus copied to clipboard

[Feature Request] Add IPFS support for images and files

Open wdpatti opened this issue 2 years ago • 1 comments

Let files/images load from IPFS when a post contains ipfs://[cid]. First, check if the file is an image, then add a button in the post to load the image. If it is a file, add a download button that will download it to Files. All of this can be done by using an external gateway or a local node. This would help with Nostr's vision of decentralization, as having files always link to external sources using DNS is centralized.

If Damus includes a local IPFS node, then there could be a built-in file uploader that stores files not only on your machine, but with a pinning service as well. Damus could also run its own gateway just like it runs its own relay.

Hope this is a reasonable idea!

wdpatti avatar Dec 22 '22 00:12 wdpatti

The same idea under discussion in Amethyst - it would be great to see ipfs:// support in both clients.

It seems there is a lightweight IOS IPFS client that can do media get/put without needing a full IPFS node.

kdunn926 avatar Feb 06 '23 19:02 kdunn926

not a fan of ipfs tbh

jb55 avatar May 06 '24 21:05 jb55