Demo
Install
$ npm install --global alfred-github-notifications
Requires Node.js 4+ and the Alfred Powerpack.
Configuration
Generate GitHub token
- Create a new personal access token with notification access here.
- Add description and click on genreate.
- Click copy.
Register environment variables through Alfred
- Open Alfred Preferences.
- Go to the Workflows tab.
- Select github-notifications.
- Open the variables panel by clicking the
Configure workflow and variables
[+] button on the right.
- Fill the values
-
access_token
: Previously copied GitHub token
- Save
Usage
In Alfred, type gn
to display notifications.
Optional params -
- a - Show notifications marked a read
- p - Show notifications in which you were directly mentioned or participated.
Author
Anshuman Verma