Skip to content

Alfred 4 workflow for opening your GitHub Repositories in your default browser.

License

Notifications You must be signed in to change notification settings

vookimedlo/alfred-github-repositories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alfred-github-repositories

Alfred 4 workflow for opening your GitHub Repositories in your default browser.

Installation

  1. Install alfred-github-repositories workflow.
  2. All further updates are handled automatically.
  3. Requires a python3 interpreter to be installed (e.g. via a Homebrew).

Usage

In Alfred, type repos. This initiate a repository retrieval process, which shows all your public and private GitHub Repositories. Then, you could preview a selected repository content by pressing +y, or open a selected repository in default browser by pressing enter.

alfred-github-repositories-menu

Opening in default browser could be overridden, either by pressing the key, or key, or key.

  • The first one - ⌘ - instructs workflow to copy a repository clone URL to clipboard.
  • The second one - ⌥ - instructs workflow to copy a repository CLI git clone command to clipboard.
  • The last one - ⌃ - instructs workflow to open a repository in GitHub Client.

alfred-github-repositories-submenu

Repositories could be filtered by their names. Regular expressions (Python) are supported.

Configuration

Before the first usage, you are required to fill the workflow variables.

Mandatory settings:

  • user is your Github username,
  • personalToken is your Github Personal Token created in your user settings. If you want to show your private repositories, not just the public ones, select the repo scope during the personal token generation.

Optional settings:

  • keyword contains the main workflow keyword, which is used to start this workflow. By default, it's set to repos,
  • showStarStats instructs to show the Stars count for the given repository. By default, it's set to true,
  • showForkStats instructs to show the Forks count for the given repository. By default, it's set to true,
  • starPictogram is a unicode pictogram for showing a Star count statistics. By default, it's set to 🎖,
  • forkPictogram is a unicode pictogram for showing a Star count statistics. By default, it's set to .

alfred-github-repositories-submenu-stats