0.0
No commit activity in last 3 years
No release in over 3 years
Send room messages to HipChat with an interface inspired by sendmail.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.0.2
 Project Readme

sendhipchat -- A sendmail like tool for HipChat

I do Ops for CarePilot.com and we make extensive use of HipChat for planning and coordination. Incongriously--and this is my fault--our notification is done exclusively through email, mostly for want of a sendmail that spits out to HipChat, rather than our local, friendly mail server.

sendhipchat fills that want. It's inspired by sendmail in all the ways I care about and sends room messages.

Installation

Assuming you have a Ruby environment setup (if you don't, I suggest your system Ruby, rbenv or RVM, in that order) then please:

gem install sendhipchat

and enjoy.

Usage

Send messages to a single room:

echo 'single room message' | sendhipchat --api-token TOKEN --from 'sendhipchat' --rooms "SINGLE ROOM"

Send messages to multiple rooms:

echo 'multiple room message' | sendhipchat --api-token TOKEN --from 'sendhipchat' --rooms "SINGLE ROOM","OTHER ROOM"

See the help text (sendhipchat --help) for more options.

Miscellania

sendhipchat has been developed as a part of my work with CarePilot and is released under the MIT license. sendhipchat uses semantic versioning.