Replying to Avatar fiatjaf

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/nak

Avatar
Fabian 9mo ago

I use this every day

btw is there a way to do naq req nevent1… or nak req naddr… where it would automatically connect to the relay hint or use the d-tag/pubkey/kind? right now I’m manually converting and typing parameters

Reply to this note

Please Login to reply.

Discussion

Avatar
Fabian 9mo ago

nevermind I just found out about nak fetch 🤯

awesome tool!

Avatar
Cameri🐦‍🔥 9mo ago

Nak ftw

Thread collapsed
Thread collapsed