github helper

From their README

@stoe/alfred-github-helper

test codeql publish styled with prettier

Alfred GitHub Helper

Requirements

  • Node 20 or later
  • npm 10 or later

Installation

$ npm install -g @stoe/alfred-github-helper

Usage

Preparation

  1. In Alfred, type g token to store a GitHub personal access token with the scopes read:user, read:org, and user:email.
  2. Still in Alfred, type g orgteam / to set the organisation and team slug used for lookups.
  3. Use the keyword g for bookmarks and search, and @ to browse teams and members. A hotkey is included in the workflow; adjust it in Alfred if you prefer a different binding.

no GitHub token no org nor team

Bookmarks

bookmarks example

Store bookmarks in ~/.alfred-github-helper-bookmarks.json using the following shape. If the file is missing, the workflow loads a default entry that links back to this repository.

[
  {
    "uid": "alfred-github-helper",
    "title": "alfred-github-helper",
    "cmds": ["alfred-github-helper"],
    "url": "https://github.com/stoe/alfred-github-helper"
  }
]

Teams and members

teams and members example member quicklook example

Results are cached for 24 hours. Hold ⌘ Command on a result to open the related GitHub URL.

Troubleshooting

  • "GitHub token not found": set a personal access token with g token .
  • "Couldn't find your organisation or team": set both values with g orgteam /.

License