New release has some unexciting new features: - nak wallet: implements NIP-60 token receiving, sending and swapping, there is also a nutzap command for sending to others but I forgot to test that so let me know where exactly is broken (blame @PABLOF7z) - nak curl: this wraps the actual curl command you must have installed and adds a NIP-98 header to it so you can call APIs with Nostr authorization (blame @Kieran) - nak mcp: you can use this to allow AIs to search people on Nostr, publish notes, mention people, read notes with built-in outbox model (blame @A₿del fgu and @jb55), I don't understand the MCP protocol and I don't really know if this works, I could only test it twice because Goose has stopped answering me completely - nak outbox: in its default form this just lists NIP-65 relays for a given pubkey, but if you enable persistent mode by calling 'nak outbox init' then it will start storing relay hints from multiple contexts for every person every time you use Nostr and use those in a more robust outbox relay algorithm strategy (like in other contexts, like when doing 'nak fetch' -- inside nak this is not very important, but it serves as a learning tool - now you can pipe multiline JSON into 'nak event' or 'nak req' (you probably didn't notice but before if you want to pass an event for it to modify, sign or publish you had to pass the entire JSON in a single line -- not anymore)

Replies (22)

Throw nuts at nak! @calle
fiatjaf's avatar fiatjaf
New release has some unexciting new features: - nak wallet: implements NIP-60 token receiving, sending and swapping, there is also a nutzap command for sending to others but I forgot to test that so let me know where exactly is broken (blame @PABLOF7z) - nak curl: this wraps the actual curl command you must have installed and adds a NIP-98 header to it so you can call APIs with Nostr authorization (blame @Kieran) - nak mcp: you can use this to allow AIs to search people on Nostr, publish notes, mention people, read notes with built-in outbox model (blame @A₿del fgu and @jb55), I don't understand the MCP protocol and I don't really know if this works, I could only test it twice because Goose has stopped answering me completely - nak outbox: in its default form this just lists NIP-65 relays for a given pubkey, but if you enable persistent mode by calling 'nak outbox init' then it will start storing relay hints from multiple contexts for every person every time you use Nostr and use those in a more robust outbox relay algorithm strategy (like in other contexts, like when doing 'nak fetch' -- inside nak this is not very important, but it serves as a learning tool - now you can pipe multiline JSON into 'nak event' or 'nak req' (you probably didn't notice but before if you want to pass an event for it to modify, sign or publish you had to pass the entire JSON in a single line -- not anymore)
View quoted note →
One thing jq does that nak doesn't is to detect multiple JSON entities within a same line -- or one that ends in that line and another starts, spanning other lines. I won't even attempt to implement that.
This is a NAK release note, if you can read it.
fiatjaf's avatar fiatjaf
New release has some unexciting new features: - nak wallet: implements NIP-60 token receiving, sending and swapping, there is also a nutzap command for sending to others but I forgot to test that so let me know where exactly is broken (blame @PABLOF7z) - nak curl: this wraps the actual curl command you must have installed and adds a NIP-98 header to it so you can call APIs with Nostr authorization (blame @Kieran) - nak mcp: you can use this to allow AIs to search people on Nostr, publish notes, mention people, read notes with built-in outbox model (blame @A₿del fgu and @jb55), I don't understand the MCP protocol and I don't really know if this works, I could only test it twice because Goose has stopped answering me completely - nak outbox: in its default form this just lists NIP-65 relays for a given pubkey, but if you enable persistent mode by calling 'nak outbox init' then it will start storing relay hints from multiple contexts for every person every time you use Nostr and use those in a more robust outbox relay algorithm strategy (like in other contexts, like when doing 'nak fetch' -- inside nak this is not very important, but it serves as a learning tool - now you can pipe multiline JSON into 'nak event' or 'nak req' (you probably didn't notice but before if you want to pass an event for it to modify, sign or publish you had to pass the entire JSON in a single line -- not anymore)
View quoted note →
frozear's avatar
frozear 1 year ago
What is this and why should anyone care?
NIP-60 Cashu wallets now supported in nak Wow
fiatjaf's avatar fiatjaf
New release has some unexciting new features: - nak wallet: implements NIP-60 token receiving, sending and swapping, there is also a nutzap command for sending to others but I forgot to test that so let me know where exactly is broken (blame @PABLOF7z) - nak curl: this wraps the actual curl command you must have installed and adds a NIP-98 header to it so you can call APIs with Nostr authorization (blame @Kieran) - nak mcp: you can use this to allow AIs to search people on Nostr, publish notes, mention people, read notes with built-in outbox model (blame @A₿del fgu and @jb55), I don't understand the MCP protocol and I don't really know if this works, I could only test it twice because Goose has stopped answering me completely - nak outbox: in its default form this just lists NIP-65 relays for a given pubkey, but if you enable persistent mode by calling 'nak outbox init' then it will start storing relay hints from multiple contexts for every person every time you use Nostr and use those in a more robust outbox relay algorithm strategy (like in other contexts, like when doing 'nak fetch' -- inside nak this is not very important, but it serves as a learning tool - now you can pipe multiline JSON into 'nak event' or 'nak req' (you probably didn't notice but before if you want to pass an event for it to modify, sign or publish you had to pass the entire JSON in a single line -- not anymore)
View quoted note →