pnk
· 1w
I like to ask a human instead of AI 😎 also for others it would be nice if we have the commands here
You could do it as a two part command
1>
nak --sec "$NSEC" --auth req -k 1059 -p "$PUB" \
--paginate --limit 10000 \
wss://relay.primal.net wss://... \
| nak --sec "$NSEC" gift unwrap \
> rumors.jsonl
This would change depending on your wuth situation
2> jq -r 'select(.kind == 1301) | .content' rumors.jsonl > mail.eml
This extracts the mail rumors from your rumor set and puts it into eml files that any mail client can open
❤️1