Some ideas that would be interesting to explore:

- A file provider like https://nostr.build but offering torrent seeding instead of direct downloads

- A platform for turning torrent magnet links into images (caching them briefly)

- Nostr clients uploading stuff (small images) to these torrent providers and inserting the magnet links in the notes

- Nostr clients that download render magnet links as images (if file size and content-type are applicable)

- Nostr clients that don't want to download torrents directly can turn the magnet links into normal image links from the aforementioned platform

Reply to this note

Please Login to reply.

Discussion

#[1]

I had started a proof-of-concept of this for Astral. Wasn’t sure if the community wanted this. Can pick it back up. Devs, check out https://webtorrent.io ...

My main concern is whether it’s feasible to implement a torrent client inside a Swift app (Damus). Any iOS devs know / have an educated guess?

I think this enables somewhat decentralized image-hosting:

- The torrent metainfo/magnet is derived from the file content for each image doesn't change, so even if one provider (or yourself) goes offline it can be in multiple others

- Since the magnet link doesn't change even if the provider that turns magnet links into HTTP images dies, the clients can just replace it with a different one, the notes do not lose their content

- Each of these steps can be done by different people, with different degrees with redundancy, cost and pricing

These can be trick to implement due to abuse concerns, but I'm sure there are solutions available in your imagination.

interestinnnnng

InB4 IPFS 😆

I’m experimenting with relay Favicon and pubkey profile image caching. I found relying on the hosts for pubkey pictures people use today can give good and bad load times. It’s inconsistent.

Maybe smaller image hosting leads us to the winning larger files approach.

#[1]

Take a look of https://skynetlabs.com/ using decentralized web and imposible to censured a file I think is a good solution