Skip to content

github-notifier just gets GitHub's Notifications and sends them to OS X's Notification Center.

License

Notifications You must be signed in to change notification settings

henry0312/github-notifier

Repository files navigation

github-notifier

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).

screenshot01

screenshot02

Requirements

  • OS X >= 10.8
  • Xcode >= 5.0
  • ruby >= 2.1
  • octokit.rb (gem install octokit)
  • highline (gem install highline)

Installation

$ 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.

  1. 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.
  2. Create github.yml as below
- API_ENDPOINT: <somewhere>
  ACCESS_TOKEN: <your 40 char token>
  USER: <username>

Uninstallation

$ rake unload

Usage

Change time interval

If you want to change time interval to get notifications, you need to change INTERVAL in conf.rb and run:

$ rake unload
$ rake load

Update

$ rake update
$ rake build

Add endpoint

$ rake unload
$ rake add
Input Input API endpoint: |https://api.github.com|
Input Username:
Input Password:
$ rake load

Contributing

  1. Fork it ( https://github.com/henry0312/github-notifier/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Licence

MIT License
Copyright (c) 2014 Tsukasa ŌMOTO

About

github-notifier just gets GitHub's Notifications and sends them to OS X's Notification Center.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages