Hipchat & Hubot

Purpose of Hipchat


  • Easy communication
  • Cross platform
  • Service integrations
  • Easy to use

Purpose of Hubot


  • Service integrations
  • Task automation
  • Fun!

What We Use Them For


  • GitHub pull requests
  • Jira notifications
  • Collaboration
  • Continuous Integration alerts
  • Whatever you want!

Hipchat Rooms


  • Rooms can be public or private
  • Anyone can create private rooms
  • Public rooms are labeled with their purpose
  • Gazelle Engineering - For discussions with all of engineering
  • Frontend Engineering - For discussion about frontend team stuff
  • Backend Engineering - For discussion about backend team stuff
  • NetOps - For discussion about netops stuff
  • Engineering Playground - For having some fun

Hipchat Tricks


  • Start a message with /code to do syntax highlighting
  • Custom emoticons (<emoticon name>)
  • Paste an image or GIF URL to view it in the chat
  • Paste a GitHub or BitBucket URL to see the synopsis
  • Made a mitake? s/mitake/mistake/
  • http://help.hipchat.com/knowledgebase/articles/64451-work-faster-with-slash-commands

Hipchat Integration API


  • REST based API
  • Notification or Admin tokens
  • Can view, create, modify rooms and users, etc.
  • Can post to specific rooms, supports message colors

Hubot (a.k.a. Gary)


  • Node.js based chat bot
  • Add new behavior with CoffeeScript
  • Runs on Heroku free tier
  • Using MongoLab free account for his brain
  • Huge number of pre-written scripts
  • http://hubot-script-catalog.herokuapp.com/

More About Gary


  • Equally effective for work and play
  • All disruptive behavior should be contained to Engineering Playground
  • Code in secondrotation/gary_hubot GitHub repo

Questions?

Hipchat & Hubot

By blarghmatey

Hipchat & Hubot

  • 1,207