Skip to content

rafaheringer/slack-jukebox

Repository files navigation

slack-jukebox

A bot user to listen music on Slack Huddles

Environment variables

NODE_ENV=development
CHROMIUM_PATH=<your_chrome_or_edge_path_if_not_in_docker>
SLACK_URL=https://<yourorganization>.slack.com
SLACK_EMAIL=<your_email>
SLACK_PASSWORD=<your_password>
SLACK_CHANNEL_ID=<slack_channel_id>
SPOTIFY_EMAIL=<your_email>
SPOTIFY_PASSWORD=<your_password>

Debugging

Play sample audio

paplay /home/appuser/app/sample.wav -v --device=MicOutput

List audio sources

pacmd list-sources | grep -e 'index:' -e device.string -e 'name:'

Kubernetes

Running on K8S:

kubectl create namespace slack-jukebox
kubectl create configmap slack-jukebox-config --from-env-file=.env --namespace=slack-jukebox
kubectl apply -f slackjukebox-deployment.yaml,slackjukebox-service.yaml  --namespace=slack-jukebox

Todo

[ ] Review EACCESS permission when take Screenshots [x] Publish on Docker Hub [x] Prepare to K8S

About

A bot user to listen music on Slack Huddles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published