Oddbean new post about | logout
 A demo video for the first three instances of nostrcheck server running on a version of Coracle I am working on. The user has the freedom to choose which media provider he wants to upload his files to (NIP98 compatible of course!)

https://nostrcheck.me/media/quentin/a11889a9652f5c12352a5887f9d08edd3ee69ca6a2b1a287e76ca0d34c3223b1.mp4

Nostur is already compatible. Ask the developers of your favourite nostr client to implement NIP96!

This is already a reality, if you want to be sovereign of your data, let me know and I'll help you.
 
 I'm going to try setting up my own nostrcheck server soon but I’m still hoping someone creates a service where I can just point my domain at so I don’t have to deal with all the server stuff. 
 I think that as it is now this would be possible. I'm going to do a test with a couple of domains. 
 On the other hand, just the simple fact that you are considering installing an instance has already made my afternoon! 😀😀 
 I wonder whether Wordpress installation would suit for this purpose. Hosting a wp for personal purposes is easy to do and every shared hosting provider has the one click versions for it.

Making a widget / custom theme to suit for nostr purposes would be great.

Could start just by using its image storing and media serving but extend to full relay backups, posting  etc.

Activitypub is already integrated: https://wordpress.org/plugins/activitypub/ 
 It should be possible to create a wordpress plugin that does nip96 
 I think I might do this, I did some wordpress dev in the past and know how things work but its too long ago for me to build anything useful, but I just asked ChatGPT some questions and it gave me all the right code snippets, got a minimal PoC already. 
 If you open a repo let me know, I like the idea and I want to collaborate. 
 👍 will let you know when its up 
 Repo and first working version (on my dev machine at least), here:

https://github.com/fabianfabian/nostr-media 
 Tried to use the plugin in a few sandbox wp sites but the php requirement is >8.10 and they were still running in the 7.X versions. 
 Yes I ran into that too, there aren’t many nostr php libraries, and the one I found requires 8.1, I will try to figure out if we can make it run on 7.x 
 Also, the php nostr library is very outdated, I had to deal with it months ago 🥲 
 I will have a 7.x version up soon that you can try, I managed to remove the things that needed 8.1 that are not needed for nip98. 
 This one should work on 7.4 or higher: 
https://github.com/fabianfabian/nostr-media/releases/tag/0.3-alpha

only 2 php server requirements I haven’t been able to get rid of: ext-xml and ext-gmp. ext-xml shouldn’t be a problem, most WordPress hosting probably have this. ext-gmp I’m not sure, might be a problem for some hosts, it seems one of the schnorr libraries needs it. 
 https://media.tenor.com/bFSJ4TYo7DUAAAAC/ryan-gosling-fantastic.gif

The first two test uploads worked ( a gif and jpeg):

nevent1qqsttrfz6jyj9rmq5hkwr3kxzxnykduq0a27gyzmye8k49vjnz27h9qkhxh6l
nevent1qqs2rsaj3drkq5xzsvdly8q9c4p0jnu2a44l7k7pxvs3vf3a2nnsg5sfkyd3q

I got the GMP PHP extension error on one random sandbox test site but the other had the extension.

For some reason the WP admin backend does not show images. Could be a config issue but did not investigate further.

The npub only upload works, too. Nostur shares the media upload settings between accounts (don’t ask how I tested it 😂



https://nostrcheck.me/media/public/c182de2a93a9bd793f56b6d60cdd15df390b62739bbe336c1be20a12b659c266.webp
https://nostrcheck.me/media/public/d011643f0e14b8dce47c0a980079c25c547e4f307a339dddcc5901a15962b30a.webp
https://nostrcheck.me/media/public/083f2f69b7a4f1dfca8fe4ca2f3ec382ca6f6cbd9c2c76969a0ae79610603e44.webp
https://nostrcheck.me/media/public/5f6c7de201e72331febe72b7fe95bf00ba854bea2321fdf53b8bca4027900985.webp 
 WP backend not showing images is a problem with the plugin and upload with “shared” settings shouldn’t happen as that could leak your alt account (but only to your own media server), will fix both soon.

Thanks for testing! 
 When the Nostur sending note “hang” because of media server refusing the connection there was no way to revert back to the draft mode to resolve the issue (and not lose the note). 
 I can stand up that service no problem, but then you still have to trust me with your files. The easier it is the more you have to trust a 3rd party.  
 👏👏👏 
 NIP-96 for the win! Let's get rid of hard-coded image servers. 

nostr:nevent1qqsxse2u5gycwet7xaghyfv5aqnzemml5lf7z0329yxdkqvuryudllsppemhxue69uhkummn9ekx7mp0qgsgnc2tuj0dqpea4qak0qnee55m5kkcdncqpd4r6xjv8hz25n7aqtqrqsqqqqqp0g37nn 
 Very cool. Giving users more choices and control over their content and media is the way that we win.