Avatar
Jack Sweeney
4b50eed23020d8cdccad8ed61cef0f4b631e728bb8e4008d12142f3300f52785
Aviation | Tech

test from py yet again

Had a great time in Norway last week at Media City Bergen, Future Week. I had the honor to share my story and meet so many great people.

https://void.cat/d/P8r62y4ZVfnt25cctCm1wm.webp

https://void.cat/d/PgnUBbtyHPXz1GCAM2Gmkg.webp

Thanks for the service, let me know if I need to use a custom endpoint, I saw the readme

At first I couldn’t figure out programmatically uploading to nostrbuild so I gave up on that. Then was gonna use AWS S3 which worked and also tried my own flask app for hosting images. I being a noob with Nostr thought that relays cache images. So I thought if I just temporarily host an image for a day I’m good, but that’s not how it works. I finally found out Nostr.build has an API and now we are good. I use python with the Nostr package here’s a basic setup I published. https://gist.github.com/Jxck-S/b6ffe6cc30e4139c3205f2e0b7575cad

Thanks surprisingly took a lot a thought on who I would use for hosting the images.

Here's the S3 code I did

https://gist.github.com/Jxck-S/b6ffe6cc30e4139c3205f2e0b7575cad

I also made a separate flask app to replace Amazon S3. It works I just didn't upload it all since its harder to use.

Testing from Python, with image opensource host file, with fire!

This should actually work from Python, with image from AWS S3

This account is actually made by me Jack Sweeney, the original creator. That other account was set up by someone else.