Giter Club home page Giter Club logo

pophub-electron's Introduction

PopHub

GitHub activity & notification viewer.

Note

This repository is only for my Election practice and demonstration.
It's not actively maintained.

You can download the actual app written in Swift from the Mac App Store. https://itunes.apple.com/jp/app/pophub/id928494006?mt=12

Requirements

Mac OS X 10.8 or later.

Installation

Download

You can download pre-built packages from releases page.

Build from source

$ npm install
$ npm run package

Customization

This is the state shape of PopHub.

{
  accessToken: '...',
  user: { login: 'questbeat', ... },
  activePage: 0, // = ActivePage.EVENTS
  eventsUpdateInterval: (1000 * 60 * 10), // 10 min
  notificationsUpdateInterval: (1000 * 60 * 10), // 10 min
  notificationsUpdateInterval: (1000 * 60 * 30), // 30 min
  events: [ ... ],
  fetchingEvents: false,
  notifications: {
    "questbeat/Foo": [ ... ],
    "questbeat/Bar": [ ... ]
  },
  fetchingNotifications: false,
  gitHubStatus: {
    "status": "good",
    "last_updated": "2015-09-15T05:58:44Z"
  }
}

You can customize the behavior of app by modifying the initial state in src/renderer/index.js.
See the examples below.

Example: Automatically sign in on launch

const store = configureStore({
  accessToken: '...', // Write your personal access token
  user: {
    login: 'questbeat'
  }
});

Example: Show the "Notifications" tab as default

const store = configureStore({
  accessToken: '...', // Write your personal access token
  user: {
    login: 'questbeat'
  },
  activePage: 1, // = ActivePage.NOTIFICATIONS
});

License

PopHub is released under the MIT license.
For more information, see LICENSE file in this repository.

pophub-electron's People

Contributors

nek023 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pophub-electron's Issues

Add actor avatar

On the left of the action icon, showing the actor avatar (using actor.avatar_url) would be awesome.

Read notifications persist

Read and opened notifications persist in app. This is evident when re-launching the app where it notifies for notifications which have already occurred and have been opened weeks ago.

Cannot authorise github account

The version on the AppStore doesn't work for me. I cannot authorise the app to access my github account.

When I click on the menubar icon, I choose Continue
screen shot 2015-11-07 at 09 35 48

It opens a github oauth request (blank page?), then ask to launch an external program (PopHub)
screen shot 2015-11-07 at 09 36 45

After that, nothing happens.

As you can see on the second picture (pay attention to the pophub:// URI), there is an error on the redirect URI.

Add color change for menu bar icon

When receiving a new notification, it would be nice for the menu bar icon to change color in order to see pending notifications we might have missed (didn't see the notification alert) or are still pending.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.