okfn/relatable-chatbot

Name: relatable-chatbot

Owner: Open Knowledge International

Description: Bot to post #reading etc. statuses to API endpoint on the Open Knowledge International website.

Created: 2017-02-15 16:16:07.0

Updated: 2017-06-15 15:11:50.0

Pushed: 2017-02-15 16:32:58.0

Homepage: https://okfn.org/about/team/

Size: 59

Language: CoffeeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Relatable chatbot

This is a version of hubot, the chatbot by github. Find more information about hubot itself and how to develop for it in the hubot documenation.

It is ment to be included in a channel on slack (or another chat app) where it listens for certain messages.

Those messages should start with #reading #listening #working or any other keywords defined in scripts/relatable-tags.coffee.

The messages that start with those strings will then be set to an API endpoint where they are parsed further.

In the specific case of this bot they are sent to Open Knowledge International's website where they are used to update what people are currently working on/listening to etc.

There are a couple of environment variables that need to be set for the bot to work:

ENDPOINT:               <where the message should be send>
T_HASHTAG_LISTENER_KEY: <the basic auth token for the api endpoint (set in the website config)>
T_SLACK_TOKEN:          <the token that you get from slack>
T_URL:                  <the url under which this bot is running>
STOGO_URL:              <automatically configured by heroku>

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.