Github Workflow
Github Alfred Workflow to cache and search repositories
Requirements
sqlite - cache and config values are stored in an sqlite database Github Access Token - for Github API access
Installation
- Download github-workflow.alfredworkflow from the repo's releases section
- Install in Alfred (double-click)
Setup
- Have your GitHub Access Token ready, if you don't have one you can generate here https://github.com/settings/tokens; you may have to ensure it is authorized for SSO.
- In Alfred set the
API_KEY
environment variable to your GitHub API key/Access Token. - In Alfred type
gh
, navigate to refresh, hit ENTER to cache/index your GitHub repositories. This may take some time depending on the number of organizations and repositories you have access to, there will be a notification popup once complete.
Usage
gh <reponame>
which queries Github repositories