Forked from aliceisjustplaying/list-muted-people.sh
Last active
April 28, 2023 22:40
-
-
Save igorbrigadir/f6970a71aac62e2ce35db127fd24a5bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# the first 100, anyways | |
# | |
curl -s -H "Authorization: Bearer $(curl -s -X POST -H "Content-Type: application/json" -d '{"identifier": "me.bsky.social", "password": "letmein"}' "https://bsky.social/xrpc/com.atproto.server.createSession" | jq -j ".accessJwt")" "https://bsky.social/xrpc/app.bsky.graph.getMutes?limit=100" | jq -r '.mutes | .[] | .did' | xargs -I{} -P10 curl -s 'https://plc.directory/{}' | jq -r '.alsoKnownAs[0]' | sed -e 's#at://#@#' | sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment