Oddbean new post about | logout
 https://github.com/fiatjaf/nak now has a usable readme that actually shows some of what it can do.

https://cdn.satellite.earth/9f0578e4b9f7c3ff1a15b53ecdeb9533fd3b97577420e720c021d49e211b0b0d.png 
 Thank you 🙏 
 🤙🏻🔥 
 jq is cool 
 Looking awesome! Now, how would I upload an image to nostr.build from that same terminal? 

#asknostr  
 Paging @The Fishcake🐶🐾  
 You could have a command line script to upload to nostr.build. I have clear curl examples that show how to do it in the source. You could also add the nip98 authorization header. 🐶🐾🫡 
 Thanks @The Fishcake🐶🐾

I should be able to do curl, not sure about nip98, though. I'll play with it soon. 🤙💜 
 Curl example at the top of the file in the comments. You’ll need to probably use jq to extract url from the returned payload. 🐶🐾🫡

https://github.com/nostrbuild/nostr.build/blob/main/api/v2/routes_upload.php 
 Thanks fren, I'll have a look 🤙💜 
 Using nostr-sdk? 
 It would be super cool if there are nak recipes for the various Nips out there. 
 "Nips are just number" 😅 
 I'm writing a relay and this will be super useful for testing it, thank you!