# HG changeset patch # User MWild1@gmail.com # Date 1408458876 0 # Node ID 3cd17a2dd5c6716b3815d4e0030d11c2188926d8 # Parent 02e0fffb9c3c41db059ea994798d6e26fe9336c6 Created wiki page through web user interface. diff -r 02e0fffb9c3c -r 3cd17a2dd5c6 mod_pubsub_github.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_pubsub_github.wiki Tue Aug 19 14:34:36 2014 +0000 @@ -0,0 +1,32 @@ +#summary Publish Github commits over pubsub +#labels Stage-Beta + += Introduction = + +This module accepts Github web hooks and publishes them to a local pubsub component for XMPP clients to subscribe to. + +Entries are pushed as Atom payloads. + += Configuration = + +Load the module on a pubsub component: + +{{{ +Component "pubsub.example.com" "pubsub" + modules_enabled = { "pubsub_github" } +}}} + +The module also takes the following config options: + +|| *Name* || *Default* || *Description* || +|| github_node || "github" || The pubsub node to publish commits on. || + +The URL for Github to post to would be either: + + * http://pubsub.example.com:5280/pubsub_github + * https://pubsub.example.com:5281/pubsub_github + +If your HTTP host doesn't match the pubsub component's address, you will need to inform Prosody. For more info see Prosody's [https://prosody.im/doc/http#virtual_hosts HTTP server documentation]. + += Compatibility = +|| 0.9 || Works || \ No newline at end of file