diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2025-12-17 19:25:20 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2025-12-17 19:25:20 -0300 |
| commit | 18f9fe9ecf8e5eca1b1d7d908aa4acced7f4f897 (patch) | |
| tree | 696dd0802fa4ac9d6096c6f2c771dd691347292c | |
| parent | 862c7c0fe971c3754115fcac92a5dcc99845f67a (diff) | |
profile hypercustomization.
| -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 | ``` | ||