Coder Social home page Coder Social logo

dalalsunil1986 / github-gmail Goto Github PK

View Code? Open in Web Editor NEW

This project forked from muan/github-gmail

0.0 0.0 0.0 383 KB

[Browser extension] Open GitHub notifications with shortcuts in Gmail.

License: MIT License

HTML 4.82% JavaScript 89.05% CSS 6.14%

github-gmail's Introduction

Helper for GitHub notifications in Gmail

A browser extension for Chrome, Firefox(broken), and Safari that adds keyboard shortcuts to the Gmail interface for GitHub notification emails.

Features

Mail View Shortcut

Open your GitHub notifications in mail view:

  • Chrome/Firefox: shift + g, shift + b in the background
  • Safari: ctrl + g, ctrl + b in the background

Mail view button

List View Shortcut

ctrl + return to trigger one the action button when an email is selected using gmail key navigation (when the blue bar appears):

action button in list view

Mute Thread

Mute thread in mail view. It will open a background window to load the mute thread URL, and close itself when done. This only works if you have an active GitHub session.

  • Chrome/Firefox: shift + h
  • Safari: ctrl + h

Mute thread button

Installation

The easy way

Chrome: Install the extension via Chrome webstore
Firefox: Install the addon via Firefox addons gallery
Safari: N/A I have not signed up for Apple Developer Program

The manual way

Chrome

  1. Go to Releases and download the latest version and unzip it.
  2. Go to Chrome extensions page (chrome://extensions/) and load the folder as an Unpacked extension.

Firefox

muan#70

Safari

  1. Go to Releases and download the latest version and unzip it.
  2. Preferences > Advanced > Show Develop menu in menu bar
  3. Develop > Show Extension Builder > + > Add Extension > Choose the folder > Run

Settings

  1. Custom domains
  2. Mail view: open thread shortcut
  3. Mail view: open thread in background shortcut
  4. Mail view: mute thread shortcut

Custom Domains (for GitHub Enterprise)

If you are using GitHub Enterprise and have a custom domain, you can set it in the extension options page.

domain option

Mail View Shortcut

Customize the keyboard shortcut that triggers the View on GitHub button. Change the shortcut combination by focusing the input, and press whatever key(s) you want to be the shortcut. It will be displayed in keyCode which is why you see 71 here instead of g. Don't worry about it.

To open and focus the new window right away (shift + g):

image

To open a new window in the background (shift + b) – Chrome only:

image

To mute a thread in the background (shift + h) – Chrome only:

image

Development

Load the extension manually and modify the code accordingly in these places:

Chrome: chrome/src/inject/inject.js.
Firefox: firefox/data/index.js.
Safari: safari/github-gmail-safariextension/main.js

The End

Love it? Tell me!

Found a bug? Open an issue.

github-gmail's People

Contributors

muan avatar zburk avatar zerowidth avatar yoloseem avatar kbouw avatar lukecaputo avatar nikai3d avatar suzyelbow avatar

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.