/beanstalk-code-snippet-bot

A Slack Bot that displays the contents of a file from your Beanstalk repository.

Primary LanguageJavaScriptMIT LicenseMIT

beanstalk-code-snippet-bot Build Status Add to Slack

A Slack Bot that displays the contents of a file from your Beanstalk repository. So, instead of this:

Before

you can see something like this:

After

Usage

  • In Slack, use the /code command to add a file from Beanstalk as a code snippet. /code [Beanstalk file URL]
  • This bot will listen for Beanstalk file URLs in any channel that it's a member of. Send an invite using /invite @beanstalk-snippet-bot

Build and manage it yourself

Build and manage your own instance of this bot by following these instructions.

Requirements

Set up

  1. Fork this repo onto your Github account
  2. Create a new project on Beep Boop from your forked repo.
  3. You might need to make an empty commit to trigger the build.
  4. Once Beep Boop successfully builds, navigate to the settings page on Beep Boop.
  5. Create a bot integration on your slack team and enter the API token onto Beep Boop's settings page.
  6. Enter your Beanstalk username and authorization token onto Beep Boop's settings page.
  7. Start your bot!

MIT license

See the LICENSE file (MIT).