Forward webhooks to xmpp messages (written in golang)
Go to file
Martin/Geno 24c5656f84 add prometheus support 2019-06-18 01:22:30 +02:00
.ci [TASK] add gitlab-ci 2019-02-14 02:34:00 +01:00
circleci README ci to download 2019-02-14 05:05:03 +01:00
git README ci to download 2019-02-14 05:05:03 +01:00
gitlab handle system events 2019-03-09 01:07:05 +01:00
grafana README ci to download 2019-02-14 05:05:03 +01:00
prometheus add prometheus support 2019-06-18 01:22:30 +02:00
runtime switch from url to secret to detect hook 2019-02-14 03:45:44 +01:00
.gitignore Init 2017-06-09 14:21:25 +02:00
.gitlab-ci.yml ci improve + add test coverage 2019-06-18 01:19:23 +02:00
.test-coverage [BUGFIX] circleci for coveralls.io 2017-06-13 01:58:25 +02:00
LICENSE.md Create LICENSE.md 2017-06-13 00:50:15 +02:00
README.md ci improve + add test coverage 2019-06-18 01:19:23 +02:00
config_example.conf add prometheus support 2019-06-18 01:22:30 +02:00
main.go add prometheus support 2019-06-18 01:22:30 +02:00

README.md

hook2xmpp

pipeline status coverage report Go Report Card GoDoc

Get hook2xmpp

Download

Latest Build binary from ci here:

Download All (with config example)

Download Binary

Build

go get -u dev.sum7.eu/genofire/hook2xmpp

Configure

see config_example.conf

Start / Boot

/lib/systemd/system/hook2xmpp.service :

[Unit]
Description=hook2xmpp
After=network.target
# After=ejabberd.service
# After=prosody.service

[Service]
Type=simple
# User=notRoot
ExecStart=/opt/go/bin/hook2xmpp --config /etc/hook2xmpp.conf
Restart=always
RestartSec=5sec

[Install]
WantedBy=multi-user.target

Start: systemctl start hook2xmpp Autostart: systemctl enable hook2xmpp