subkey2 on Nostr: #firehose echo '["REQ", "x", {"kinds":[1], "limit": 3}]' | websocat -n ...
#firehose
echo '["REQ", "x", {"kinds":[1], "limit": 3}]' | websocat -n --ping-interval 20 wss://relay.damus.io | while read -r line ; do echo $line | jq -r '.[2].pubkey' ; echo $line | jq '.[2].content' ; echo ; done
Published at
2024-08-01 20:52:43Event JSON
{
"id": "eebcce92b9af085c241a736e19a29932087ab8064b0af142333bcb8c32602244",
"pubkey": "b648adc3b855393876d064f652424e2d94503ad911906d632e31dcc97c9ac47e",
"created_at": 1722545563,
"kind": 1,
"tags": [
[
"t",
"firehose"
]
],
"content": "#firehose\n\necho '[\"REQ\", \"x\", {\"kinds\":[1], \"limit\": 3}]' | websocat -n --ping-interval 20 wss://relay.damus.io | while read -r line ; do echo $line | jq -r '.[2].pubkey' ; echo $line | jq '.[2].content' ; echo ; done",
"sig": "e568eb6620cb82ff6384764993335f67fb704b8566e269f66448beb2a493fa0ec12a6ca4e3c836610be5a7bff8fdba3da746459bfeb1b5cf5db66073f000ad21"
}