upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2026-04-28 21:23:12 -0300
committerfiatjaf <fiatjaf@gmail.com>2026-04-28 21:23:12 -0300
commit05d3f198c61c2732ccf15ba8005299365dabb8e0 (patch)
tree855cccc87eb4df87e7a886398e1b6bd3d0c7a9c0
parent22244f9d2620ae4f064fc0f212dcb07675ced3ed (diff)
mention optional thumbhash alongside blurhash on nip17 and nip68.HEADmaster
-rw-r--r--17.md1
-rw-r--r--68.md3
2 files changed, 3 insertions, 1 deletions
diff --git a/17.md b/17.md
index 3ccdc77..6e44b0d 100644
--- a/17.md
+++ b/17.md
@@ -80,6 +80,7 @@ Kind `15` is used for sending encrypted file event messages:
80- `ox` containing the SHA-256 hexencoded string of the file before encryption. 80- `ox` containing the SHA-256 hexencoded string of the file before encryption.
81- `size` (optional) size of the encrypted file in bytes 81- `size` (optional) size of the encrypted file in bytes
82- `dim` (optional) size in pixels in the form `<width>x<height>` 82- `dim` (optional) size in pixels in the form `<width>x<height>`
83- `thumbhash`(optional) the [thumbhash](https://evanw.github.io/thumbhash/) to show while the client is loading the file
83- `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the client is loading the file 84- `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the client is loading the file
84- `thumb` (optional) URL of thumbnail with same aspect ratio (encrypted with the same key, nonce) 85- `thumb` (optional) URL of thumbnail with same aspect ratio (encrypted with the same key, nonce)
85- `fallback` (optional) zero or more fallback file sources in case `url` fails (encrypted with the same key, nonce) 86- `fallback` (optional) zero or more fallback file sources in case `url` fails (encrypted with the same key, nonce)
diff --git a/68.md b/68.md
index 918378a..89b9589 100644
--- a/68.md
+++ b/68.md
@@ -31,6 +31,7 @@ They may contain multiple images to be displayed as a single post.
31 "imeta", 31 "imeta",
32 "url https://nostr.build/i/my-image.jpg", 32 "url https://nostr.build/i/my-image.jpg",
33 "m image/jpeg", 33 "m image/jpeg",
34 "thumbhash zOcFFIIKmXdCinaXaHcmcHUFSA==",
34 "blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$", 35 "blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$",
35 "dim 3024x4032", 36 "dim 3024x4032",
36 "alt A scenic photo overlooking the coast of Costa Rica", 37 "alt A scenic photo overlooking the coast of Costa Rica",
@@ -42,7 +43,7 @@ They may contain multiple images to be displayed as a single post.
42 "imeta", 43 "imeta",
43 "url https://nostr.build/i/my-image2.jpg", 44 "url https://nostr.build/i/my-image2.jpg",
44 "m image/jpeg", 45 "m image/jpeg",
45 "blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$", 46 "thumbhash zOcFFIIKmXgzmWaXWIcmcFQEGA",
46 "dim 3024x4032", 47 "dim 3024x4032",
47 "alt Another scenic photo overlooking the coast of Costa Rica", 48 "alt Another scenic photo overlooking the coast of Costa Rica",
48 "x <sha256 hash as specified in NIP 94>", 49 "x <sha256 hash as specified in NIP 94>",