Almost finished with an example of a nostr mail client using NIP-17 and applesauce. and the best part is its only 250 lines long ๐Ÿ˜ image The best part is that the code that replies to a message is just a few lines and it handles creating NIP-59 gift wraps for each participant in the conversation image

Replies (16)

All the code is untested at the moment, but Ill probably start complaining about interoperability stuff as soon as I start testing messages with amethyst and 0xChat :)
Right now this is just an example in the applesauce repo, but I might try to break it out into its own client since I want to start reading my NIP-17 DMs
Niel Liesmons's avatar
Niel Liesmons 8 months ago
Love that you're jumping on the :mail: Mail train! :beautiful:
Niel Liesmons's avatar Niel Liesmons
When I build a Chat app with: - Private groups (MLS) - Public Communities (#communikeys) ... that both use kind 9 chat messages. How do you really expect me to mix in Nip-17 and call it "DMs" or "Chat Rooms"? When the kind 14 messages used in that Nip: - are less secure, private and direct than the MLS I already have - don't make the conversation have a global state - can optionally be signed for dispute regulation - have a subject tag, like email - can be forked and forwarded, like email - are perfect for one-off communication in Marketplaces,etc... like email No thanks. It's Nostr Mail. Because that's what it's good for. Not Nostr Direct Messages. My users don't need those false promises and confusion.
View quoted note →
I like the idea of threads in DMs, and having a mail client with unread / read is probably the easiest way for me to stay on top of replying to messages
Niel Liesmons's avatar
Niel Liesmons 8 months ago
Mostly in the sense that I intend to actually use the Title. Also, they're running into a wall of their own making with the Chat channel UI.
โ†‘