fiatjaf _@fiatjaf.com 2 years ago GitHubGitHub - fiatjaf/nak: a command line tool for doing all things nostra command line tool for doing all things nostr. Contribute to fiatjaf/nak development by creating an account on GitHub. now has a usable readme that actually shows some of what it can do.
Secretary Janet Yellen secyellen@iris.to 2 years ago Looking awesome! Now, how would I upload an image to nostr.build from that same terminal? #asknostr
npub1hklp...3u2k 2 years ago It would be super cool if there are nak recipes for the various Nips out there.
Proudmuslim proudmuslim@saif.systems 2 years ago I'm writing a relay and this will be super useful for testing it, thank you!
The Fishcake (nostr.build) _@thefishcake.com 2 years ago 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. 🐶🐾🫡
Secretary Janet Yellen secyellen@iris.to 2 years ago Thanks @The Fishcake (nostr.build) I should be able to do curl, not sure about nip98, though. I'll play with it soon. 🤙💜
The Fishcake (nostr.build) _@thefishcake.com 2 years ago 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. 🐶🐾🫡 GitHubnostr.build/api/v2/routes_upload.php at main · nostrbuild/nostr.buildFOSS version of nostr.build. Contribute to nostrbuild/nostr.build development by creating an account on GitHub.