This app can receive GitHub notifications as desktop notification on darwin. This is implemented by gopherjs + electron
Create GitHub Personal access token. (don't forget to enable notifications
check box)
And create specified file to your $HOME/.github-notification-gopherjs
// For github.com
{
"interval": 3,
"token": "Personal access token",
"githostname": "github.com",
"apihostname": "api.github.com"
}
For GithubEnterprise Example
{
"interval": 3,
"token": "Personal access token",
"githostname": "ghehost.example.com",
"apihostname": "ghehost.example.com/api/v3"
}
- interval: GitHub API execution interval seconds
- token: Personal access token
Copy app to ~/Applications
directory.
% make install
Install gopherjs
go get -u github.com/gopherjs/gopherjs
Install npm and electron
% brew install npm
% npm -g install electron-prebuilt
% npm -g install electron-packager
Clone repository and run
% git clone git@github.com:hatajo/github-notification-gopherjs
% cd github-notification-gopherjs
% npm install
% make clean && make all
% electron .
MIT