Giter Site home page Giter Site logo

hubot-slack's Introduction

hubot-slack

This is a docker image repo for hubot push train running with a hubot-slack adapter.

Acknowledgements

Forked from jordan/hubot-slack and based on hubot-rocketchat

Automated build

docker pull timothyakampa/hubot-slack:1.0.0

Image details

  1. Based on node:12.22.9-alpine3.15
  2. Hubot + hubot-slack adapter
  3. Supply HUBOT_SLACK_TOKEN or you won't get too far :)
  4. hubot might take a few minutes to connect to slack as it pulls the necessary node.js modules at startup
  5. hubot must be invited to channels
  6. Official hubot script repo: https://github.com/hubot-scripts

Usage

You must first add the Hubot Slack app to your team to obtain a token. Search for it here https://slack.com/apps

Start hubot-slack with your own scripts

docker run -d --name "hubot" -e HUBOT_SLACK_TOKEN=MY_HUBOT_SLACK_TOKEN -v /path/to/hubot/volume:/home/hubot/scripts jordan/hubot-slack:latest

Start hubot-slack with the help and pugme scripts

docker run -d --name "hubot" -e HUBOT_SLACK_TOKEN=MY_HUBOT_SLACK_TOKEN -e EXTERNAL_SCRIPTS=hubot-help,hubot-pugme jordan/hubot-slack:latest

Environment variables

HUBOT_SLACK_TOKEN - Your hubot slack token
ENV HUBOT_NAME - myhubot (default)
ENV HUBOT_OWNER - none (default)
ENV HUBOT_DESCRIPTION - Hubot (default)
ENV EXTERNAL_SCRIPTS - hubot-help,hubot-pushbot (default).  Do not add hubot-slack to this list as it is already installed and enabled in the container.

Volumes

/etc/hubot/scripts

hubot-slack's People

Contributors

jjethwa avatar timothyakampa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.