Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/genofire/hook2xmpp
MIRROR: Forward webhooks to xmpp messages (written in golang) - pls use dev.sum7.eu
https://github.com/genofire/hook2xmpp
circleci gitea github gitlab gogs grafana jabber jabber-bot mirrored-repository xmpp xmpp-bot
Last synced: 4 months ago
JSON representation
MIRROR: Forward webhooks to xmpp messages (written in golang) - pls use dev.sum7.eu
- Host: GitHub
- URL: https://github.com/genofire/hook2xmpp
- Owner: genofire
- License: mit
- Created: 2017-06-09T08:56:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-03T18:12:32.000Z (over 4 years ago)
- Last Synced: 2024-07-30T18:51:09.404Z (6 months ago)
- Topics: circleci, gitea, github, gitlab, gogs, grafana, jabber, jabber-bot, mirrored-repository, xmpp, xmpp-bot
- Language: Go
- Homepage: https://dev.sum7.eu/sum7/hook2xmpp
- Size: 88.9 KB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# hook2xmpp
[![pipeline status](https://dev.sum7.eu/sum7/hook2xmpp/badges/master/pipeline.svg)](https://dev.sum7.eu/genofire/hook2xmpp/pipelines)
[![coverage report](https://dev.sum7.eu/sum7/hook2xmpp/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/hook2xmpp/pipelines)
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/sum7/hook2xmpp)](https://goreportcard.com/report/dev.sum7.eu/genofire/hook2xmpp)
[![GoDoc](https://godoc.org/dev.sum7.eu/sum7/hook2xmpp?status.svg)](https://godoc.org/dev.sum7.eu/genofire/hook2xmpp)## Get hook2xmpp
#### Download
Latest Build binary from ci here:
[Download All](https://dev.sum7.eu/sum7/hook2xmpp/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
[Download Binary](https://dev.sum7.eu/sum7/hook2xmpp/-/jobs/artifacts/master/raw/bin/hook2xmpp?inline=false&job=build-my-project)
#### Build
```bash
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`