simple proxy server to translate CIA.vc commit notifications into irker notifications
Python
Switch branches/tags
Nothing to show
Pull request Compare This branch is 9 commits behind kaniini:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
COPYING.md
IRKER-LINE-PROTOCOL.md
README.md
irker-cia-proxy.py
projmap.json.sample
test-proxy-longer.py
test-proxy.py

README.md

irker-cia-proxy

Proxy server which emulates CIA.vc and translates to an irker(1) JSON call. irker is in, layman's terms, "decentralized CIA."

To set up, edit the script and projmap.json file as needed.

projmap.json syntax

The project map file is just serialized JSON. There's a few tricks you can do which are kind of neat though.

Here is the simple configuration:

{"CIA-project-field": {"to": "irc://..."}}

But, you can send to more than one channel at a time, and customize the "colortext" output sent to IRC, as well:

{"CIA-project-field": {"to": ["irc://irc.server.org/#channel","irc://irc.freenode.net/#commits"],
                       "template": "%(project)s %(author)s: %(log)s"},
 "Other-project-field": {"to": []}}