Open Slack API Server.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Stanislav Nikitin bff1050eab
continuous-integration/drone/push Build is passing Details
Make linters happy.
12 months ago
config Make linters happy. 12 months ago
context Make linters happy. 12 months ago
doc Some documentation fixes, related to #4. 4 years ago
docker CI 4 years ago
parsers Moved to zerolog, linting fixes, update Drone configuration. 2 years ago
pushers Make linters happy. 12 months ago
slack Make linters happy. 12 months ago
.drone.yml Update Drone configuration and Dockerfile to use mirrorred images. 12 months ago
.gitignore Moved to zerolog, linting fixes, update Drone configuration. 2 years ago
.gitlab-ci.yml CI 4 years ago
.golangci.yml Make linters happy. 12 months ago
Dockerfile Update Drone configuration and Dockerfile to use mirrorred images. 12 months ago
LICENSE Initial commit with Matrix support. Messages are successfully delivered. 6 years ago
README.md Some documentation fixes, related to #4. 4 years ago
builder.sh Simple builder that builds OpenSAPS for every known OS. Some might be missing, MRs welcome :). 4 years ago
go.mod Moved to zerolog, linting fixes, update Drone configuration. 2 years ago
go.sum Moved to zerolog, linting fixes, update Drone configuration. 2 years ago
opensaps.example.yaml Fixed requests router and added possibility to connect to Telegram via HTTP proxy (fixes #2). 4 years ago
opensaps.go Moved to zerolog, linting fixes, update Drone configuration. 2 years ago

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.

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

Or drop into tags section to grab a precompiled binary!

Configuration

Take a look at opensaps.example.yaml for configuration example and into docs section for configuration file fields description.

Usage

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

opensaps -config /path/to/opensaps.yaml

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. Nickname under which messages will appear depends on your account's configuration.

Known to work good software

There is a list of software that known to work fine with OpenSAPS. Check it out!


IMPORTANT NOTICE

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