noteguard

the nostr relay spam guardian
git clone git://jb55.com/noteguard
Log | Files | Refs | README | LICENSE

commit 98671c5aa89142a3ea64717dcdceb47403dad0c8
parent 7387bcdf1420d197bf7eb335aabebff42231fdc3
Author: William Casarin <jb55@jb55.com>
Date:   Sun,  7 Jul 2024 22:36:47 -0500

section on testing

Diffstat:
MREADME.md | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -38,4 +38,14 @@ Settings: - `whitelist`: a list of IP4 or IP6 addresses that are allowed to bypass the ratelimit. +## Testing + +You can test your filters like so: + +```sh +$ cargo build --release +$ ./target/release/noteguard +$ <test/test-inputs ./target/release/noteguard +``` + [strfry]: https://github.com/hoytech/strfry