diff options
| -rw-r--r-- | F1.md | 35 |
1 files changed, 35 insertions, 0 deletions
| @@ -0,0 +1,35 @@ | |||
| 1 | NIP-F1 | ||
| 2 | ====== | ||
| 3 | |||
| 4 | Profile Hypercustomization | ||
| 5 | -------------------------- | ||
| 6 | |||
| 7 | `draft` `optional` | ||
| 8 | |||
| 9 | This NIP describes a new event `kind:19999` that can be used for multiple optional and weird forms of profile customization, such as extra colors, extra pictures, preferences and background music. | ||
| 10 | |||
| 11 | It's completely optional and clients may choose to fulfill only some of these tags, or none. Clients may also allow users to turn off these customizations or not. | ||
| 12 | |||
| 13 | ## Tags | ||
| 14 | |||
| 15 | | Tag | Type | Description | | ||
| 16 | | --- | ---- | ----------- | | ||
| 17 | | `background-color` | hex value | To be used by clients when displaying the user profile page | | ||
| 18 | | `foreground-color` | hex value | Idem | | ||
| 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) | | ||
| 21 | |||
| 22 | ## Example | ||
| 23 | |||
| 24 | ```json | ||
| 25 | { | ||
| 26 | "kind": 19999, | ||
| 27 | "tags": [ | ||
| 28 | ["background-color", "#1a1a2e"], | ||
| 29 | ["foreground-color", "#eee444"], | ||
| 30 | ["background-music", "https://example.com/music/profile-theme.mp3"], | ||
| 31 | ["priority_kinds", "20", "30023", "21", "10009"] | ||
| 32 | ], | ||
| 33 | // ...other fields | ||
| 34 | } | ||
| 35 | ``` | ||