Skip to content

(Alpha) Harnessing a GitHub repository activity for use as a WebHook and RSS feed

Notifications You must be signed in to change notification settings

An0n3m0us/GithubRepoActivity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GithubRepoActivity

Python script that uses the Github API to follow the activity of a repository then converts it into a WebHook format (for Discord, Slack and Gitter) and an RSS feed file.

Tested on Linux (it should work on Mac and Windows)

Example of the IssueCommentEvent event using the minetest/minetest_game repo:

img

Events

Supported

IssuesEvent (opened, closed, reopened)

IssueCommentEvent (comments in issues and pull requests) (edits not supported)

PullRequestEvent (opened, closed, reopened)

PullRequestReviewCommentEvent (diffs)

PushEvent (commits pushed to repo)

Not supported

Multiple commits in a push (TODO)

Receiving multiple messages (TODO)

Edited issues & comments, pull request & comments (no global API event)

WatchEvent (not adding)

StarEvent (not adding)

Setup

  1. Clone this repository

  2. Create a webhook from an application (optional) then modify the settings in settings.txt.

  3. Run repoActivity.py

For an RSS feed, add the feed URL file:///PATH/.githubrss.xml where PATH is the path to the cloned repository directory e.g (file:///tmp/githubrepoactivity/.githubrss.xml) (tested with QuiteRSS)

About

(Alpha) Harnessing a GitHub repository activity for use as a WebHook and RSS feed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages