/ginof

A command to fetch Github notifications and display them using gnome notifications

Primary LanguagePHP

Master Status: Master Status

Develop Status: Develop Status

Installation

In order to use gnome notifications, install dbus ext through pecl:

# apt-get install pear php5-dev libdbus-1-dev libxml2-dev
# pecl install channel://pecl.php.net/dbus-0.1.1

OAuth

You must have a valid token within the scope "notifications" (not tested with the "repo" scope).

To do that, please refer to the official documentation.

Usages

ginof fetch

Usage:
 fetch [--force] api-token [persist-at]

Arguments:
 api-token   Your Github API access token
 persist-at  Where to store notifications cache (default: "/tmp/github-notifications")

Options:
 --force     Wether or not to bypass the cache and force fetching the notifiations

ginof show

Usage:
 show [persist-at]

Arguments:
 persist-at  Where to read notifications cache from (default: "/tmp/github-notifications")