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.
Discussion
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:
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.

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 đ
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).