Skip to content

flatironinstitute/indico-slack-bot

Repository files navigation

Indico-Slack-Bot

Bot that sends daily updates of Indico events to Slack.

indico-bot-icon

Indico Slack Bot (ISB) is a Bolt bot that connects Indico events to Slack. ISB has two primary features:

  1. Automated messages that promote the day's events in the designated slack channel (#fi-events).
  2. A slash command /indico [DATE] that returns events for the date specified.

Installation

Currently installation is only available via manual authorization on Slack. Should you wish to install this app on your own Indico instance, please contact the developer.

Resources

Local Development

First things first, to run a new local instance of Indico Slack Bot, you will need to create a new Slack app and store the client and bot tokens in a .env file. Slack requires a valid public url to be live and answering a ping to the response url /slack/events before they will generate the bot user token. Try ngrok to temporarily expose your local webserver during development.

ISB uses Babel to compile backwards compatible JS and ESLint to tidy things up:

npm run build

To start ISB locally run:

npm run start

Remote Hosting

ISB is hosted on an AWS EC2 instance using PM2 process manager. Once you have accessed the AWS instance, you must remember to run npm run build before calling the pm2 process script.

Additional Documentation

Contributing

Contributions welcome!

See CONTRIBUTING.md.

License

Apache Version 2.0

See LICENSE.

About

Bot that sends daily updates of Indico events to Slack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages