Skip to content

meeech/github-shush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-shush

*** NO LONGER NEEDED *** Github has improved notifications.

About

You read your github notifications in email, but the badge still haunts the OCD elf in you when you are on the github site. shush is a simple gem which will go and mark them all as read.

Usage

gem install github-shush

On first run, will create the file ~/.github-shush-config.rb. You will need to go and edit that file.

shush : will mark all notifications to as read

shush delete : will delete all UNREAD notifications

shush wipe : will delete ALL notifications

shush is pretty basic - ie: no paginating, so if you have a ton of notifications to delete, you will want to just run it multiple times.

Feedback, forks and comments always welcome.

Background

"wondering if its possible to make gmail tool which deletes message notification on github if you've deleted the related email." tweet

The answer is yes and no. In the end, my use case was satisfied with this gem I can trigger from the cli. You can hook it up to gmail, fairly simply - I will outline how below if you interested in taking it to the next level.

re: gmail connection

Originally, I thought I could make a Component for Gmail that would add a button when it saw the message was a notification from Github. Turns out components are for Gmail for your domain only (I wish that had been clearer :) ). So, the next best solution would be to use chrome/safari extension, or a greasemonkey script.

Basic Imagined Flow:

User Clicks on Archive + Mark as Read on Github >> pings github-shush running on a localhost:9999 >> github-shush then does some subject/text matching, marks the relevant message as read.

Obviously, you could deploy to heroku, but the gem needs your github creds, and I have no interest in making a system where I'm responsible for storing your gh creds. Which is why I figured just running the gem on localhost.

But for me, my itch is scratched.

About

A simple gem mark all notices as read (or delete them)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages