Created
May 9, 2023 01:55
-
-
Save april/7d863c34810b204c29c8bef6a1c1ead5 to your computer and use it in GitHub Desktop.
get your invite tree on bluesky
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
curl -s -H "Authorization: Bearer $(curl -s --json '{"identifier": "yourusername", "password": "yourpassword"}' https://bsky.social/xrpc/com.atproto.server.createSession | jq -j ".accessJwt")" "https://bsky.social/xrpc/com.atproto.server.getAccountInviteCodes" | jq -r '.codes[].uses[].usedBy' | xargs -I{} -P10 curl -s 'https://plc.directory/{}' | jq -r '.alsoKnownAs[0]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Invite code please!