Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dciborow/github-account-switcher

An (attempt at) Edge extension to automatically switch GitHub accounts.
https://github.com/dciborow/github-account-switcher

Last synced: 6 days ago
JSON representation

An (attempt at) Edge extension to automatically switch GitHub accounts.

Awesome Lists containing this project

README

        

# GitHub Account Switcher

## Description

GitHub Account Switcher is a Chrome extension that automatically selects the appropriate GitHub account when accessing a repository. It determines the correct account based on predefined rules or patterns, such as repository ownership or organization membership. This extension streamlines workflow for users with multiple GitHub accounts, eliminating the need for manual account switching.

### New Feature: Automatically Select "Switch to another account" Option

The extension now includes a feature that automatically selects the "Switch to another account" option when the "Signed in as" tab pops up. This ensures a seamless transition for users who need to switch accounts.

## Manual Installation

1. Clone the repository to your local machine.
2. Open Chrome and navigate to `chrome://extensions/`.
3. Enable "Developer mode" by toggling the switch in the top right corner.
4. Click on the "Load unpacked" button and select the `extension` directory from the cloned repository.

## Testing

1. Open GitHub and navigate to a repository where you have multiple accounts.
2. The extension should automatically switch to the correct account if the current account does not have access.
3. If the extension does not work as expected, check the console for any error messages and ensure that the `background.js` and `content.js` files are correctly loaded.
4. Verify that the extension automatically selects the "Switch to another account" option when the "Signed in as" tab pops up.