https://github.com/fiatjaf/nak now has a usable readme that actually shows some of what it can do.

https://github.com/fiatjaf/nak now has a usable readme that actually shows some of what it can do.

🤙🏻🔥
jq is cool
Looking awesome! Now, how would I upload an image to nostr.build from that same terminal?
#asknostr
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 nostr:npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w
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!