/gitfred

Helpful GitHub assistant for Alfred.

Primary LanguageJavaScriptMIT LicenseMIT

Alfred GitFred

GitHub Downloads Alfred Gallery Downloads Latest Release

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.
    • ⌃⏎: 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.
    • ⇧⏎: Search the repo for a query via GitHub Code Search.
  • Access public 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 URL.
    • ⌃⏎: 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.
    • ⌥⏎: Search the repo for a query via GitHub Code Search.
  • 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 GitHub Token with access to notifications.
    • : Open the notification in the browser.
    • ⌘⏎: Mark the notification as read.
    • ⌥⏎: Copy the URL of the notification target.
  • Additionally, you can press the hotkey to clone a GitHub repo from the current browser tab. (Note that Firefox is not supported.)

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