Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion 17.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ Kind `15` is used for sending encrypted file event messages:
- `ox` containing the SHA-256 hexencoded string of the file before encryption.
- `size` (optional) size of the encrypted file in bytes
- `dim` (optional) size in pixels in the form `<width>x<height>`
- `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the client is loading the file
- `thumbhash` (optional) the [thumbhash](https://evanw.github.io/thumbhash/) to show while the file is being loaded by the client
- `blurhash`(deprecated) the [blurhash](https://github.com/woltapp/blurhash) to show while the file is being loaded by the client
- `thumb` (optional) URL of thumbnail with same aspect ratio (encrypted with the same key, nonce)
- `fallback` (optional) zero or more fallback file sources in case `url` fails (encrypted with the same key, nonce)

Expand Down
1 change: 1 addition & 0 deletions 24.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ These are extra fields not specified in NIP-01 that may be present in the string
- `display_name`: an alternative, bigger name with richer characters than `name`. `name` should always be set regardless of the presence of `display_name` in the metadata.
- `website`: a web URL related in any way to the event author.
- `banner`: an URL to a wide (~1024x768) picture to be optionally displayed in the background of a profile screen.
- `thumbhash`: the [thumbhash](https://evanw.github.io/thumbhash/) to show while the file is being loaded by the client
- `bot`: a boolean to clarify that the content is entirely or partially the result of automation, such as with chatbots or newsfeeds.
- `birthday`: an object representing the author's birth date. The format is { "year": number, "month": number, "day": number }. Each field MAY be omitted.

Expand Down
4 changes: 2 additions & 2 deletions 68.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ They may contain multiple images to be displayed as a single post.
"imeta",
"url https://nostr.build/i/my-image.jpg",
"m image/jpeg",
"blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$",
"thumbhash mxgOFwJ4iYePiHh6d3eIh3d5OA4G5GAC",
"dim 3024x4032",
"alt A scenic photo overlooking the coast of Costa Rica",
"x <sha256 hash as specified in NIP 94>",
Expand All @@ -42,7 +42,7 @@ They may contain multiple images to be displayed as a single post.
"imeta",
"url https://nostr.build/i/my-image2.jpg",
"m image/jpeg",
"blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$",
"thumbhash mxgOFwJ4iYePiHh6d3eIh3d5OA4G5GAC",
"dim 3024x4032",
"alt Another scenic photo overlooking the coast of Costa Rica",
"x <sha256 hash as specified in NIP 94>",
Expand Down
2 changes: 1 addition & 1 deletion 92.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ any field specified by [NIP 94](./94.md). There SHOULD be only one `imeta` tag p
"imeta",
"url https://nostr.build/i/my-image.jpg",
"m image/jpeg",
"blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$",
"thumbhash mxgOFwJ4iYePiHh6d3eIh3d5OA4G5GAC",
"dim 3024x4032",
"alt A scenic photo overlooking the coast of Costa Rica",
"x <sha256 hash as specified in NIP 94>",
Expand Down
5 changes: 3 additions & 2 deletions 94.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ This NIP specifies the use of the `1063` event kind, having in `content` a descr
* `dim` (optional) size of file in pixels in the form `<width>x<height>`
* `magnet` (optional) URI to magnet file
* `i` (optional) torrent infohash
* `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the file is being loaded by the client
* `thumbhash` (optional) the [thumbhash](https://evanw.github.io/thumbhash/) to show while the file is being loaded by the client
* `blurhash` (deprecated) the [blurhash](https://github.com/woltapp/blurhash) to show while the file is being loaded by the client
* `thumb` (optional) url of thumbnail with same aspect ratio
* `image` (optional) url of preview image with same dimensions
* `summary` (optional) text excerpt
Expand All @@ -40,7 +41,7 @@ This NIP specifies the use of the `1063` event kind, having in `content` a descr
["dim", <size of file in pixels>],
["magnet", <magnet URI> ],
["i", <torrent infohash>],
["blurhash", <value>],
["thumbhash", <value>],
["thumb", <string with thumbnail URI>, <Hash SHA-256>],
["image", <string with preview URI>, <Hash SHA-256>],
["summary", <excerpt>],
Expand Down