Skip to content
Searching Github repos.
PHP Shell
Branch: master
Clone or download
willfarrell verion bump 1.7
include search API update
Latest commit e059b10 Feb 19, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
screenshots screen shot added Oct 3, 2013
src verion bump 1.7 Feb 19, 2017
CONTRIBUTING.md init commit Sep 30, 2013
Github.alfredworkflow verion bump 1.7 Feb 19, 2017
LICENSE Initial commit Sep 30, 2013
README.md verion bump 1.7 Feb 19, 2017
current-version.json added proxy support Dec 27, 2013

README.md

Github Workflow (Download v1.7)

Github on Alfred

Requirements

  1. Alfred App v2
  2. Alfred Powerpack

Installing

  1. Click the download buttons below
  2. Double-click to import into Alfred 2
  3. Review the workflow to add custom Hotkeys

About

Searching Github for gists, repos, user repos, or repos starred by a user

alt text

Setup

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.

  1. github proxy - Set proxy server if you need it for Internet connectivity
  2. github username {github_username} - Required to use git my, git star, & gist
  3. github password {github_passowrd} - A Github Application Token can be used in replace of (Recommended)
  4. github test - Test Github credentials

Commands

  • git search {query} - Search all of Github repos (Documentation)
  • git my {query} - Search user Github repos
  • git star {query} - Search user starred Github repos
  • git limit - Get remaining requests allowed count
  • gist {query} - Search user gists
  • gist create - Create new gist

Security

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.

Contributors

Featured

You can’t perform that action at this time.