Open Slack API Server.
Go to file
2019-03-06 05:15:54 +05:00
config Fixed requests router and added possibility to connect to Telegram via HTTP proxy (fixes #2). 2019-03-05 18:32:34 +05:00
context One new great parser, deprecated all other parsers (gitlab, gitea). 2019-03-05 19:31:13 +05:00
doc Attempt to fix configuration docs rendering. 2017-09-13 12:31:45 +05:00
parsers Improved links parsing and replacing in Matrix and Telegram pushers. 2019-03-06 05:08:00 +05:00
pushers Dirty type assertion thing to make authorization work for servers which use .well-known things. 2019-03-06 05:15:54 +05:00
slack Fixed requests router and added possibility to connect to Telegram via HTTP proxy (fixes #2). 2019-03-05 18:32:34 +05:00
vendor README update and missing dependencies. 2019-02-25 17:24:19 +05:00
.gitignore Initial commit with Matrix support. Messages are successfully delivered. 2017-08-28 01:13:45 +05:00
Gopkg.lock Deps update, gopkg.lock fix, flagger initialization fix. 2019-02-25 16:29:48 +05:00
Gopkg.toml Deps update, gopkg.lock fix, flagger initialization fix. 2019-02-25 16:29:48 +05:00
LICENSE Initial commit with Matrix support. Messages are successfully delivered. 2017-08-28 01:13:45 +05:00
opensaps.example.yaml Fixed requests router and added possibility to connect to Telegram via HTTP proxy (fixes #2). 2019-03-05 18:32:34 +05:00
opensaps.go One new great parser, deprecated all other parsers (gitlab, gitea). 2019-03-05 19:31:13 +05:00
README.md One new great parser, deprecated all other parsers (gitlab, gitea). 2019-03-05 19:31:13 +05:00

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.

Join #opensaps:pztrn.name Matrix room for help and chat!

Installation

go get -u -v -d gitlab.com/pztrn/opensaps
go install -v gitlab.com/pztrn/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.