Skip to content

Instantly share code, notes, and snippets.

@april
Created May 9, 2023 01:55
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save april/7d863c34810b204c29c8bef6a1c1ead5 to your computer and use it in GitHub Desktop.
Save april/7d863c34810b204c29c8bef6a1c1ead5 to your computer and use it in GitHub Desktop.
get your invite tree on bluesky
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]'
@anthonycomedycarranza
Copy link

Invite code please!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment