fiatjaf on Nostr: nak v0.13 has a lot of colors in the stderr output for nak event, nak req and other ...
nak v0.13 has a lot of colors in the stderr output for nak event, nak req and other commands.
Connecting to multiple relays is also finally now done in parallel so commands should run much much faster.
It took so long because I didn't know how to do those cool live-updating terminal outputs (like progress bars), so I was forced to connect to relays sequentially in order to keep the output understandable. Not anymore!, now there is real magic going on (unless your terminal window is too small or you're on Windows, if that is the case then you'll get the old behavior).
Hopefully I didn't break anything, but let me know if I did because the added code complexity wasn't insignificant:
https://github.com/fiatjaf/nakPublished at
2025-04-04 00:55:28Event JSON
{
"id": "0000fb45800700c0e1a61a36c8244f4431980505f558045a54a37339deb3f07a",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1743728128,
"kind": 1,
"tags": [
[
"nonce",
"18389",
"16"
]
],
"content": "nak v0.13 has a lot of colors in the stderr output for nak event, nak req and other commands.\n\nConnecting to multiple relays is also finally now done in parallel so commands should run much much faster.\n\nIt took so long because I didn't know how to do those cool live-updating terminal outputs (like progress bars), so I was forced to connect to relays sequentially in order to keep the output understandable. Not anymore!, now there is real magic going on (unless your terminal window is too small or you're on Windows, if that is the case then you'll get the old behavior).\n\nHopefully I didn't break anything, but let me know if I did because the added code complexity wasn't insignificant:\n\nhttps://github.com/fiatjaf/nak",
"sig": "b555d5d4f36c72477139ec903b45dc1660c6aa4fee65aabf9c3617394ac435ced6e855aae89425c779028299f7001e02961cf89341431c57b7545374f0f1ea9b"
}