A simple, but extensible webhooks-based HipChat bot written in Golang.
-
Download, and install
hippie
:go get -u github.com/claudebot/hippie
-
Initiate the
hippie
:hippie -token=<hipchat token> -room=<room name> -url=<url to hosted bot>
Use ngrok
if you want to host the bot locally without the hassle of port forwarding. You can then use the ngrok
URL for the bot (the default port is 8080
).
By default, it is shipped with a few basic scripts; including support for the infamous Giphy. See scripts/
for more information.
The bot's design was inspired by the following packages / projects:
- https://github.com/github/hubot
- https://golang.org/pkg/database/sql/
- https://github.com/apex/apex/
- https://github.com/poptip/buster
hippie
HipChat ChatOps implementation is arguably more effective, and reliable than that of lucille
, and its Golang counterpart, buster
. It relies on webhooks rather than interval-based long-polling of the chat history endpoint. As such, it is able to respond to messages a lot quicker without expending unnecessary resources.