Step 1 of 5
The URL is the address
Kind 39701 is addressable and its d tag is the bookmarked URL, so each person has at most one bookmark per URL and saving it again updates it.
NIP-B0
DraftEvents
Save and share web bookmarks as kind 39701 events: the d tag is the bookmarked URL, and you can edit the title, tags and notes later.
Edit the form or the JSON: both stay in sync, the badge says whether the result is valid, and tapping any field explains it.
Not signed yet · Demo keys only. These personas' secret keys are public on purpose.
Select any field in the form or the JSON to see what it does.
Step 1 of 5
Kind 39701 is addressable and its d tag is the bookmarked URL, so each person has at most one bookmark per URL and saving it again updates it.
No course chapter covers this NIP yet. The editor above is the quickest way in.
Kind 39701 is addressable, as defined in NIP-01.
Comments on bookmarks are NIP-22 comments.
NIP-51 bookmark lists collect notes; NIP-B0 saves web pages, one event each.
Specification text is quoted in English from the nostr-protocol/nips repository. Our explanations and the interface are translated. Source on GitHub at commit 0046368
This NIP defines kind:39701 for a URI as editable web bookmark.
The format uses kind:39701.
The .content should be a detailed description of the web bookmark. It can be an empty string.
The d tag is just their URI. All characters before the hostname should be omitted if the scheme is https.
In this way web bookmarks events can be queried by the d tag by clients.
Metadata fields can be added as tags to the event as necessary.
"t", for "tags"/"hashtags" (i.e. topics about which the event might be of relevance)"published_at", for the timestamp in unix seconds (stringified) of the first time the bookmark was published"title", title about bookmark and can be used as a attribute for the HTML link element{
"kind": 39701,
"id": "d7a92714f81d0f712e715556aee69ea6da6bfb287e6baf794a095d301d603ec7",
"pubkey": "2729620da105979b22acfdfe9585274a78c282869b493abfa4120d3af2061298",
"created_at": 1738869705,
"tags": [
// Required tags
["d", "alice.blog/post"],
// Optional tags
["published_at", "1738863000"],
["title", "Blog insights by Alice"],
["t", "post"],
["t", "insight"]
],
"content": "A marvelous insight by Alice about the nature of blogs and posts.",
"sig": "36d34e6448fe0223e9999361c39c492a208bc423d2fcdfc2a3404e04df7c22dc65bbbd62dbe8a4373c62e4d29aac285b5aa4bb9b4b8053bd6207a8b45fbd0c98"
}
Replies to kind:39701 MUST use kind 1111 events as comments with NIP-22.