mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Icon URL
This commit is contained in:
parent
b85741cae8
commit
d52b377dd4
5
82.md
5
82.md
|
@ -19,6 +19,7 @@ The description and visuals of an application are optionally provided via a link
|
|||
"tags": [
|
||||
["d", "<app-id>"], // Usually reverse domain notation: com.example.app
|
||||
["name", "<human-readable project name>"], // Name, in case wiki article is missing
|
||||
["icon", "<icon-url>"], // Icon URL: https://cdn.zap.store/8a8fc42aed83d76ccb48afd6eec40bb8b15af6296e03a27a9eeab015f07e2a54.png
|
||||
["repository", "<repo-url>"], // Source code repository URL: https://github.com/example/android
|
||||
["commit-id", "<sha1-commit-id>"], // SHA1 commit id used to build the release
|
||||
["a", "30818:<destination-pubkey>:<app-slug>", "<relay-url>"], // Pointer to NIP-54 wiki article
|
||||
|
@ -30,9 +31,9 @@ The description and visuals of an application are optionally provided via a link
|
|||
|
||||
All tags are optional except for `d`. Android applications MUST use the application identifier as the `d` tag.
|
||||
|
||||
The `content` field SHOULD be empty.
|
||||
The `content` field SHOULD be empty. For `icon` any URL is valid but a Blossom [BUD-01](https://github.com/hzrd149/blossom/blob/master/buds/01.md#get-sha256---get-blob) endpoint is recommended.
|
||||
|
||||
Clients SHOULD first check for the availability of the linked kind 30818 to retrieve the app description and display information contained in tags including `title`, `summary`, `image`, `icon`, `url`, `t`, etc.
|
||||
Clients SHOULD first check for the availability of the linked kind 30818 to retrieve the app description and display information contained in tags including `title`, `summary`, `image`, `icon`, `url`, `t`, etc. The `name` field MUST be used as fallback if `title` was not available.
|
||||
|
||||
Note on [NIP-89](89.md): Not all applications can or should handle nostr events. Those that do MAY choose to publish a NIP-89 event.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user