What is Nostr?
omien / kamakura (en)
npub12gt…y5qj
2023-07-19 20:11:48

omien on Nostr: I'd like to share with you a service that has impressed me recently. Japanese users ...

I'd like to share with you a service that has impressed me recently.

Japanese users of Nostr like to use NIP-36 (CW) to post NSFW images, but do not actually use it because major clients like Damus do not support NIP-36.

So, Japanese developer 月野うさぎ (TSUKINO Usagi) (npub1avg…yucl) has implemented a simple reverse proxy for nostr.build.

https://github.com/ryogrid/NostrNIP36ImageRedirector

This proxy switches the display of images depending on the User-Agent; when an access comes from a client that does not support NIP-36, such as Damus, an image is displayed in order to the original image, prompting the user to view it from a NIP-36-supported client.

To use this, simply rewrite an image URL https://cdn.nostr.build/i/:id to https://i.ryogrid.net/i/:id .
Author Public Key
npub12gtrhfv04634qsyfm6l3m7a06l04qta6yefkuwezwcw6z4qe5nvqddy5qj