upleb.uk

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

summaryrefslogtreecommitdiff
path: root/F1.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2025-12-17 19:35:36 -0300
committerfiatjaf <fiatjaf@gmail.com>2025-12-17 19:35:36 -0300
commitfe013dfb75cdf22a393d5cb6264842cbf303f963 (patch)
tree1d1b40a5f8ecb51cc5dbeb797778a89298190b06 /F1.md
parent18f9fe9ecf8e5eca1b1d7d908aa4acced7f4f897 (diff)
Diffstat (limited to 'F1.md')
-rw-r--r--F1.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/F1.md b/F1.md
index a89b96c..3825c66 100644
--- a/F1.md
+++ b/F1.md
@@ -12,23 +12,26 @@ It's completely optional and clients may choose to fulfill only some of these ta
12 12
13## Tags 13## Tags
14 14
15| Tag | Type | Description | 15| Name | Value type | Description |
16| --- | ---- | ----------- | 16| --- | ---- | ----------- |
17| `background-color` | hex value | To be used by clients when displaying the user profile page | 17| `background-color` | hex value | To be used by clients when displaying the user profile page |
18| `foreground-color` | hex value | Idem | 18| `foreground-color` | hex value | Idem |
19| `background-music` | URL | Music that optionally plays when the profile is opened | 19| `background-music` | URL | Music that optionally plays when the profile is opened |
20| `priority_kinds` | stringified kind number (variadic) | Kinds to be displayed by default in the user profile page (rather than `kind:1` always) | 20| `priority_kinds` | stringified kind number (variadic) | Kinds to be displayed by default in the user profile page (rather than `kind:1` always) |
21| `custom` | string name, then value | An arbitrary field to be displayed along with the profile |
21 22
22## Example 23## Example
23 24
24```json 25```yaml
25{ 26{
26 "kind": 19999, 27 "kind": 19999,
27 "tags": [ 28 "tags": [
28 ["background-color", "#1a1a2e"], 29 ["background-color", "#1a1a2e"],
29 ["foreground-color", "#eee444"], 30 ["foreground-color", "#eee444"],
30 ["background-music", "https://example.com/music/profile-theme.mp3"], 31 ["background-music", "https://example.com/music/profile-theme.mp3"],
31 ["priority_kinds", "20", "30023", "21", "10009"] 32 ["priority_kinds", "20", "30023", "21", "10009"],
33 ["custom", "favorite fruit", "banana"],
34 ["custom", "pets?", "no"]
32 ], 35 ],
33 // ...other fields 36 // ...other fields
34} 37}