<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: dev das</title>
    <description>The latest articles on DEV Community by dev das (@dev_das_98b9b45771efe3f78).</description>
    <link>https://dev.to/dev_das_98b9b45771efe3f78</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1709786%2Ff9be2d61-849a-4a44-84d5-b337756e8170.png</url>
      <title>DEV Community: dev das</title>
      <link>https://dev.to/dev_das_98b9b45771efe3f78</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dev_das_98b9b45771efe3f78"/>
    <language>en</language>
    <item>
      <title>I Was Tired of Juggling 3 GitHub Accounts — So I Built a Desktop App to Fix It</title>
      <dc:creator>dev das</dc:creator>
      <pubDate>Tue, 05 May 2026 04:28:59 +0000</pubDate>
      <link>https://dev.to/dev_das_98b9b45771efe3f78/i-was-tired-of-juggling-3-github-accounts-so-i-built-a-desktop-app-to-fix-it-41ac</link>
      <guid>https://dev.to/dev_das_98b9b45771efe3f78/i-was-tired-of-juggling-3-github-accounts-so-i-built-a-desktop-app-to-fix-it-41ac</guid>
      <description>&lt;p&gt;If you've ever managed multiple GitHub accounts on the same machine — a personal account, a work account, maybe a freelance client account — you know the pain.&lt;/p&gt;

&lt;p&gt;You clone a repo, push some code, and then realize it went up under the wrong username. Or worse, you spend 20 minutes debugging why your SSH key isn't working, only to find out you're using the wrong identity file.&lt;/p&gt;

&lt;p&gt;I got tired of it. So I built &lt;strong&gt;DevSwitch&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;👉 Repo: &lt;a href="https://github.com/umesh-saini/DevSwitch" rel="noopener noreferrer"&gt;https://github.com/umesh-saini/DevSwitch&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Problem With Multiple Git Accounts
&lt;/h2&gt;

&lt;p&gt;Managing multiple Git identities manually looks something like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# ~/.ssh/config&lt;/span&gt;
Host github.com-work
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_ed25519_work

Host github.com-personal
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_ed25519_personal
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then every time you clone a repo, you have to remember to use the right host alias:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone git@github.com-work:mycompany/project.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And then manually set your local &lt;code&gt;user.name&lt;/code&gt; and &lt;code&gt;user.email&lt;/code&gt; per repo.&lt;/p&gt;

&lt;p&gt;It's doable. But it's tedious, error-prone, and hard to onboard teammates with. Every few months I'd mess something up and spend an hour fixing it.&lt;/p&gt;




&lt;h2&gt;
  
  
  What DevSwitch Does
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;DevSwitch&lt;/strong&gt; is a cross-platform desktop app (Electron + React) that manages all of this for you — visually, in one place.&lt;/p&gt;

&lt;p&gt;Here's what it handles:&lt;/p&gt;

&lt;h3&gt;
  
  
  🔑 SSH Key Management
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Generate new ED25519 or RSA keys with a single click&lt;/li&gt;
&lt;li&gt;Import existing keys from your &lt;code&gt;~/.ssh&lt;/code&gt; directory&lt;/li&gt;
&lt;li&gt;Optionally protect keys with a passphrase (stored encrypted, never plain text)&lt;/li&gt;
&lt;li&gt;Auto-register keys with &lt;code&gt;ssh-agent&lt;/code&gt;
### 👤 Profile Management&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each profile stores your:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Git username and email&lt;/li&gt;
&lt;li&gt;Linked SSH key&lt;/li&gt;
&lt;li&gt;Auto-generated SSH host alias (e.g. &lt;code&gt;github.com-umesh&lt;/code&gt;)
No more editing config files by hand. DevSwitch writes them for you and keeps them clean.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔄 Auto-Sync
&lt;/h3&gt;

&lt;p&gt;Already have a bunch of SSH keys set up? Hit &lt;strong&gt;"Sync All Keys"&lt;/strong&gt; and DevSwitch will scan your &lt;code&gt;~/.ssh&lt;/code&gt; directory, parse your existing config, and create profiles for every key it finds — without touching anything you've already configured.&lt;/p&gt;

&lt;h3&gt;
  
  
  🔗 GitHub OAuth Integration
&lt;/h3&gt;

&lt;p&gt;Connect your GitHub account to a profile and DevSwitch can upload your SSH public key directly to GitHub — no copy-pasting into settings pages required.&lt;/p&gt;




&lt;h2&gt;
  
  
  Tech Stack
&lt;/h2&gt;

&lt;p&gt;For the curious:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Electron 40&lt;/strong&gt; — desktop shell&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React 19 + TypeScript&lt;/strong&gt; — frontend&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tailwind CSS v4 + Radix UI&lt;/strong&gt; — UI components&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zustand&lt;/strong&gt; — state management&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;electron-store&lt;/strong&gt; — encrypted local storage&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Node.js crypto&lt;/strong&gt; — passphrase encryption
The architecture separates the Electron main process (SSH operations, file system, IPC) from the React renderer cleanly. All sensitive data like passphrases are encrypted at rest.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Using It Day-to-Day
&lt;/h2&gt;

&lt;p&gt;Once you've set up your profiles, switching between accounts is just context — you clone with the right host alias and DevSwitch has already wired up the SSH config for you.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clone with your work account:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone git@github.com-work:company/repo.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Clone with your personal account:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone git@github.com-personal:umesh/side-project.git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No extra commands. No fumbling with &lt;code&gt;GIT_SSH_COMMAND&lt;/code&gt;. It just works.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;I have a roadmap of features I want to add:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] CLI companion tool for terminal-first developers&lt;/li&gt;
&lt;li&gt;[ ] Export/import profiles for team sharing&lt;/li&gt;
&lt;li&gt;[ ] Git hook integration to auto-switch profiles per repository&lt;/li&gt;
&lt;li&gt;[ ] SSH key rotation scheduler&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  - [ ] Cloud sync across machines
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Try It Out
&lt;/h2&gt;

&lt;p&gt;DevSwitch is open source under the MIT license.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/umesh-saini/DevSwitch" rel="noopener noreferrer"&gt;github.com/umesh-saini/DevSwitch&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you've felt this pain before, give it a star ⭐ — it genuinely helps with discoverability, and I'd love to hear what features matter most to you.&lt;/p&gt;

&lt;p&gt;And if you find a bug or want to contribute, pull requests are very welcome. I've marked some good first issues to make it easy to get started.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built by a developer who kept pushing code to the wrong GitHub account at 2am. Never again.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>git</category>
      <category>opensource</category>
      <category>devtools</category>
      <category>ssh</category>
    </item>
  </channel>
</rss>
