A small, private Nostr messenger, for a short list of keys you name yourself.
A desktop app for Apple, Linux and Windows. It sends and receives private messages between keys you have listed, from one or more identities of your own. It is deliberately not a social client: no feed, no timeline, no followers. Keeping to a short list of names is what keeps both the trust and the code small.
Tauri 2, React, Vite and Tailwind — the suite’s stack — with nostr-sdk for the protocol and keyring for the operating system’s key store. Encryption on the wire is rustls throughout,
so there is no dependency on the system’s OpenSSL.
Version 0.2.0. Every release, and the source: GitHub.
An older Nostr direct message hides what is said and nothing else. Who sent it, who it is for and when are all public — and because the text is not padded, even its length tells something. A daily alert from a server can be read as “one problem” or “two problems” without ever being decrypted.
Gift wrap fixes that. The message is sealed and signed by you, then sealed again by a key used once and thrown away, with the time moved by up to two days. Someone watching sees an unknown key send something to your contact, at a time that is not the real one.
| Layer | Kind | What it does |
|---|---|---|
| rumor | 14 | the message itself; never signed, never published on its own |
| seal | 13 | the rumor, encrypted to the receiver (NIP-44) and signed by the real sender |
| wrap | 1059 | the seal, encrypted again and signed by a throwaway key, its time moved by up to two days |
Two things follow:
Old-style messages are still read — never written — so correspondents who have not moved over, including the suite’s certificate and domain-expiry bots, keep working.
nchat is built on a web view, and a web view in a program that holds private keys is a real point of attack. The answer here is a hard boundary rather than a promise: your secret keys never reach the web view at all.
On Linux the key store needs a Secret Service running (GNOME Keyring or similar); nchat says so when it cannot reach one.
nchat shows messages from keys on your contact list and no others. Anything else is counted and dropped unread — the footer shows how many. Sending is bound to the list too, so a mistyped key cannot quietly become a message to a stranger.
nping’s connect, subscribe and info checks are built in, and every message you send reports which relays took it. A relay that accepts the connection, advertises no restriction and then silently throws the message away is a real failure, and it has been seen. nchat shows it, instead of a cheerful “sent”.