Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cheshire137/gh-notifications-snoozer
Lists and filters and snoozing pull requests, oh my! This is an app for managing your notifications on GitHub by way of filtering issues and pull requests that are of interest to you.
https://github.com/cheshire137/gh-notifications-snoozer
bulma-css desktop-app electron github javascript notifications react redux
Last synced: about 1 month ago
JSON representation
Lists and filters and snoozing pull requests, oh my! This is an app for managing your notifications on GitHub by way of filtering issues and pull requests that are of interest to you.
- Host: GitHub
- URL: https://github.com/cheshire137/gh-notifications-snoozer
- Owner: cheshire137
- License: mit
- Created: 2016-07-12T22:59:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-21T21:31:50.000Z (almost 8 years ago)
- Last Synced: 2024-12-04T20:54:11.098Z (about 1 month ago)
- Topics: bulma-css, desktop-app, electron, github, javascript, notifications, react, redux
- Language: JavaScript
- Homepage:
- Size: 1.26 MB
- Stars: 15
- Watchers: 5
- Forks: 10
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# gh-notifications-snoozer
[![Build status](https://travis-ci.org/cheshire137/gh-notifications-snoozer.svg?branch=master)](https://travis-ci.org/cheshire137/gh-notifications-snoozer)
Lists and filters and snoozing pull requests, oh my! This is an app for managing
your notifications on GitHub by way of filtering issues and pull requests that are
of interest to you.![Screenshot 1](https://raw.githubusercontent.com/cheshire137/gh-notifications-snoozer/fa8024126b53358ca626d5b43afeceab0b0de252/screenshot1.png)
You must provide a GitHub personal access token once you start the app the first
time. [Create a token](https://github.com/settings/tokens/new) with the `repo`
scope. When running the app, your token will be stored in Keychain in macOS,
Gnome Keyring in Linux, and Credential Vault in Windows.## How to Develop
This was developed with npm version 3.10.3 and node version 6.3.1.
### First-time Setup
In Linux, you may need to run
```bash
sudo apt-get install libgnome-keyring-dev
```first because this app uses gnome-keyring. Afterward, including for macOS and
Windows:```bash
# Clone this repository
git clone https://github.com/cheshire137/gh-notifications-snoozer
# Go into the repository
cd gh-notifications-snoozer
# Install dependencies
npm install
```### Every Time
If you are developing snoozer use `npm run-script dev`. This will use your
Desktop as the storage location to make deving easier.For everything else use `npm start`.
### Troubleshooting
> When I run `npm start`, I get "Error: Module version mismatch. Expected 49, got 48" in the JavaScript console.
Exit the app and try running:
```bash
./node_modules/.bin/electron-rebuild
```Then run `npm start` again and see if the app loads.
> In Windows when I `npm install`, I get an error with node-gyp.
These instructions come from https://github.com/nodejs/node-gyp#installation.
1. Install Python from https://www.python.org/downloads/windows/. As of this time, node-gyp requires Python version >= v2.5.0 and < 3.0.0.
1. Install Microsoft Visual C++ Build Tools from http://landinghub.visualstudio.com/visual-cpp-build-tools using the Default Install option.
1. If you're in Windows 7 or Vista, install .NET Framework 4.5.1 from http://www.microsoft.com/en-us/download/details.aspx?id=40773.
1. Install Microsoft Build Tools from https://www.microsoft.com/en-us/download/details.aspx?id=48159.
1. Install the latest NodeJS from https://nodejs.org/en/download/current/. As of this time, it's npm 3.10.8 and node 6.8.1.
1. `npm config set msvs_version 2015 --global`
1. `rm -r node_modules`
1. `npm install`## How to Run Tests
How you set the `NODE_ENV` environment variable to run `npm test` may be different depending on your operating system and shell.
```bash
npm install
NODE_ENV=test npm test
```You can run just the style checker by itself with `npm run style`. You can run just the tests by themselves with `NODE_ENV=test npm run unit-tests`.
## How to Build the App
### macOS
```bash
npm install
npm run build-macos
```The directory dist/GHSnooze-darwin-x64/ will be created with a GHSnooze.app file inside that you can double-click to run.
### Windows
```bash
npm install
npm run build-windows
```Directories dist\GHSnooze-win32-ia32\ and dist\GHSnooze-win32-x64\ will be created with GHSnooze.exe that you can run.
### Linux
```bash
npm install
npm run build-linux
```