Why Nostr? What is Njump?
2024-05-13 23:01:36

Jeremy Cady on Nostr: This is cool. nostr:note19g876y57uc6s05ppkq6p2ylyctpclfvmyy87tzm6jw3rahmdnxnsk9apm8

This is cool.
If you don't rug yourself are you even a nostr dev?

Starting today and for about a week by blossom server cdn.hzrd149.com is going to be down (rugged) which means all of the images I've posted so far will be broken... unless your using a client that is aware of blossom servers 😀

I just pushed an update to next.nostrudel.ninja so when it detects that an image failed to load and the image has the sha256 hash in the url it will start going down the users blossom server list to find the image

It works something like this
1. Image fails to load
2. Does image have a sha256 hash in the url?
3. Get other users blossom server list (using pubkey in kind 1)
4. Replace the image urls host with the next server on the list

The end result is that anyone using next.nostrudel.ninja will still be able to see my pictures because they are still hosted on cdn.satellite.earth and media-server.slidestr.net



I added a few helper methods to "blossom-client-sdk" for any other clients that want to use the users blossom server list to handle broken images https://github.com/hzrd149/blossom-client-sdk#handling-broken-images
Author Public Key
npub1zfwrn5gnl9gml2lnr8kmarqdsd9yle7l5rvv84prz0ghjq8nerrs73sl0t