you on Nostr: it's not that bad if you read the docs and know the nips, just finished importing 87k ...
it's not that bad if you read the docs and know the nips, just finished importing 87k profiles with one line, better than having to write a custom module
curl
https://api.nostr.watch/v1/online | jq '.[]' | xargs -P4 -I AAA timeout 120 sh -c "./go/bin/nak req -k 0 AAA | ./go/bin/nak event wss://your.instance/relay"
Published at
2024-06-16 17:26:21Event JSON
{
"id": "6996d2ecc059203794ca71a3068930fca133527bdbd2c16490111fecdf25bec5",
"pubkey": "145a66a34db2b5ac7874ae75476296818e66300316e6b123d9f60c343df8f612",
"created_at": 1718558781,
"kind": 1,
"tags": [
[
"e",
"67ad5ef48c4c1a348234ac782a9d8ee02f99484af1262b107f336d4d2cd363ad",
"root"
],
[
"e",
"67ad5ef48c4c1a348234ac782a9d8ee02f99484af1262b107f336d4d2cd363ad",
"reply"
],
[
"p",
"43d7f07d10b9e662745e10b2fc201a74dc178a308c31409350d06b04477816e1"
],
[
"p",
"2fd004f76364d693bea2c39fc6834b5da27fdd8479b2d386976f64e4d8f0a85f"
],
[
"r",
"https://api.nostr.watch/v1/online"
]
],
"content": "it's not that bad if you read the docs and know the nips, just finished importing 87k profiles with one line, better than having to write a custom module\n\ncurl https://api.nostr.watch/v1/online | jq '.[]' | xargs -P4 -I AAA timeout 120 sh -c \"./go/bin/nak req -k 0 AAA | ./go/bin/nak event wss://your.instance/relay\"",
"sig": "ce2cf134edf6f516d0200114b655e11cdb0475b99ec501f3e8887f80c308b566b5f5a2b916bd5705643fb00cd04fc35bbe64f092ab2b844dc3f44ca74c40a020"
}