App Logo
github.com

Get current GitHub user

Automatically get current GitHub user on github.com. Report which GitHub account this browser is signed in as: the login, display name and avatar URL. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other GitHub scripts.

Input

None

Output

loggedIn required
name optional
login optional
avatarUrl optional

FAQ

Report which GitHub account this browser is signed in as: the login, display name and avatar URL. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other GitHub scripts.
Ask an AI agent connected to Reduck to run reduck/github.com/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/github.com/get_current_user
You do not need one. "Get current GitHub user" drives the real github.com pages in a browser, so it works whether or not github.com offers an API for this.
Nothing. It takes no input.
It returns name, login, loggedIn, avatarUrl.
Yes. It acts as you on github.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the github.com cookies saved by the Reduck extension.
It only reads. It looks things up on github.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/github.com/get_current_user, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/github.com/get_current_user
It is part of Reduck's official curated catalogue.

Start building not clicking