Sign in with GitHub once, then switch between accounts whenever you like. Tokens stay in this browser only.
Paste the copied code on github.com/login/device:
OAuth needs a tiny server: GitHub requires the client secret for the popup flow, and it blocks browser CORS for the device-code flow. Defaults to the project's worker, https://reve-oauth.sofikuw.workers.dev; point it elsewhere to self-host.
api/oauth.js