You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Searching Github for gists, repos, user repos, or repos starred by a user
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.
github proxy - Set proxy server if you need it for Internet connectivity
github username {github_username} - Required to use git my, git star, & gist
github password {github_passowrd} - A Github Application Token can be used in replace of (Recommended)
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.