GitHub Hacker product mark

Multi-account GitHub CLI

One command, every GitHub account you manage.

A Python CLI for keeping multiple GitHub accounts under clear aliases, running batch repository actions, and inspecting repository information from the terminal.

CLIPythonPython 3.9+
$ pip install github-hacker
$ github-hacker --help
Manage multiple GitHub accounts
login · logout · config
star · unstar · watch · unwatch
status · fork · info

Keep accounts behind clear aliases

Log in once for each GitHub account and assign a local alias. List saved accounts, validate their tokens, or inspect the associated GitHub identities without switching browser sessions.

Choose one account or the whole set

Batch repository commands use every saved account by default, while --account narrows an operation to one alias. Repository information uses one account. GitHub Hacker accepts both owner/repo and full GitHub repository URLs.

Carry the configuration when needed

Account data can be imported from or exported to JSON. Because the file contains access tokens, treat it as a secret and store or transfer it only through a protected location.