Awesome
nostr-notify
Listen for nostr events and sends desktop notifications via notify-send
Install
$ npm -g install nostr-notify
$ nostr-notify
Dependencies
libnotify/notify-send
Usage
Configure relays:
$ git config --global --add nostr.relays "wss://relay1.com wss://relay2.com"
OR
$ export NOSTR_RELAYS="wss://relay1.com wss://relay2.com"
Run:
$ nostr-notify <hex-pubkey>
For encrypted dm support:
$ git config --global --add nostr.secretkey <hex-secret-key>
$ nostr-notify
OR
$ export NOSTR_SECRET_KEY=<hex secret key>
$ nostr-notify