DevSwitch: A Desktop App to Manage Multiple GitHub Accounts
Install DevSwitch to manage multiple GitHub identities; it auto‑generates SSH config entries and uploads keys via OAuth.
Download DevSwitch from GitHub, set up your profiles, and let it generate host aliases for each account.
Summary
DevSwitch is a cross‑platform Electron 40 + React 19+TS desktop app that centralises SSH key and Git identity management for developers juggling multiple GitHub accounts. It can generate new ED25519 or RSA keys, import existing ones, and encrypt passphrases at rest with Node.js crypto. The app auto‑registers keys with ssh‑agent, writes clean SSH config entries, and creates profile‑specific host aliases such as <code>github.com-umesh</code>. Each profile stores the Git username, email, linked SSH key, and OAuth token, allowing the tool to upload public keys directly to GitHub via OAuth.
DevSwitch also offers an auto‑sync feature that scans the <code>~/.ssh</code> directory, parses existing configs, and creates profiles without modifying user files. The UI is built with Tailwind CSS v4, Radix UI, and Zustand for state management, while encrypted local storage is handled by electron‑store. The project is open‑source under the MIT license and includes a roadmap for a CLI companion, profile export/import, Git hook integration, key rotation scheduler, and cloud sync.
Developers who previously struggled to clone repositories under the wrong identity will find DevSwitch eliminates manual SSH config edits and reduces onboarding friction.
Key changes
- Cross‑platform Electron 40 + React 19+TS app for GitHub identity management
- SSH key generation, import, and passphrase encryption
- Auto‑registration with ssh‑agent and clean SSH config entries
- Profile‑specific host aliases like github.com-umesh
- GitHub OAuth integration to upload public keys
- Auto‑sync to scan existing ~/.ssh directory
- Built with Tailwind CSS v4, Radix UI, Zustand, electron‑store
- Roadmap includes CLI companion, export/import, git hook integration, key rotation scheduler, cloud sync