GitFred
![version number](https://img.shields.io/github/v/release/chrisgrieser/gitfred?label=Latest%20Release&style=plastic)
Helpful GitHub Assistant for Alfred.
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 GitHub Token with access
to notifications.
- ⏎: 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.
<img
height='36'
style='border:0px;height:36px;'
src='https://cdn.ko-fi.com/cdn/kofi1.png?v=3'
border='0'
alt='Buy Me a Coffee at ko-fi.com'
/>