All Projects → femtopixel → github-release-notifier

femtopixel / github-release-notifier

Licence: MIT license
Automatize tasks when a specific package got a new release - Github Release Notifier

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to github-release-notifier

Apprise
Apprise - Push Notifications that work with just about every platform!
Stars: ✭ 4,307 (+20409.52%)
Mutual labels:  notification-api, notification-service, notifier
tcWebHooks
WebHooks plugin for Teamcity. Supports many build states and payload formats.
Stars: ✭ 128 (+509.52%)
Mutual labels:  webhooks, webhook
Generic Webhook Trigger Plugin
Can receive any HTTP request, extract any values from JSON or XML and trigger a job with those values available as variables. Works with GitHub, GitLab, Bitbucket, Jira and many more.
Stars: ✭ 287 (+1266.67%)
Mutual labels:  webhook, notification
Email-Graph-ZABBIX Python
No description or website provided.
Stars: ✭ 16 (-23.81%)
Mutual labels:  notification-api, notification
pr-reviews-reminder-action
A GitHub Action to send Slack/Teams notification for Pull Request that are waiting for reviewers.
Stars: ✭ 18 (-14.29%)
Mutual labels:  webhook, notification
commit-hawk
Notify when watched file(s) change in a GitHub repo
Stars: ✭ 24 (+14.29%)
Mutual labels:  webhook, notification-service
discord-twitter-webhooks
🤖 Stream tweets to Discord
Stars: ✭ 47 (+123.81%)
Mutual labels:  webhooks, webhook
PushMeBaby
iOS Push Notification Debug App. You can use this app during iOS Push Notification (development or production) to push notifications on your device from your Mac.
Stars: ✭ 47 (+123.81%)
Mutual labels:  notification-service, notification
Taviloglu.Wrike.ApiClient
.NET Client for Wrike API
Stars: ✭ 24 (+14.29%)
Mutual labels:  webhooks, webhook
sre.surmon.me
💻 SRE service for Surmon.me blog.
Stars: ✭ 34 (+61.9%)
Mutual labels:  webhooks, webhook
Webhook
webhook is a lightweight incoming webhook server to run shell commands
Stars: ✭ 7,201 (+34190.48%)
Mutual labels:  webhooks, webhook
notify
推送通知 sdk(Bark、Chanify、钉钉群机器人、Discord、邮件、飞书群机器人、Gitter、Google Chat、iGot、Logger、Mattermost、Now Push、PushBack、Push、PushDeer、PushPlus、QQ 频道机器人、Rocket Chat、Server 酱、Showdoc Push、Slack、Telegram、Webhook、企业微信群机器人、息知、Zulip)。
Stars: ✭ 335 (+1495.24%)
Mutual labels:  webhook, notifier
snmp notifier
A webhook to relay Prometheus alerts as SNMP traps, because sometimes, you have to deal with legacy
Stars: ✭ 33 (+57.14%)
Mutual labels:  webhook, notification
Notifiers
The easy way to send notifications
Stars: ✭ 2,034 (+9585.71%)
Mutual labels:  notification-service, notifier
Achievibit
Github Gamification - Achievements system as a GitHub WebHook.
Stars: ✭ 93 (+342.86%)
Mutual labels:  webhooks, webhook
lemon
Lemon – LED Monitor – is a $79.43 opensource alternative to LaMetric that supports GitHub-, IFTTT- and Zapier-webhooks and even integrates with Pushover!
Stars: ✭ 45 (+114.29%)
Mutual labels:  webhooks, notification
notification-service-js
🚦Notification Service based on Custom Elements
Stars: ✭ 16 (-23.81%)
Mutual labels:  notification-service, notification
flutter-push-notification-without-firebase
Flutter push notification without firebase with background services feature
Stars: ✭ 42 (+100%)
Mutual labels:  notification-service, notification
iris
Watch on Kubernetes events, filter and send them as standard wehbook to any system
Stars: ✭ 57 (+171.43%)
Mutual labels:  webhooks, webhook
Postmark webhooks
Lightweight quickstart app for receiving and processing webhooks from Postmark
Stars: ✭ 14 (-33.33%)
Mutual labels:  webhooks, webhook

https://github.com/femtopixel/github-release-notifier/raw/master/logo.png

Github Release Notifier

latest release latest release Docker pull Docker stars PayPal donation Buy me a coffee Buy me a coffee

DISCLAIMER: As-of 2021, this product does not have a free support team anymore. If you want this product to be maintained, please support.

(This product is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added.)

This program will allow you to be notified of Github new releases

Installation

pip3 install github-release-notifier

Usage

usage: github-release-notifier [-h] [--action {cron,subscribe,unsubscribe}] [--package PACKAGE]
              [--webhook WEBHOOK] [--uuid UUID]

optional arguments:
  -h, --help            show this help message and exit
  --action {cron,subscribe,unsubscribe}, -a {cron,subscribe,unsubscribe}
                        Action to do (default: cron)
  --package PACKAGE, -p PACKAGE
                        Github package name / url (required for
                        subscribe/unsubscribe) - prints uuid on subscription
  --webhook WEBHOOK, -w WEBHOOK
                        URL to your webhook (required for
                        subscribe/unsubscribe)
  --uuid UUID, -u UUID  UUID of your webhook (required for unsubscribe)

Example

First, I register my webhook :

github-release-notifier --action subscribe --webhook https://example.com/updated --package jaymoulin/google-music-manager

an UUID is printed. this UUID will be required to unsubscribe the webhook.

When jaymoulin/google-music-manager releases a new version, https://example.com/updated will be called with HTTP method POST and body, a JSON like this :

{
    "date": [2017, 11, 13, 19, 46, 35, 0, 317, 0],
    "version": "0.7.2",
    "title": "Fixes split modules",
    "content": "",
    "media": "https://avatars0.githubusercontent.com/u/14236493?s=60&v=4",
    "author": "jaymoulin"
    "package_name": "jaymoulin/google-music-manager"
}

For this to happen, the system should check if a new version have been released. We can do that by calling github-release-notifier without any parameter or setting --action to cron (which is default).

To automate this process, we could add this process in a cronjob:

(crontab -l ; echo "0 0 * * * github-release-notifier") | sort - | uniq - | crontab -

This will check every day at midnight if new versions have been released.

Configuration

Environment variables can be defined to change default hooks or versions database files (plain json file)

GRN_VERSIONS_FILE: Path to saved versions (default: ${HOME}/.github_release_notifier/versions)
GRN_HOOKS_FILE: Path to hooks configuration (default: ${HOME}/.github_release_notifier/hooks)

Docker Usage

First run the daemon

docker run --name GRN -d femtopixel/github-release-notifier

you can mount a volume to /root/.github_release_notifier/ to keep tracks of webhooks and versions

example:

docker run --name GRN -d -v /path/to/your/saves:/root/.github_release_notifier/ femtopixel/github-release-notifier

Then register your webhook :

docker exec GRN -a subscribe -p jaymoulin/google-music-manager -w https://example.com/updated

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub

Author

Jay MOULIN [email protected] See also the list of contributors which participated in this program.

License

Github Release Notifier is licensed under the MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].