Github Workflow (Download v1.5)
Github on Alfred
- Click the download buttons below
- Double-click to import into Alfred 2
- Review the workflow to add custom Hotkeys
Run the Alleyoop Workflow using the keyword oop
. If you're not comfortable with Alleyoop, star & watch this repo to keep up to date on new versions and additional workflows.
Searching Github for gists, repos, user repos, or repos starred by a user
Github allows 60 request per hour. This isn't very high and can be used up very quickly when doing searches. To get 5000 request per hour, enter in your github credentials.
github username {github_username}
- Required to usegit my
,git star
, &gist
github password {github_passowrd}
- A Github Application Token can be used in replace of (Recommended)github test
- Test Github credentials
git search {query}
- Search all of Github repos (Documentation)git my {query}
- Search user Github reposgit star {query}
- Search user starred Github reposgit limit
- Get remaining requests allowed countgist {query}
- Search user gistsgist create
- Create new gist
API calls are made using Githubs Basic Authentication. The requests use -u <your_username>
, not -u <your_username>:<your_password>
which leaves your password in shell history and isn’t recommended (See src/auth.sh
for implementation). Github credentials are stored in /Library/Application Support/Alfred 2/Workflow Data/com.farrell.github.alfredworkflow/settings.plist
.