Python program that looks up and refreshes the GitHub Atom feed or polls the GitHub API which grabs data that is posted to a Discord webhook with great customisation. Recommended to be run on a (Ubuntu) server using a process manager (PM2 recommended). You could also use a cloud platform service (PaaS) to run the code such as Heroku.
- Ensure you have Python 3 installed on your server of choice
- Install the requirements for this package using
pip install -r requirements.txt
- Copy
feeds/default.json
tofeeds/<config_name>.json
and add the appropriate blank values - Using your process manager, setup main.py to run. I recommend using PM2 so it would be
pm2 start main.py --name=release-to-discord --interpreter=python3
- Complete! Every time the Atom feed/API updates, the latest post will be sent to the Discord webhook
I use this program to get the dependency updates for various packages I use.