Mass Block [bsky] Reposts [and more]
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

JavaScript 100.0%
26 1 0

Clone this repository

https://tangled.org/madoka.systems/mbr https://tangled.org/did:plc:7exy3k53z33dvghn6edyayxt/mbr
git@tangled.org:madoka.systems/mbr git@tangled.org:did:plc:7exy3k53z33dvghn6edyayxt/mbr

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

MBR#

This is a personal CLI tool I've used to block any of reposts, quotes, replies, likes, and post author's followers and following. It uses oauth for authentication and batches writes (accidentally banned my PDS on relays for not doing this oops).

Using#

This does require bun or node (deno + others might work too but I don't use them). If I care enough I might make a CI to compile it to a binary, but for now this is just a script.

The way I run it is by doing:

bun install
bun index.js

and then the process is interactive from there.

Reset of the options you can run it with:

mbr: interactively block engagement on an atproto post

usage:
  bun index.js [options]
  node index.js [options]

options:
  --delay <ms>       delay between batches in ms (default: 150)
  --batch <n>        writes per applyWrites call (default: 200)
  --dry-run          show what would be blocked without actually blocking
  --no-block-target  don't block the target account itself
  --output <file>    write blocked DIDs to file (one per line)
  --unblock          remove blocks instead of adding them
  -h, --help         show this help

Note: if blocking doesn't work right, try setting it to a lower value. From what I know, bsky mushroom PDSs (if you don't know what a PDS is you're probably on one of these) have much lower limits for writes.

Configuration#

There's no config file, but there are a couple environment variables

env var info default
CONSTELLATION_BASE constellation instance to use https://constellation.microcosm.blue
SLINGSHOT_BASE slingshot instance to use https://slingshot.microcosm.blue