github-notification-gopherjs

module
v0.0.0-...-5e2e6e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2016 License: MIT

README

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

{
    "interval": 3,
    "token": "Personal access token"
}
  • interval: GitHub API execution interval seconds
  • token: Personal access token

Execute GitHub-Notification-GopherJS-darwin-x64/GitHub-Notification-GopherJS.app

Run as debug

Install gopherjs

go get -u github.com/gopherjs/gopherjs

Install npm and electron

% brew install npm 
% npm -g install electron-prebuilt

Clone repository and run

% git clone git@github.com:hatajo/github-notification-gopherjs
% cd github-notification-gopherjs
% npm install
% make clean && make all
% electron .

Package Build

Install electron-packager

% npm -g install electron-packager
% electron-packager . GitHub-Notification-GopherJS --platform=darwin --arch=x64 --version=0.35.4
% open GitHub-Notification-GopherJS

License

MIT

Directories

Path Synopsis
GitHub-Notification-GopherJS-darwin-x64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL