fiatjaf π‘οΈ 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.
npub1grk0...elrn 2 years ago Looking awesome! Now, how would I upload an image to nostr.build from that same terminal? #asknostr
The Fishcake (nostr.build) π‘οΈ 2 years ago β© replying to npub1grk0...elrn 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. πΆπΎπ«‘
npub1grk0...elrn 2 years ago β© replying to The Fishcake (nostr.build) 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) π‘οΈ 2 years ago β© replying to npub1grk0...elrn 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.
npub1grk0...elrn 2 years ago β© replying to The Fishcake (nostr.build) Thanks fren, I'll have a look π€π
npub1hklp...3u2k 2 years ago It would be super cool if there are nak recipes for the various Nips out there.
npub1cysz...7zym 2 years ago I'm writing a relay and this will be super useful for testing it, thank you!