hatajoe / github-notification-gopherjs

GitHub Notification App implemented by gopherjs + electron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-notification-gopherjs

This app can receive GitHub notifications as desktop notification on darwin. This is implemented by gopherjs + electron

How to use

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

Run as debug

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 .

License

MIT

About

GitHub Notification App implemented by gopherjs + electron

License:MIT License


Languages

Language:JavaScript 75.6%Language:HTML 20.0%Language:Objective-C 3.5%Language:C 0.6%Language:Go 0.2%Language:Makefile 0.0%