Alfred 4 workflow for opening your GitHub Gists in your default browser.
1) Install alfred-github-gists workflow. 2) All further updates are handled automatically. 3) Requires a python3 interpreter to be installed (e.g. via a Homebrew).
In Alfred, type gists
. This initiate a gists retrieval process, which shows all your public and private GitHub Gists.
Then, you could preview a selected Gist content by pressing ⌘+y, or open a selected Gist by pressing enter.
Before the first usage, you are required to fill the workflow variables.
user
is your Github username,personalToken
is your Github Personal Token created in your user settings. If you want to show your private gists, not just the public ones, select the gist scope
during the personal token generation.Optionally, the following workflow variables could be set.
keyword
contains the main workflow keyword, which is used to start this workflow. By default, it's set to gists
.