Skip to content

Java/2022/0 stars · 0 forks

RSS GitHub Notifier for Slack

rss-notifier-for-slack is a small open-source Java utility that watches GitHub activity over RSS and posts updates into Slack channels.

dibyapp/rss-notifier-for-slack

Summary
A small Java utility that watches GitHub activity over RSS and posts the updates into Slack channels.
Language
Java
For
  • Teams who want repository activity in Slack without wiring up a full integration
  • Anyone monitoring a repository they do not own or control
  • Developers who want a readable example of RSS polling plus Slack webhooks in Java
Requires
  • Java 17+
  • A Slack incoming webhook URL

Overview

Release and repository notifications delivered by email are notifications nobody reads. This is a deliberately small Java program that polls a GitHub RSS feed and pushes what it finds into Slack, where the team already is. No framework, no service to operate — one class doing one job.

What it does

  • Single-class Java program — readable end to end in one sitting
  • Polls any GitHub RSS feed, including repositories you have no admin rights on
  • Posts into Slack channels via webhook
  • No framework and no runtime service to maintain

Why RSS rather than webhooks

GitHub webhooks are the better mechanism when you administer the repository. RSS wins when you do not — you can follow releases and activity on any public repository without asking anyone for access, which is exactly the case where a notification is most useful.

§QFrequently asked

How do I send GitHub notifications to Slack?

If you administer the repository, a webhook integration is the direct route. If you do not, poll the repository's RSS feed and post updates to a Slack incoming webhook — which is what this small Java utility does.

Can it watch repositories I do not own?

Yes. It reads public RSS feeds, so it works on any public repository without needing admin rights or an installed app.