Skip to main content

Github Notifier

Project description

.. image::

Discord Github Release Notifier

.. image::
:alt: latest release
.. image::
:alt: latest release

This a fork of `femtopixel <>`_'s `Github Release Notifier <>`_ with the notifications adapted to Discord.


.. code::

pip3 install discord-github-release-notifier


.. code::

usage: discord-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
--uuid UUID, -u UUID UUID of your webhook (required for unsubscribe)


First, I register my webhook :

.. code::

discord github-release-notifier --action subscribe --webhook{}/{webhook.token} --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, `{}/{webhook.token}` will be called with the release details.

For this to happen, the system should check if a new version have been released.
We can do that by calling `discord-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:

.. code::

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

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

Submitting bugs and feature requests

Bugs and feature request are tracked on GitHub


Jay MOULIN See also the list of contributors which participated in this program.
Filipe LAÍNS (adaptatiion to discord)


Discord Github Release Notifier is licensed under the MIT License

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

discord_github_release_notifier-1.0.1.tar.gz (38.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page