Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 

README.md

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.

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