Skip to content

chrisgrieser/gitfred

Repository files navigation

GitFred

Download count version number

Helpful GitHub Assistant for Alfred.

Showcase owned repo search Showcase public repo search Showcase issue search

Usage

  • Search all public GitHub repositories via the keyword gh.
    • : Open the repo's GitHub page.
    • ⌘⏎: Open the repo's homepage. If it has none, opens the releases page instead.
    • ⌥⏎: Copy the repo URL.
    • ⌃⏎: Shallow clone the repo to a local folder and open in the Terminal. Optionally, creates a fork on GitHub with the gh cli and prepares the repo for a PR.
  • Quick access the repositories you own via gmy.
    • : If the repo is available locally on your device, open it in Finder. Otherwise, open the repo's GitHub page.
    • ⌘⏎: Open the repo's GitHub page.
    • ⌥⏎: Copy the repo link.
    • ⌃⏎: Shallow clone the repo to a local folder and open in the Terminal. If the repo is already locally available on your device, just open the repository in the Terminal.
  • Open recent GitHub issues you are involved in with ghi.
    • : Open the issue in the browser.
    • ⌥⏎: Copy the issue URL.
  • Access Pull Requests (PRs) you have opened with the keyword gpr.
    • : Open the PR in the browser.
    • ⌥⏎: Copy the link to the PR.
  • Directly open your GitHub notification via ghn. (Requires that you export a $GITHUB_TOKEN set in your .zshenv.)
    • : Open the notification in the browser.
    • ⌘⏎: Mark the notification as read.
    • ⌥⏎: Copy the URL of the notification target.

Note

To be as lightweight as possible, this workflow only requires a GitHub token when needed, that is for accessing notifications. The GitHub cli gh is also only needed when cloned repos should also automatically be forked.

Installation

This workflow requires Alfred 5.5.

➡️ Download the latest release.

The workflow auto-updates via Alfred's workflow-update mechanism.

Credits

In my day job, I am a sociologist studying the social mechanisms underlying the digital economy. For my PhD project, I investigate the governance of the app economy and how software ecosystems manage the tension between innovation and compatibility. If you are interested in this subject, feel free to get in touch.

Buy Me a Coffee at ko-fi.com