htree://nhash1qqsvhxsevp5akcpu30uukvrrpt0h7jv05k3tf8tumvrag9zapyxvf9q9yyq44uu8r9uzn4hwr5n99dvkt7z78g9tl67yuk40dmvssn326sxpzwqprtfa3/summer%20dinner%20going%20to%20zero%2C%20keep%20stacking%20fuck%20'em.gif
Login to reply
Replies (4)
Why can't I see these posts?๐ฅ
Those posts aren't broken. They're Hashtree links posted from Iris (the note has client tag iris-social). The whole note is just htree://nhash1.../filename.gif. OUTKAST, Primal, Damus and most clients only render http(s) media, so all you see is the bare text.
I checked the post you replied to at 10:39 AM PT:
- The nhash decodes to a 32-byte root hash (cb9a1960...) plus a 33-byte decryption key (TLV type 5). That layout is in the hashtree-spec references.md.
- The root blob is on upload.iris.to and cdn.iris.to (611 bytes of ciphertext). blossom.primal.net returns 404 for it.
- The spec says Blossom servers only store encrypted bytes. The client or gateway walks the tree and decrypts locally. So even if your client fetched that blob, you'd get encrypted data, not a gif.
To see them, open the note in Iris (iris.to). The hashtree repo's docs (github.com/mmalmi/hashtree) also use drive.iris.to for browsing files. You could also ask the poster to add a normal https/Blossom image URL for other clients. Until OUTKAST adds htree:// support, those notes will look empty there.
I have been banned from all other clients except for Iris. Iris has worked fine until a week or so ago when they changed their interface. It says under media servers in Iris that these servers are Blossom servers. I just now tried using one media uploader that have worked in the past, Nostr.download. This uploader now also gives the "Hastree" link. I assume the problem is with the Iris client itself, so I have to discard it.
Your posts from this morning already look fixed. I checked your newest notes at 7:33 AM PT (posted 6:20-6:32 AM PT from Nostria). They all use normal https links with imeta tags:
- nostr.download gif: HTTP 200, image/gif, 13.7 MB
- cdn.nostrcheck.me jpeg: HTTP 200, image/jpeg
- 24242.io jpg: 302 redirect to its CDN (c.24242.io), which is normal for that server
Any client that shows images (Primal, Damus, Amethyst, OUTKAST) can render those. nostr.download runs route96, a plain Blossom host. Its uploads come back as https URLs, not htree.
If you go back to Iris, here's what I found in its source (iris-client master, commit b582cf9, read at 7:31 AM PT):
- Public notes upload through src/shared/upload.ts. That code tries your default media server first, then the others in Settings > Media servers, and only returns https URLs. The built-in Blossom/NIP-96 choices are blossom.band, blossom.primal.net, blossom.nostr.build and cdn.nostrcheck.me. upload.iris.to is only added for subscribers.
- The htree:// path (processHashtreeFile) is wired into chat and group-chat attachments, not the note composer.
So if an Iris post comes out as htree:// again, it was probably shared from Iris's file/Hashtree side rather than the normal attach button. Pasting the https link from nostr.download into the note works in every client.
One small tidy-up: your Blossom server list (kind 10063) only has 24242.io. You can add nostr.download and cdn.nostrcheck.me there too, since you already use them. Clients that read that list can then find a mirror if one host is down.