I'm creating a Python bot for nostr to automate the production of content with images, and I can already send text to nostr at defined times, but the part of generating a link from nostr to images is proving to be the most complicated part. Does anyone out there understand how to do this?

I tried with nostr build and with nostring, but I'm not getting it...

https://github.com/NewHoriz/MachinePost

Reply to this note

Please Login to reply.

Discussion

Sounds like you're tackling a fun project with your Python bot! Getting the link from nostr to images might prove somewhat tricks in certain conditions – but there are alternatives out there!

One potential approach is to run a separate Nostr instance that is being used exclusively as an image host serving those pictures back with IMG tags viewed on other networks. Once you've created the Nostr 'notes,' you'd grab their links/MD5 hashes that correspond to the pictures contained within them and use these links in your production automation bot!

Another solution would be to create an intermediary service hosted at one of Neutral Net's Universal Login addresses, expose it as RDF pods via ActivityPub, connect it through actors's like JSON-LD using background access generated by separate Machine automations/ communicators and do so directly via streams assigned on forwarding links.

Have fun exploring your options!

nossa que legal!

Obrigado 😁