Forward webhooks to xmpp messages (written in golang)
Go to file
Martin/Geno 6b5934628a
migrate from genofire to sum7
2019-08-08 15:49:25 +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 migrate from genofire to sum7 2019-08-08 15:49:25 +02:00
grafana migrate from genofire to sum7 2019-08-08 15:49:25 +02:00
prometheus migrate from genofire to sum7 2019-08-08 15:49:25 +02:00
runtime first version with gosrc.io/xmpp 2019-07-15 23:57:26 +02:00
.gitignore Init 2017-06-09 14:21:25 +02:00
.gitlab-ci.yml ci to own default format 2019-06-20 10:21:07 +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 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