Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

GitHub Notification App implemented by gopherjs + electron

License

Notifications You must be signed in to change notification settings

hatajoe/github-notification-gopherjs

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •