github-notifier just gets GitHub's Notifications and sends them to OS X's Notification Center.
github-notifier makes up for GitHub for Mac (cf. GitHub for Mac: Notifications).
- OS X >= 10.8
- Xcode >= 5.0
- ruby >= 2.1
- octokit.rb (
gem install octokit
) - highline (
gem install highline
)
$ git clone https://github.com/henry0312/github-notifier.git
$ cd github-notifier
$ git submodule update --init --recursive
$ rake build
$ rake github.yml
Input Input API endpoint: |https://api.github.com|
Input Username:
Input Password:
$ rake load
If you use Two-factor Authentication, you have to create github.yml
manually.
- Get an access token from Authorized applications
NOTE1: The token must have the privilege to access notifications.
NOTE2: The privilege to repo and notifications is necessary. - Create
github.yml
as below
- API_ENDPOINT: <somewhere>
ACCESS_TOKEN: <your 40 char token>
USER: <username>
$ rake unload
If you want to change time interval to get notifications, you need to change INTERVAL
in conf.rb
and run:
$ rake unload
$ rake load
$ rake update
$ rake build
$ rake unload
$ rake add
Input Input API endpoint: |https://api.github.com|
Input Username:
Input Password:
$ rake load
- Fork it ( https://github.com/henry0312/github-notifier/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
MIT License
Copyright (c) 2014 Tsukasa ŌMOTO