From cdfdf857d91e52c9183625c10f39f643518338b0 Mon Sep 17 00:00:00 2001 From: Aleteoryx Date: Sat, 23 Nov 2024 16:17:09 -0500 Subject: [PATCH] document mod tools --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 5d8dce4..073e519 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,19 @@ the official example repo. - `/src` - application code - `/src/algos` - algorithms, `*.tcl` is autoloaded, see `src/algos.tcl` for details. +## Moderation + +`src/jetstream.tcl` blocks any repos that appear in the `blocked_repos` table. +the following tools exist for moderation: + +- `bin/rmrepo.tcl` will delete all posts by the specified user(s). if `-feed` is specified, + only from the passed feed(s). if no feeds are specified, it will also block them. + the `-pds` option is used to resolve handles to DIDs. it defaults to bsky.social. +- `bin/rmpost.tcl` will delete all passed posts from the specified feed +- `bin/importlist.tcl` works like `rmrepo`, but it pulls from passed moderation lists. flags work the same. +- `bin/updatelists.tcl` calls `bin/importlist.tcl` with a hardcoded set of lists. currently just ones by + `@rahaeli.bsky.social`. + ## Potential Improvements - there's something up with the websocket implementation (`src/ws.tcl`)? -- 2.45.2