Skip to content

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

License

Notifications You must be signed in to change notification settings

wildbit/beanstalk-code-snippet-bot

Repository files navigation

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).

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published