From 239dd2d42acf00a957c3424237c979a132d4abf2 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 25 May 2025 23:34:05 -0300 Subject: [PATCH] add example of recording and publishing a voice note. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f75241a..83c6d29 100644 --- a/README.md +++ b/README.md @@ -271,6 +271,11 @@ echo "#surely you're joking, mr npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn6 # and there is a --confirm flag that gives you a chance to confirm before actually publishing the result to relays. ``` +### record and publish an audio note of 10s (yakbak etc) signed from a bunker +```shell +ffmpeg -f alsa -i default -f webm -t 00:00:03 pipe:1 | nak blossom --server blossom.primal.net upload | jq -rc '{content: .url}' | nak event -k 1222 --sec 'bunker://urlgoeshere' pyramid.fiatjaf.com nostr.wine +``` + ## contributing to this repository Use NIP-34 to send your patches to `naddr1qqpkucttqy28wumn8ghj7un9d3shjtnwdaehgu3wvfnsz9nhwden5te0wfjkccte9ehx7um5wghxyctwvsq3gamnwvaz7tmjv4kxz7fwv3sk6atn9e5k7q3q80cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsxpqqqpmej2wctpn`.