Forward webhooks to xmpp messages (written in golang)
Go to file
genofire 1babcc195c prometheus: rename annotation message to summary 2020-07-03 20:11:11 +02:00
.ci [TASK] add gitlab-ci 2019-02-14 02:34:00 +01:00
circleci migrate from genofire to sum7 2019-08-08 15:49:25 +02:00
git migrate from genofire to sum7 2019-08-08 15:49:25 +02:00
gitlab improve gitlab Hooks 2020-03-11 23:11:18 +01:00
grafana migrate from genofire to sum7 2019-08-08 15:49:25 +02:00
prometheus prometheus: rename annotation message to summary 2020-07-03 20:11:11 +02:00
runtime first version with gosrc.io/xmpp 2019-07-15 23:57:26 +02:00
vendor/gosrc.io vendor: go-xmpp stay at v0.1.3 2020-03-11 23:35:27 +01:00
.gitignore Init 2017-06-09 14:21:25 +02:00
.gitlab-ci.yml ci: disable autodeploy 2020-03-14 13:16:50 +01:00
.gitmodules vendor: go-xmpp stay at v0.1.3 2020-03-11 23:35:27 +01: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 migrate from genofire to sum7 2019-08-08 15:49:25 +02:00
config_example.toml first version with gosrc.io/xmpp 2019-07-15 23:57:26 +02:00
main.go migrate from genofire to sum7 2019-08-08 15:49:25 +02:00
xmpp.go first version with gosrc.io/xmpp 2019-07-15 23:57:26 +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/sum7/hook2xmpp

Configure

see config_example.toml

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