Oddbean new post about | logout
 i could play with nak for hours. such a fun and powerful nostr tool. you can look up all the npubs that mute someone with this command. 

nak req -k 10000 --tag p=<ENTER_PUBKEY_HERE> relay.nostr.band | jq '.pubkey' | xargs -I {} nak encode npub {}

https://github.com/fiatjaf/nak

 
 Oh that's a good one liner. And yes, I love nak and use it often. My bots are powered by NAK 🥹 
 What’s your bots? 
 nostr:nprofile1qqsqdtfuqwprqyhp75d49wugnf2n00yc3r5w5khkua9h8ec0jjlhvucpzdmhxue69uhhqatjwpkx2urpvuhx2ue0yxj07r nostr:nprofile1qqsf8fl0y899cuw2l0f2l5ceyrf3rmqset7ltx25ql9tp7lmqrr2pjspz3mhxue69uhhyetvv9ujuerpd46hxtnfduqs6amnwvaz7tmwdaejumr0dsq3samnwvaz7tmhv4kxxmmdv5hxummnw3ezuamfdejssu5xcx and another one that hasn't launched yet 👀 
 Are you just running a chron job for these? What platform? 
 Yes. Cronjobs for each. Ubuntu. The wallet disrespector is just a simple bash script that publishes via NAK. The trending bot is a python script that uses the nostr.band API to get the data and then outputs it through NAK. 
 nak and wscat are literally all I would need come an apocalypse. 🤣  
 i love nak, by far the best command line tool, and it supports nip42 auth! 🐳🐳🐳