Skip to content

About

Jump to any of your GitHub organizations, and your recent or favourite repos, in one click. Unofficial, not made by GitHub.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

Repository files navigation

Org Switcher for GitHub

Jump straight to any of your GitHub organizations, and to the repos you were just in, from one click in the toolbar.

Why

Getting from a repo in one organization to the repo list of another takes four clicks on GitHub: Home, the switcher arrow, the organization, then Repositories. This is a small popup that cuts it to two: the toolbar icon, then the organization.

What it does

  • Organizations. Add them once in Settings, then click one to open its repository list. Hovering a row reveals shortcuts to that organization's Overview, Repositories and Projects pages. Personal accounts work too: add your own username and set its type to Personal in Settings, which GitHub needs because organizations and people use different addresses for those pages.
  • Recent repos. The five most recent repos you opened on github.com, listed automatically.
  • Favorites. Star a repo to pin it, up to five. Favorites follow your Chrome profile between computers.
  • Jump to a number. Type an issue, pull request or project number into the field at the top of the popup and every repo in your lists offers it, with the repo in your current tab first, so the number and Enter is usually enough. Organizations offer their project with that number. For a repo outside your lists, type it the way GitHub writes it: owner/repo#123.
  • From the keyboard. Alt+Shift+G (Option+Shift+G on a Mac) opens the popup with the cursor in the number field. Or skip the popup: type gh and Tab in the address bar, then a number or part of a repo or organization name. Change the shortcut at chrome://extensions/shortcuts.
  • Moving between profiles. Chrome keeps extension settings separately for each profile, so a second profile starts out empty. Settings can copy your organizations and favorites to the clipboard as one line of text, and add them to another profile when you paste it in there.
  • Languages. English, British English, German, Spanish, Romanian and Hungarian, chosen by Chrome from the language you have set. Both Englishes say "Organization", since that is how github.com spells it for a reader in the UK too.

Install

Install it from the Chrome Web Store.

To run it from source instead:

  1. Download or clone this repository
  2. Open chrome://extensions
  3. Turn on Developer mode, top right
  4. Click Load unpacked and select the extension/ folder
  5. Click the toolbar icon, then the gear, and add your first organization

What it stores, and what it sends

It sends nothing unless you ask it to. There is no server, no account, no token and no GitHub API call. Out of the box the extension makes no network requests at all.

The one exception is a switch on the settings page, off unless you turn it on, which sends anonymous counts of which features get used: that the popup was opened, which button opened an organization, whether a repo came from favorites or recents, and so on. It never sends the name of an organization or repo, any address you visit, or anything identifying you. Turning it on is what triggers Chrome to ask for permission to reach cloud.umami.is; the install prompt only ever mentions github.com. The full list is in the privacy policy.

It stores three things, all of them yours:

What Where Leaves your computer?
Your list of organizations storage.sync Only as far as Chrome syncs your own profile
Pinned favorites storage.sync Same
Up to 15 recent repos storage.local No

The recent list is built by reading the address of github.com tabs as they finish loading, and keeping the ones that look like a repository page. The popup also reads the address of the GitHub tab you are on, so a typed number can go to that repo first, and keeps nothing from it. Those are the only two reasons the extension asks for permission on github.com, and they are why it asks for that rather than the much broader tabs permission, which would expose the address of every tab you open anywhere. It never reads page content.

You can pause tracking from the popup itself, and clear the history from the settings page, at any time. Full privacy policy.

Development

There are no dependencies and no build step for the extension itself. It is plain HTML, CSS and JavaScript that Chrome loads directly from extension/.

node --test    # runs the tests
./build.sh     # produces the Chrome Web Store zip in dist/

The tests cover the logic where a bug would otherwise be invisible: whether a URL is a repository page, whether an organization slug is valid, where an organization row points, what the service worker records, what a setup string carries between profiles and what it refuses to carry, when the usage-stats prompt appears, and exactly what a usage event may contain. Everything else is DOM rendering, checked by loading the extension and using it.

extension/         the extension itself, loadable unpacked
  lib/             the pure modules, shared with the tests
test/              node --test
build.sh           produces dist/org-switcher-for-github-<version>.zip

Credits

Designed and built through a conversation with Claude, including the parts where it argued the other way: against OAuth for the first version, against resizing the popup to fit long repo names, and against shipping a second Store listing for the OAuth version later.

License

MIT, copyright Momentous Global Productions Ltd.


Unofficial. Not affiliated with, endorsed by, or sponsored by GitHub, Inc. GitHub is a trademark of GitHub, Inc.

About

Jump to any of your GitHub organizations, and your recent or favourite repos, in one click. Unofficial, not made by GitHub.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages