Github in irc announcer

From NURDspace

Jump to: navigation, search

Poll every hour for new shit on github by our members:

  • this returns a list of events. each has an 'id'. keep track for each member the last id retrieved.
  • if an id is newer, push the url etc to irc

Rest sample output:

    "id": "17380485057",
    "type": "CreateEvent",
    "actor": {
      "id": 85709915,
      "login": "folkertvanheusden",
      "display_login": "folkertvanheusden",
      "gravatar_id": "",
      "url": "",
      "avatar_url": ""
    "repo": {
      "id": 391194092,
      "name": "folkertvanheusden/rtpmidid",
      "url": ""
    "payload": {
      "ref": "cmake",
      "ref_type": "branch",
      "master_branch": "master",
      "description": "RTP MIDI (AppleMIDI) daemon for Linux",
      "pusher_type": "user"
    "public": true,
    "created_at": "2021-07-31T15:55:04Z"

Our site is hosted by Site4U
Our connectivity is made available by BIT
To BIT's website