nips icon indicating copy to clipboard operation
nips copied to clipboard

External Content IDs

Open MerryOscar opened this issue 1 year ago • 4 comments

There are certain established global content identifiers that would be useful to reference in nostr events so that clients can query all events associated with these ids.

Formalising the way these ids are referenced in nostr events would make it much easier for developers to build open versions of popular services like IMDB, GoodReads etc. built on nostr.

MerryOscar avatar Apr 20 '24 10:04 MerryOscar

lgtm. Wavlake can use this format on audio track events.

blastshielddown avatar Apr 25 '24 15:04 blastshielddown

This is very close in what it does to NIP-48 proxy tags. I wonder if they should be combined? Or even if NIP-48 should be deprecated in favor of this?

alexgleason avatar May 09 '24 17:05 alexgleason

This is very close in what it does to NIP-48 proxy tags. I wonder if they should be combined? Or even if NIP-48 should be deprecated in favor of this?

@alexgleason yes I did consider just using NIP-48 proxy tags for this use case - see https://github.com/nostr-protocol/nips/issues/760 for the thinking. But in the end I understood NIP-48 to be more about referencing other posts from different protocols whereas this idea is just a link to some external content id. You might actually have a proxy tag and an i tag in the same nostr event - for example if you were using a book review site that supported both nostr and activitypub.

Also the proxy tag isn't indexed by relays default (although it would be great if this requirement was relaxed!)

MerryOscar avatar May 09 '24 18:05 MerryOscar

Fountain is now using these i tags to reference podcasts via the podcast:guid namespace. Wavlake is also supporting with their audio tracks. You can see an example on Fountain here - https://fountain.fm/show/vnmoRQQ50siLFRE8k061 (see the latest note on the activity tab)

@staab @Semisol @v0l do you see any objection to merging this? (still needs a nip number which I can add)

MerryOscar avatar May 27 '24 13:05 MerryOscar

FanFares is using this 👍 @staab

arkin0x avatar Aug 02 '24 18:08 arkin0x

Great, that's the 2 client threshold, @MerryOscar if you could update to add a NIP number, I think we can merge this.

staab avatar Aug 05 '24 15:08 staab

DTAN also uses i tags for IMDB links etc https://git.v0l.io/Kieran/dtan/src/commit/dd31d27914902fb025da95b4a84f6b70c939976d/src/nostr-torrent.ts#L200

v0l avatar Aug 05 '24 17:08 v0l

@staab FYI I added a podcast:publisher:guid example - both Fountain and Wavlake are using these - https://github.com/nostr-protocol/nips/pull/1185/commits/14c3310039cf7ac8140e6e27f5a7c47ec8f47a30

MerryOscar avatar Aug 05 '24 22:08 MerryOscar

Cool, last thing is to change XX to a nip number of your choice

staab avatar Aug 05 '24 22:08 staab

@staab I went with NIP-73 as didn't see any open PRs with this number - https://github.com/nostr-protocol/nips/pull/1185/commits/4d9eb32dc9062868d0d61c15456935dad39364de

MerryOscar avatar Aug 05 '24 22:08 MerryOscar