~aleteoryx/tclfeed-bsky

cdfdf857d91e52c9183625c10f39f643518338b0 — Aleteoryx 28 days ago 7bdf0f1
document mod tools
1 files changed, 13 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +13 -0
@@ 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`)?