Skip to content

MephistoMMM/tower-funs-slack

Repository files navigation

Tower-Funs-Slack

This project is forked from tower-slack, but I almost rewrite it using flask in python3. It is deployed by funs, so you could deploy it on any vps via docker.

Slack Message Example

Usage

Create a new Incoming Webhook on Slack, then get its Webhook URL:

e.g.

https://hooks.slack.com/services/T0DRRRYS1/C9XZ5VL2/bqiCkTrLYMpJcDaKG9HaS4yu

Replace the link of incoming webhook url with the link of tower-funs-slack:

e.g.

https://tower-funs-slack.avosapps.us/T0DRRRYS1/C9XZ5VL2/bqiCkTrLYMpJcDaKG9HaS4yu

Add webhook on Tower.im, full it with the link of tower-funs-slack

tower slack

Deploy

Clone this repository to your vps:

git clone https://github.com/MephistoMMM/tower-funs-slack.git

Create virtual env and install dependences:

I hope your virtualenv is installed by pip3

virtualenv ./venv
source ./venv/bin/activate
pip3 install  -r ./requirements.md
deactivate

Change the ports in docker-compose.yml , then:

docker-compose up -d

If you don't want to pull docker image from dockerhub (for its speed...), you could build docker by yourself:

cd dockerfiles
docker build -t mpsss/funs .
cd ..

More configurations, you should see on funs.

License

MIT

About

Send Tower.im message to Slack.

Resources

License

Stars

Watchers

Forks

Packages

No packages published