Glossary Bot is a Slack bot that maintains a glossary of terms created by its users, and responds to requests with definitions.
It is a simple web app designed to be used as a Slack app.
All Configuration is done by env variables
- DATABASE_URL - Database url. Only postgresql:// and mysql:// are tested
- SLACK_APP_TOKEN - Slack app token.
- Click Generate Token and Scopes. Make sure
connections:writeandauthorizations:readscopes are set. Copy this intoSLACK_APP_TOKENvariable in Digital Ocean
- Click Generate Token and Scopes. Make sure
- SLACK_BOT_TOKEN - Slack app bot token.
- Click OAuth && Permissions. Copy the
Bot User OAuth Tokenand paste the token intoSLACK_BOT_TOKENvariable in Digital Ocean
- Click OAuth && Permissions. Copy the
- SLACK_SIGNING_SECRET - Slack app signing token.
- Should be on the main screen as signing secret
- SLASH_COMMAND - Listen to a different slash command. By default this is /glossary
Glossary Bot is a Slack Bolt app built to run on any hosting provider. Private or public. Digital Ocean Apps Platform instructions have been provided below. To install the bot locally for development and testing, read INSTALL.
Glossary Bot uses the new socket support, so it is very easy to setup.
First create a new app by copying the manifest.json into the manifest text box.
Click the button above to get started. In the form that loads, add a name for your bot in the App Name field, or leave it blank to have Digitalocean generate a unique name. You won't see this name in Slack, it'll just be part of the URL that Slack uses to communicate with the bot behind the scenes.
And now you're good to get glossing! Open up Slack and type /glossary help to start.
Run the release job
https://github.com/halkeye/glossary-bot/actions/workflows/release.yaml