From 905b7cae54e81687aaa5c72e0cc49247396b4dae Mon Sep 17 00:00:00 2001 From: manime <686566+manimejia@users.noreply.github.com> Date: Thu, 30 Oct 2025 21:09:51 -0500 Subject: [PATCH 1/3] Add NIP referencing to External Content IDs Added a new specification in NIP 75 for linking to arbitrary NIP specifications, without hard-coding a URL or event ID. --- 73.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/73.md b/73.md index 7fb9a3c3c5..52f3831375 100644 --- a/73.md +++ b/73.md @@ -16,6 +16,7 @@ There are certain established global content identifiers such as [Book ISBNs](ht | Type | `i` tag | `k` tag | | --- | --- | --- | | URLs | "``" | "web" | +| Nostr NIPs | "`` OR ``:``" | "nip" | | Books | "isbn:``" | "isbn" | | Geohashes | "geo:``" | "geo" | | Movies | "isan:``" | "isan" | @@ -43,6 +44,38 @@ For the webpage "https://myblog.example.com/post/2012-03-27/hello-world" the "i" ] ``` +### Nostr NIPS + +Allow 'all of nostr' to reference, comment, and react on any published NIP spec in a standardized manner, regardless of which repo or nostr event kind they are posted to. Use a URL hint to suggest (without hard linking to) a specific repo (or nostr client) web page. + +A NIP published to GitHub (origional repo) looks like this: + +```jsonc +[ + ["i", "25", "https://github.com/nostr-protocol/nips/blob/master/25.md"], + ["k", "nip"] +] +``` + +A NIP published to NostrHub (kind: 30817) looks like this: + +```jsonc +[ + ["i", "nips-on-nostr:0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd", "https://nostrhub.io/naddr1qvzqqqrcvypzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqxku6tswvkk7m3ddehhxarjqk4nmy"], + ["k", "nip"] +] +``` + +A NIP published to WikiStr (kind: 30818) looks like this: + +```jsonc +[ + ["i", "nkbip-01:fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1", "https://njump.me/naddr1qvzqqqrcvgpzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnhd9hx2tcpzfmhxue69uhkummnw3eryvfwvdhk6tcpr3mhxue69uhhyetvv9ujuamfdd5kvun9v4jxjcfw0puh5tcpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtcqpphxkcnfwqknqvgzj8evv"], + ["k", "nip"] +] +``` + + ### Books: - Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030 From 1caec26f61f1dfc849dbf9fb9d4fc02d5a433968 Mon Sep 17 00:00:00 2001 From: manime <686566+manimejia@users.noreply.github.com> Date: Fri, 31 Oct 2025 08:50:36 -0500 Subject: [PATCH 2/3] add kind numbers to NIP references in 73.md --- 73.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/73.md b/73.md index 52f3831375..74c930d7b9 100644 --- a/73.md +++ b/73.md @@ -13,20 +13,20 @@ There are certain established global content identifiers such as [Book ISBNs](ht ## Supported IDs -| Type | `i` tag | `k` tag | -| --- | --- | --- | -| URLs | "``" | "web" | -| Nostr NIPs | "`` OR ``:``" | "nip" | -| Books | "isbn:``" | "isbn" | -| Geohashes | "geo:``" | "geo" | -| Movies | "isan:``" | "isan" | -| Papers | "doi:``" | "doi" | -| Hashtags | "#``" | "#" | -| Podcast Feeds | "podcast:guid:``" | "podcast:guid" | -| Podcast Episodes | "podcast:item:guid:``" | "podcast:item:guid" | -| Podcast Publishers | "podcast:publisher:guid:``" | "podcast:publisher:guid" | -| Blockchain Transaction | "``:[``:]tx:``" | "``:tx" | -| Blockchain Address | "``:[``:]address:`
`" | "``:address" | +| Type | `i` tag | `k` tag | +| --- | --- | --- | +| URLs | "``" | "web" | +| Nostr NIPs | "`` OR ``:``:``" | "nip" | +| Books | "isbn:``" | "isbn" | +| Geohashes | "geo:``" | "geo" | +| Movies | "isan:``" | "isan" | +| Papers | "doi:``" | "doi" | +| Hashtags | "#``" | "#" | +| Podcast Feeds | "podcast:guid:``" | "podcast:guid" | +| Podcast Episodes | "podcast:item:guid:``" | "podcast:item:guid" | +| Podcast Publishers | "podcast:publisher:guid:``" | "podcast:publisher:guid" | +| Blockchain Transaction | "``:[``:]tx:``" | "``:tx" | +| Blockchain Address | "``:[``:]address:`
`" | "``:address" | --- @@ -48,7 +48,7 @@ For the webpage "https://myblog.example.com/post/2012-03-27/hello-world" the "i" Allow 'all of nostr' to reference, comment, and react on any published NIP spec in a standardized manner, regardless of which repo or nostr event kind they are posted to. Use a URL hint to suggest (without hard linking to) a specific repo (or nostr client) web page. -A NIP published to GitHub (origional repo) looks like this: +A NIP published to GitHub (NIPs repo) looks like this: ```jsonc [ @@ -57,20 +57,20 @@ A NIP published to GitHub (origional repo) looks like this: ] ``` -A NIP published to NostrHub (kind: 30817) looks like this: +A NIP published to NostrHub looks like this: ```jsonc [ - ["i", "nips-on-nostr:0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd", "https://nostrhub.io/naddr1qvzqqqrcvypzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqxku6tswvkk7m3ddehhxarjqk4nmy"], + ["i", "30817:nips-on-nostr:0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd", "https://nostrhub.io/naddr1qvzqqqrcvypzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqxku6tswvkk7m3ddehhxarjqk4nmy"], ["k", "nip"] ] ``` -A NIP published to WikiStr (kind: 30818) looks like this: +A NIP published to WikiStr looks like this: ```jsonc [ - ["i", "nkbip-01:fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1", "https://njump.me/naddr1qvzqqqrcvgpzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyghwumn8ghj7mn0wd68ytnhd9hx2tcpzfmhxue69uhkummnw3eryvfwvdhk6tcpr3mhxue69uhhyetvv9ujuamfdd5kvun9v4jxjcfw0puh5tcpzamhxue69uhhyetvv9ujumn0wd68ytnzv9hxgtcqpphxkcnfwqknqvgzj8evv"], + ["i", "30818:nkbip-01:fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1", "https://wikistr.com/nkbip-01*fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"], ["k", "nip"] ] ``` From 6876490a7021b701ab6d75c135ce703db45550aa Mon Sep 17 00:00:00 2001 From: manime <686566+manimejia@users.noreply.github.com> Date: Fri, 31 Oct 2025 09:10:10 -0500 Subject: [PATCH 3/3] update `i` tag format for referencing NIPs in 73.md new format matches `a` tag standard. --- 73.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/73.md b/73.md index 74c930d7b9..db96c3046e 100644 --- a/73.md +++ b/73.md @@ -16,7 +16,7 @@ There are certain established global content identifiers such as [Book ISBNs](ht | Type | `i` tag | `k` tag | | --- | --- | --- | | URLs | "``" | "web" | -| Nostr NIPs | "`` OR ``:``:``" | "nip" | +| Nostr NIPs | "`` OR ``:``:``" | "nip" | | Books | "isbn:``" | "isbn" | | Geohashes | "geo:``" | "geo" | | Movies | "isan:``" | "isan" | @@ -46,7 +46,8 @@ For the webpage "https://myblog.example.com/post/2012-03-27/hello-world" the "i" ### Nostr NIPS -Allow 'all of nostr' to reference, comment, and react on any published NIP spec in a standardized manner, regardless of which repo or nostr event kind they are posted to. Use a URL hint to suggest (without hard linking to) a specific repo (or nostr client) web page. +Allow 'all of nostr' to reference, comment, and react on any published NIP spec in a standardized manner, regardless of which repo or nostr event kind they are posted to. The `i` tag is either a finalized NIP number or a standard format matching `a` tags (`:<32-bytes lowercase hex of a pubkey>:`) if referencing a published Nostr event. Use a URL hint to suggest a web page, without hard linking to a specific repo or nostr client. + A NIP published to GitHub (NIPs repo) looks like this: @@ -61,7 +62,7 @@ A NIP published to NostrHub looks like this: ```jsonc [ - ["i", "30817:nips-on-nostr:0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd", "https://nostrhub.io/naddr1qvzqqqrcvypzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqxku6tswvkk7m3ddehhxarjqk4nmy"], + ["i", "30817:0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd:nips-on-nostr", "https://nostrhub.io/naddr1qvzqqqrcvypzqprpljlvcnpnw3pejvkkhrc3y6wvmd7vjuad0fg2ud3dky66gaxaqqxku6tswvkk7m3ddehhxarjqk4nmy"], ["k", "nip"] ] ``` @@ -70,7 +71,7 @@ A NIP published to WikiStr looks like this: ```jsonc [ - ["i", "30818:nkbip-01:fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1", "https://wikistr.com/nkbip-01*fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"], + ["i", "30818:fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1:nkbip-01", "https://wikistr.com/nkbip-01*fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"], ["k", "nip"] ] ```