wring.io, a Dispatcher of Github Notifications
A brand new tool from the prolific Yegor365 should help anyone managing multiple GitHub repos with multiple contributors
Join the DZone community and get the full member experience.Join For Free
i'm taking participation in over 50 repositories in github. we manage all of our projects there. github is sending me hundreds of emails every day. i'm serious. hundreds! i tried to filter them somehow in gmail, but it's not really possible. gmail filters are not powerful enough to understand the difference between different types of notifications, and there are many other problems. i decided to create my own simple filtering machine. it's called wring.io .
the idea of wring.io is simple. first, i'm registering my sources of notifications (called "pipes"), such as github. then i'm giving wring.io permission to connect to github on my behalf and fetch whatever is new there.
then i'm configuring what should be filtered out, using text matching and/or regular expressions. right after a new pipe is created, wring.io starts pulling all my sources and updating my inbox. all i need to do is delete new messages from my inbox when i'm done with them. that's it.
let's see an example. first i'm creating a new pipe:
it's a json object. property
must be set to
. this is the name of the javaclass that will be pulling my notifications from github. the project isopen source, so you can see how the class actually works:
must be set to the
personal access token
that i should create first in github. the server will connect to github on my behalf and under my credentials:
must have an array of strings. each item is a matching pattern. i can use a text or a regular expression. by default, it's a text. if exactly the same text is found in a notification, it will be ignored. to use a regular expression, i need to wrap it in slashes (for example
).you may skip that property and just specify this json:
then i go to my inbox and read what's there.
this solution literally saves me hours of time now. feel free to use it, it's absolutely free. moreover, it's open source, so feel free to contribute.
Published at DZone with permission of Yegor Bugayenko. See the original article here.
Opinions expressed by DZone contributors are their own.