A self-hosted substitute for Queue
- Application ✅
- Docker config for an easily deployable image ✅
- Automatic deployment to dockerhub/artifactory 🔁
- Go to the slack apps page
- Create a new app -> From scratch
- When asked for Add features and functionality, activate Slash commands and Bots
- Install ngrok and add your authtoken
- Start your ngrok instance using
ngrok http http://localhost:8080
(swap the port if 8080 is occupied), and save your forwarding url shown (should look something likehttps://5d71-111-1-243-109.ngrok-free.app
). - In your slack apps page, go to Slash commands, and create one for each of the endpoints
/qjoin
,/qleave
and/qshow
. In the Request URL field, enter your forwarding url as the endpoint base url./qjoin
Example:https://5d71-111-1-243-109.ngrok-free.app/qjoin
- In your slack apps page go to Interactivity & Shortcuts and enable it using the toggle. In the Request URL field, enter your forwarding url appended with
/buttonproxy
. Example:https://5d71-111-1-243-109.ngrok-free.app/buttonproxy
- Install your app in your slack workspace of choice. This is done on the home page of your slack app -> Install your app -> Install in workspace
- Run
docker-compose up
. The latest image will be pulled and the application starts accepting requests at localhost:8080.
- Clone this repository, and start the flask application on port 8080 using
python3 app.py
. If you are missing flask, install it usingpip3 install flask
.
Use the commands in any text channel in your slack workspace - the queue app should work! ⭐