Skip to content

BUD-10: Thumbnails#57

Open
v0l wants to merge 4 commits into
hzrd149:masterfrom
v0l:thumbs
Open

BUD-10: Thumbnails#57
v0l wants to merge 4 commits into
hzrd149:masterfrom
v0l:thumbs

Conversation

@v0l
Copy link
Copy Markdown
Contributor

@v0l v0l commented Jan 31, 2025

Adding thumbnail endpoint

Implemented already in route96 for listing and deleting on https://nostr.download

v0l/route96@6763e53

Read

@hzrd149
Copy link
Copy Markdown
Owner

hzrd149 commented Mar 23, 2025

This feels like It could be a separate service, since hashes are universal. Something that a user could pick or a client could provide as an extra service

Blossom servers could implement this but I don't think it makes sense for all of them to, or even make it optional. because the user is going to only need a single thumbnail service, but they will be using multiple blossom servers

@doc-hex
Copy link
Copy Markdown

doc-hex commented Mar 23, 2025

This is also implemented on https://24242.io/

@sondreb
Copy link
Copy Markdown

sondreb commented Apr 21, 2025

Having a thumbnail would be a great addition, on the "Media Library" in my Nostr app it would be nice to be able to get thumbnail from the user's primary Blossom server and not having to rely on yet another third party service for the thumbnail.

Rendering all photos a user has uploaded might be a lot to download when user has uploaded original photos that are not optimized.

@hzrd149
Copy link
Copy Markdown
Owner

hzrd149 commented Apr 11, 2026

I'm still unsure if blossom servers should be providing this service, but #101 may be a cleaner way for servers to link to the preview URL of a blob.
The only downside though is it does not define a standard path so clients would have to make a HEAD /<sha256> request for the headers or expect the /list/<pubkey> endpoint to return a thumb in the NIP-94 fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants