Slack doesn't have an inline player for .webm links.
This bot fixes the problem: it tracks .webm links in messages, downloads them, converts into .mp4 and posts them back into the channel.
Done via env variables:
Name | Required? | Description |
---|---|---|
SLACK_API_TOKEN |
Yes | Bot access token (starts with xoxb-... ) |
NOTIFY_MODE |
No | How to let users know about bot activity. Can be one of:
|
DEBUG |
No | Will set logging level to debug |
TEMP_DIR |
No | Will be used for downloads and video converting. Bot removes them after link is handled. Default is /tmp |
docker run \
--mount type=volume,target=/tmp \
-e SLACK_API_TOKEN=xoxb-... \
kozlice/slack-webm-sentinel