Fixes: https://github.com/damus-io/noteguard/issues/10 Changelog-Added: Add forwarder filter Signed-off-by: William Casarin <jb55@jb55.com>
10 lines
219 B
Bash
Executable file
10 lines
219 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
while true
|
|
do
|
|
note="$(nostril --silent --content hello)"
|
|
echo "{\"type\": \"new\",\"receivedAt\":12345,\"sourceType\":\"IP4\",\"sourceInfo\": \"127.0.0.2\",\"event\":$note}"
|
|
|
|
sleep ${1:-0.1}
|
|
done
|
|
|