Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

codemancers/hubot-goal-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-goal-tracker

A hubot script that lets you create and track your goals

Installation

  1. Add hubot-goal-tracker to your hubot's dependencies in package.json.
  2. Run npm install to pull the package.
  3. Add hubot-goal-tracker to external-scripts.json which should be at your hubot's root dir.
  4. Restart hubot.

Configuration

# CouchDB API endpoint
HUBOT_COUCHDB_URL=http://USERNAME:PASSWORD@couchdb.domain.com:5984
# OR the following if you want to use a different database named 'my_db'
HUBOT_COUCHDB_URL=http://USERNAME:PASSWORD@couchdb.domain.com:5984/my_db

# Notification Room ID if you want to broadcast goal related activities
# For HipChat this is the XMPP JID of the room
HUBOT_GOAL_TRACKER_ROOM=<ROOM_ID>

Commands

hubot add goal "<GOAL>" # adds a goal for the weekend. (quotes required!)
hubot goals # shows pending goals
hubot goal <GOAL_ID> done # marks goal with id = GOAL_ID as done

Development

If couchdb is running locally on localhost:5984, you don't need to set HUBOT_COUCHDB_URL.

Testing on HipChat

Set up a test account, add a test bot user and a test room and use the command:

HUBOT_HIPCHAT_JID=1234@chat.hipchat.com HUBOT_HIPCHAT_PASSWORD=password HUBOT_GOAL_TRACKER_ROOM=1234_room@conf.hipchat.com bin/hubot -a hipchat

This should make your bot user join all your rooms. You can test the bot using hipchat like you normally would.

About

Hubot script to easily create and track goals/todos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published