mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-08-31 21:40:48 -04:00
01.md
02.md
03.md
04.md
05.md
06.md
07.md
08.md
09.md
10.md
11.md
12.md
13.md
14.md
15.md
16.md
17.md
18.md
19.md
20.md
21.md
22.md
23.md
24.md
25.md
26.md
27.md
28.md
29.md
30.md
31.md
32.md
33.md
34.md
35.md
36.md
37.md
38.md
39.md
40.md
42.md
44.md
45.md
46.md
47.md
48.md
49.md
50.md
51.md
52.md
53.md
54.md
55.md
56.md
57.md
58.md
59.md
60.md
61.md
62.md
64.md
65.md
66.md
68.md
69.md
70.md
71.md
72.md
73.md
75.md
77.md
78.md
7D.md
84.md
86.md
87.md
88.md
89.md
90.md
92.md
94.md
96.md
98.md
99.md
A0.md
B0.md
B7.md
BREAKING.md
C0.md
C7.md
EE.md
README.md
1.6 KiB
1.6 KiB
NIP-B0
Web Bookmarking
draft
optional
This NIP defines kind:39701
for a URI as editable web bookmark which uses the HTTP scheme.
Format
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 URL without the scheme, which is always and everywhere assumed to be https://
or http://
.
In this way web bookmarks events can be queried by the d
tag by clients.
Metadata
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
Example event
{
"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 & Comments
Replies to kind 39701
MUST use kind 1111
events as comments with NIP-22.