Sign inSign up

okwrtdsh/slack_webcam_bot

By okwrtdsh

•Updated over 7 years ago

Image
1

880

okwrtdsh/slack_webcam_bot repository overview

⁠slack_webcam_bot ⁠

⁠How to Use

⁠1. clone this repository⁠
$ git clone https://github.com/okwrtdsh/slack_webcam_bot.git
⁠2. get slack api token and slack channel id
  • slack api token

https://get.slack.help/hc/en-us/articles/215770388-Create-and-regenerate-API-tokens⁠

  • slack channel id

https://www.wikihow.com/Find-a-Channel-ID-on-Slack-on-PC-or-Mac⁠

⁠3. check your camera devices
$ v4l2-ctl --list-devices
UCAM-DLY300TA (usb-0000:00:14.0-3):
	/dev/video0
⁠4. modify docker-compose.yml
  • set TOKEN to your slack api token
  • set CHANNEL to your slack channel id
  • mount the camera device to /dev/video0

docker-compose.yml

    devices:
      - YourCameraDevice:/dev/video0
    environment:
      - TOKEN=YourToken
      - CHANNEL=YourChannelId
⁠5. run with docker-compose
$ docker-compose up -d

Tag summary

Content type

Image

Digest

Size

1.7 GB

Last updated

over 7 years ago

docker pull okwrtdsh/slack_webcam_bot