i fucking love blossom on my #haven relay
please clients why are you taking so long to implement this amazing tech, should be very easy and fast to make such an uploader

i fucking love blossom on my #haven relay
please clients why are you taking so long to implement this amazing tech, should be very easy and fast to make such an uploader

that's the real deal!
Olas shipped with Blossom from day 1; just makes sense
Please add NostrMedia.com ser ππ₯Ή
Anyone can add their own; this is just my own blossom list π
nostr:npub138s5hey76qrnm2pmv7p8nnffhfddsm8sqzm285dyc0wy4f8a6qkqtzx624 is working on adding some media-related features to Olas, perhaps thereβs a space to suggest/discover some blossom servers on this section of the app
πββοΈππ€
Ohhh I see now. And it already prefilled mine. I guess it was saved on the relays, nice. Yes, if you offer user some default options, feel free to add NostrMedia.com π
Olas is looking great. Thanks for fixing the dark mode π€
FYI I just got "500 Internal Server Error" when I tried to blossom upload to nostrmedia.com
Ah what. Mind trying again, I am currently monitoring. Thanks!
Just did it again. If I'm doing something wrong, you should change it to a 4xx error.
Oh, I see. Are you sending Content-Type in the request? It seems to be returning null.
If you send the Content-Type header in the request it should work π
Gossip doesn't know the content type. It just opened the file and sent it. I suppose I could add content type sniffing. But anyhow you should change that to a 4xx error
Hmm, somehow noStrudel, 0xchat, Olas, etc are all sending the content-type header some way π€
Yea it's 5XX'ing due to no handling of missing content-type header haha. I will add it. But, maybe see how noStrudel handles it?
It mentions passing the header in the bud: https://github.com/hzrd149/blossom/blob/afa1290a6aa91fb5b371ae9d346d835cb0231f83/buds/06.md
Whoops, that's for using HEAD, but also applies to the PUT for /upload
Let me know if you think you can pass this header in the request. Otherwise, I could see if I can infer it through extension.
I'm now sending the content-type and the content-length.
Primal hosts a Blossom instance?
Huh. TIL. o.o
help a #noob #nostrDev ... what is Blossom? and do you happen to have a github that might show how it works? I'm looking to learn ... and motivated to build with it from day 1 - trying to make my 1st #NostrFirst #mobileFirst PWA
Blossom is a simple protocol for storing and hosting individual files on servers https://github.com/hzrd149/blossom
The files are addressed by their sha256 hash so they can be re-uploaded or moved and still have the same id
Oh awesome. Thank you
For web clients just use blossom-client-sdk by nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr it will literally take you minutes to implement blossom.
Blossom will be in the next version of coracle (finally)
It it helps I've made a TS package for clients wanting to implement blossom https://github.com/hzrd149/blossom-client-sdk
sdk looks very clear and simple, and I will also make jumble support blossom.
ask nvk about why there is a mentality of retardation in the nostr client dev community
you think i'm salty for fun? sure you do
i'm sure your fast fingers don't compensate for your slower ability to think about what is going on tho, just sayin
What products have you shipped?
I'm doing it now. Just ironing out the kinks.
ππ§‘
So, we abandoning all the NIPs and just go with anything that catches on then? π€
Abandon the bad ones yes
Blossom has no NIP. Which one is bad one?
Nip96
Whatβs bad about it? It has all the functionality of blossom and standardized π€
More robust and extendable, sha256 filenames means you can find identical files across mirrored servers - nip96 is just an upload API basically
You can do the same, plug the sha256 as the name and boom, other server may have it. I get it, instead of improving what we have we just want to abandon all the effort of people (because itβs other people) and just jump on a new thing. Yeah, this will definitely be sustainable and gonna burnout anyone. π«‘
Sorry, Open Office. Libre Office is king.