Open Slack API Server.
Go to file
Stanislav Nikitin 23510e22a0 Moved to Gitlab. 2019-02-22 18:03:08 +05:00
config Moved to Gitlab. 2019-02-22 18:03:08 +05:00
context Moved to Gitlab. 2019-02-22 18:03:08 +05:00
doc Attempt to fix configuration docs rendering. 2017-09-13 12:31:45 +05:00
parsers Moved to Gitlab. 2019-02-22 18:03:08 +05:00
pushers Moved to Gitlab. 2019-02-22 18:03:08 +05:00
slack Moved to Gitlab. 2019-02-22 18:03:08 +05:00
vendor Updates regarding moving to source.pztrn.name and dependencies bundling with golang/dep. 2018-02-02 09:17:40 +05:00
.gitignore Initial commit with Matrix support. Messages are successfully delivered. 2017-08-28 01:13:45 +05:00
Gopkg.lock Updates regarding moving to source.pztrn.name and dependencies bundling with golang/dep. 2018-02-02 09:17:40 +05:00
Gopkg.toml Updates regarding moving to source.pztrn.name and dependencies bundling with golang/dep. 2018-02-02 09:17:40 +05:00
LICENSE Initial commit with Matrix support. Messages are successfully delivered. 2017-08-28 01:13:45 +05:00
README.md README update. 2018-02-02 09:18:33 +05:00
opensaps.example.yaml Telegram pusher. 2017-10-31 22:50:14 +05:00
opensaps.go Moved to Gitlab. 2019-02-22 18:03:08 +05:00

README.md

OpenSAPS

OpenSAPS stands for "Open Slack APi Server". This is an open-source implementation of Slack API server that can be used to integrate applications into each other using Slack API.

Initially this project was created for integrating Gitlab and Gitea into Matrix, because there was no good incoming webhooks support. But it can be used for anything that provides Slack Webhooks support.

Installation

go get -u -v -d source.pztrn.name/misc/opensaps
go install -v source.pztrn.name/misc/opensaps

Configuration

Take a look at opensaps.example.yaml for configuration example. Right now there is no documentation about configuration file, but it will appear in future.

Usage

The only parameter OpenSAPS binary accepts is a configuration file path. Do it like:

opensaps -config /path/to/opensaps.yaml

There is some documentation available - check out doc directory!

About hooks and parsers

While configuring a webhook in your application, please, set username exactly same as one of parsers in parsers directory! Otherwise parser "default" will be used, which will just concatenate text and attachments into one message!

Also note - that nickname will be ignored while sending message to pushers.


IMPORTANT NOTICE

This project isn't affiliated nor developed by Slack itself.