8000 GitHub - mattdevelops/release-to-discord: Gets the latest GitHub release/tag and posts it in a Discord webhook
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

mattdevelops/release-to-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Release/Tag to Discord webhook

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.

Setup (using a server)

  1. Ensure you have Python 3 installed on your server of choice
  2. Install the requirements for this package using pip install -r requirements.txt
  3. Copy feeds/default.json to feeds/<config_name>.json and add the appropriate blank values
  4. 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
  5. Complete! Every time the Atom feed/API updates, the latest post will be sent to the Discord webhook

Example usage

I use this program to get the dependency updates for various packages I use.

About

Gets the latest GitHub release/tag and posts it in a Discord webhook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0