If you have the file hash and the labels that reference a file hash then you can opt to not even download the media beforehand. Saves bandwidth for everybody!

Reply to this note

Please Login to reply.

Discussion

Good point. It’s just how to publish the info once we have it. Who signs the event. Which key should the client trust for this info. It is not generated synchronously, and HTTP has a HEAD method that is cheaper than relay queries

Publish it with a key owned by the nostr.build service specifically for these matters and tell clients what that key is so they can trust it.

I’ll propose a PR to add trusted npub in the nip96 JSON. Probably a list of them, to allow rotation, etc