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

Configure Feed

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

chore: add basic README.md

Winter ad7bec62 50fd1597

+50
+1
.gitignore
··· 1 1 node_modules/ 2 + .claude/
+49
README.md
··· 1 + # MBR 2 + 3 + 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). 4 + 5 + ## Using 6 + 7 + 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. 8 + 9 + The way I run it is by doing: 10 + 11 + ```sh 12 + bun install 13 + bun index.js 14 + ``` 15 + 16 + and then the process is interactive from there. 17 + 18 + Reset of the options you can run it with: 19 + 20 + ```sh 21 + mbr: interactively block engagement on an atproto post 22 + 23 + usage: 24 + bun index.js [options] 25 + node index.js [options] 26 + 27 + options: 28 + --delay <ms> delay between batches in ms (default: 150) 29 + --batch <n> writes per applyWrites call (default: 200) 30 + --dry-run show what would be blocked without actually blocking 31 + --no-block-target don't block the target account itself 32 + --output <file> write blocked DIDs to file (one per line) 33 + --unblock remove blocks instead of adding them 34 + -h, --help show this help 35 + ``` 36 + 37 + 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. 38 + 39 + ## Configuration 40 + 41 + There's no config file, but there are a couple environment variables 42 + 43 + | env var | info | default | 44 + | ------------------ | ------------------------------- | -------------------------------------- | 45 + | CONSTELLATION_BASE | [constellation] instance to use | `https://constellation.microcosm.blue` | 46 + | SLINGSHOT_BASE | [slingshot] instance to use | `https://slingshot.microcosm.blue` | 47 + 48 + [constellation]: https://tangled.org/microcosm.blue/microcosm-rs/blob/main/constellation/readme.md 49 + [slingshot]: https://tangled.org/microcosm.blue/microcosm-rs/tree/main/slingshot