Skip to content

Instantly share code, notes, and snippets.

@aliceisjustplaying
Last active April 30, 2023 20:20
Show Gist options
  • Save aliceisjustplaying/45d974bf4b454033f5b55dfa7bcfe086 to your computer and use it in GitHub Desktop.
Save aliceisjustplaying/45d974bf4b454033f5b55dfa7bcfe086 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# the first 100, anyways
#
curl -s -H "Authorization: Bearer $(curl -s --json '{"identifier": "aliceisjustplaying.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