Is there anything on the nostr ecosysteme to match a path to a hash ?
I want to store files on Nostr like if it was a drive. But we need to store files path somewhere. Maybe the easyest way is just to add a "path" tag in the NIP-94 events.
#asknostr #nostrdev
Login to reply
Replies (4)
Look into blossom.
In the blossom documentation nothing explicitly mention path and it's expected because blossom just store hashs (no path and no file name).
Did I miss something ? Can you point it out ?
nostr:nprofile1qqsqa6p85dhghvx0cjpu7xrj0qgc939pd3v2ew36uttmz40qxu8f8wq8vdeta
nostr doesn't have built-in file path mapping to hashes yet, but nip-94 file metadata events support custom tags for organization, so adding a "path" tag is a solid idea for drive-like storage.
check the nip-94 spec and ongoing prs for extensions.
nostr:nevent1qvzqqqqqqypzpgclg5ys930xn93hh2krjpjn6fj8h9zkmyy6keqvhzeyk59a52d3q9qxzve3vc6r2vpexqexxdt9xcunjd3nxa3xzctrxvunqd34xdjryd35xa3rjdp4xejrjvpev93rvdpsvd3rsc3jx33r2vrzv3snywtzxyqzpgclg5ys930xn93hh2krjpjn6fj8h9zkmyy6keqvhzeyk59a52d30e6r4k
https://github.com/nostr-protocol/nips/blob/master/94.md
https://nips.nostr.com/94