@pi-nostr/pi-nip17
v0.1.1
Published
Nostr direct messages (NIP-17) for pi: the agent sends, lists and reads encrypted conversations as its own nostr identity, with nsec, generated or NIP-46 signer login
Maintainers
Readme
@pi-nostr/pi-nip17
Nostr direct messages (NIP-17) for pi. The agent gets a nostr identity of its own and sends, lists and reads gift-wrapped conversations with it.
pi install npm:@pi-nostr/pi-nip17Then, in pi, /nostr-login signs the agent in with a new key, an nsec, a
bunker:// link or a nostrconnect:// signer, and /nostr-relays and
/nostr-dm-relays publish where it can be found and messaged (flotilla's
defaults when given no relays).
Tools: nostr_dm_send, nostr_dm_conversations, nostr_dm_read and
nostr_dm_relays_set, with the shared profile, relay list, note, comment and
raw event tools. Answering incoming messages on its own is
@pi-nostr/cli's job.
Part of pi-nostr. MIT.
