#!/bin/bash #A Simple Message Module that posts alerts to Nostr or SysLog NOSTR_USER="33c74427f3b2b73d5e38f3e6c991c122a55d204072356f71da49a0e209fb6940" if [ -e /root/go/bin/algia ]; then echo "$1" | /root/go/bin/algia dm-post -u $NOSTR_USER -stdin else { logger "$1" } fi