Emit top-level x tags for the primary media and thumbnail SHA-256 hashes (with the primary also inside imeta) when publishing. Parsed photos expose the hash set, and photo deletion prefers it over extracting hashes from Blossom URLs, keeping URL extraction as a fallback for legacy events.
1.5 KiB
1.5 KiB
Notes
- NIP-73 (External Content IDs) is the basis for the
itag mechanism.osm:is now defined by NIP-73 itself (merged 2026-11-16 via PR #2224, commit bec0fc8); our place NIPs only use that scheme. https://github.com/nostr-protocol/nips/blob/master/73.md - Rejected alternative: add an
itag to NIP-68 (kind 20) picture events. Chosen: a dedicated kind 360. NIP-68/92/94 remain background (92imetais load-bearing for kind 360). - Places NIP-XX draft PR: https://github.com/nostr-protocol/nips/pull/927 — closed/unmerged; useful as prior art / reviewer prehistory, do not cite as precedent.
- NPM package for generating multi-resolution geotags: https://sandwichfarm.github.io/nostr-geotags/#md:nostr-geotags
- AppleSauce docs for AI agents: https://applesauce.build/introduction/mcp-server.html
- Live data (wss://nostr.kosmos.org, 2026-11-11): 149 kind 360 events, all
i=osm:<type>:<id>, none with aktag, all with empty.content. - Kind 360 carries the media SHA-256 as top-level
xtags (primary media and thumbnail, with the primary also insideimeta) when known (issue #122). Top-level placement follows NIP-68, which already does this "to make them queryable"; hashes nested only inimeta(NIP-71) cannot be filtered on. Marco emits the tags from the hashes returned byblossom.upload, and parses them back for deletion so URLs without an embedded hash still work, including the thumbnail blob. Spec:doc/nostr/nip-place-photos.md.