ball6847 / slack-telegram-forwarder

simple slack bot forward message to telegram chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slack Telegram Forwarder

A simple slack bot for forwarding message to telegram chat

Running the bot using docker-compose

Clone the project, and prepare dependencies

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

edit docker-compose.yml (or create a new one) supply your information and save the file

version: '3'

services:
  slack-telegram-fwd:
    build: ./
    restart: unless-stopped
    environment:
      SLACK_API_TOKEN: slack-token
      TELEGRAM_TOKEN: telegram-token
      TELEGRAM_TARGET: telegram-chat-id

then, spin up the service using docker-compose up -d

Acquiring Slack API Token

Follow this article to get one https://www.ibm.com/docs/en/z-chatops/1.1.1?topic=platform-creating-installing-slack-app

About

simple slack bot forward message to telegram chat


Languages

Language:Python 87.3%Language:Dockerfile 12.7%