You can take a look at the script I use to help to prepare content for nostr:npub18l3fyx3rtak2x2hnhqp50nyykszpycumff432kwtp3975qgnp7uq3qza55 https://github.com/SamSamskies/fatzaps