upleb.uk

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

summaryrefslogtreecommitdiff
path: root/17.md
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 /17.md
parent22244f9d2620ae4f064fc0f212dcb07675ced3ed (diff)
mention optional thumbhash alongside blurhash on nip17 and nip68.HEADmaster
Diffstat (limited to '17.md')
-rw-r--r--17.md1
1 files changed, 1 insertions, 0 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)