upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-11-16 12:26:50 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-11-16 12:26:50 -0300
commit2a0b701ff77d4ffd686661d829b7b7091e29589b (patch)
tree886aeaba023f06890c57db93731e82f5dcf9d349
parent31382e57a1fabea855300461e7ef2dc751aaba61 (diff)
add bookmark sets (following @staab).
-rw-r--r--51.md33
-rw-r--r--README.md1
2 files changed, 18 insertions, 16 deletions
diff --git a/51.md b/51.md
index 8671370..ab15be4 100644
--- a/51.md
+++ b/51.md
@@ -25,16 +25,16 @@ browsing experience.
25For example, _mute lists_ can contain the public keys of spammers and bad actors users don't want to see in 25For example, _mute lists_ can contain the public keys of spammers and bad actors users don't want to see in
26their feeds or receive annoying notifications from. 26their feeds or receive annoying notifications from.
27 27
28| name | kind | description | expected tag items | 28| name | kind | description | expected tag items |
29| --- | --- | --- | --- | 29| --- | --- | --- | --- |
30| Mute list | 10000 | things the user doesn't want to see in their feeds | `"p"` (pubkeys), `"t"` (hashtags), `"word"` (lowercase string), `"e"` (threads) | 30| Mute list | 10000 | things the user doesn't want to see in their feeds | `"p"` (pubkeys), `"t"` (hashtags), `"word"` (lowercase string), `"e"` (threads) |
31| Pinned notes | 10001 | events the user intends to showcase in their profile page | `"e"` (kind:1 notes) | 31| Pinned notes | 10001 | events the user intends to showcase in their profile page | `"e"` (kind:1 notes) |
32| Bookmarks | 10003 | things the user intends to save for the future | `"e"` (kind:1 notes), `"a"` (kind:30023 articles) | 32| Bookmarks | 10003 | uncategorized, "global" list of things a user wants to save | `"e"` (kind:1 notes), `"a"` (kind:30023 articles), `"t"` (hashtags), `"r" (URLs)` |
33| Communities | 10004 | [NIP-72](72.md) communities the user belongs to | `"a"` (kind:34550 community definitions) | 33| Communities | 10004 | [NIP-72](72.md) communities the user belongs to | `"a"` (kind:34550 community definitions) |
34| Public chats | 10005 | [NIP-28](28.md) chat channels the user is in | `"e"` (kind:40 community definitions) | 34| Public chats | 10005 | [NIP-28](28.md) chat channels the user is in | `"e"` (kind:40 community definitions) |
35| Blocked relays | 10006 | relays clients should never connect to | `"relay"` (relay URLs) | 35| Blocked relays | 10006 | relays clients should never connect to | `"relay"` (relay URLs) |
36| Search relays | 10007 | relays clients should use when performing search queries | `"relay"` (relay URLs) | 36| Search relays | 10007 | relays clients should use when performing search queries | `"relay"` (relay URLs) |
37| Emojis | 10030 | user preferred emojis and pointers to emoji sets | `"emoji"` (see [NIP-30](30.md)) and `"a"` (kind:30030 emoji set) | 37| Emojis | 10030 | user preferred emojis and pointers to emoji sets | `"emoji"` (see [NIP-30](30.md)) and `"a"` (kind:30030 emoji set) |
38 38
39## Sets 39## Sets
40 40
@@ -49,12 +49,13 @@ can be used by apps to showcase curations made by others tagged to different top
49Aside from their main identifier, the `"d"` tag, sets can optionally have a `"name"`, a `"picture"` and an 49Aside from their main identifier, the `"d"` tag, sets can optionally have a `"name"`, a `"picture"` and an
50`"about"` tag that can be used to enhance their UI. 50`"about"` tag that can be used to enhance their UI.
51 51
52| name | kind | description | expected tag items | 52| name | kind | description | expected tag items |
53| --- | --- | --- | --- | 53| --- | --- | --- | --- |
54| Follow sets | 30000 | categorized groups of users a client may choose to check out in different circumstances | `"p"` (pubkeys) | 54| Follow sets | 30000 | categorized groups of users a client may choose to check out in different circumstances | `"p"` (pubkeys) |
55| Relay sets | 30002 | user-defined relay groups the user can easily pick and choose from during variadic operations | `"relay"` (relay URLs) | 55| Relay sets | 30002 | user-defined relay groups the user can easily pick and choose from during various operations | `"relay"` (relay URLs) |
56| Curation sets | 30004 | groups of articles picked by users as interesting and/or belonging to the same category | `"a"` (kind:30023 articles), `"e"` (kind:1 notes) | 56| Bookmark sets | 30003 | user-defined bookmarks categories , for when bookmarks must be in labeled separate groups | `"e"` (kind:1 notes), `"a"` (kind:30023 articles), `"t"` (hashtags), `"r" (URLs)` |
57| Emoji sets | 30030 | categorized emoji groups | `"emoji"` (see [NIP-30](30.md)) | 57| Curation sets | 30004 | groups of articles picked by users as interesting and/or belonging to the same category | `"a"` (kind:30023 articles), `"e"` (kind:1 notes) |
58| Emoji sets | 30030 | categorized emoji groups | `"emoji"` (see [NIP-30](30.md)) |
58 59
59## Deprecated standard lists 60## Deprecated standard lists
60 61
diff --git a/README.md b/README.md
index 91d6f84..36d5fc0 100644
--- a/README.md
+++ b/README.md
@@ -123,6 +123,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
123| `30000` | Follow sets | [51](51.md) | 123| `30000` | Follow sets | [51](51.md) |
124| `30001` | Generic lists | [51](51.md) | 124| `30001` | Generic lists | [51](51.md) |
125| `30002` | Relay sets | [51](51.md) | 125| `30002` | Relay sets | [51](51.md) |
126| `30003` | Bookmark sets | [51](51.md) |
126| `30004` | Curation sets | [51](51.md) | 127| `30004` | Curation sets | [51](51.md) |
127| `30008` | Profile Badges | [58](58.md) | 128| `30008` | Profile Badges | [58](58.md) |
128| `30009` | Badge Definition | [58](58.md) | 129| `30009` | Badge Definition | [58](58.md) |