A Clojure REPL bot for Atlassian HipChat
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
resources
src/tailrecursion
test/tailrecursion
.gitignore
README.md
example_config.clj
project.clj

README.md

hiprepl

hiprepl usage

Usage

  • Install Leiningen.
  • Install a ~/.java.policy like this one.
  • Create a HipChat user for your bot.
  • Log in as the bot user and visit this page.
  • Copy example_config.clj to resources/config.clj and modify it using details from that page. All keys are required. Note that the elements in the :rooms set are XMPP room names, not the normal room names (you can find them on that page).
  • lein run
  • Evaluate Clojure expressions in the room by prefixing them with a comma, like: ,(+ 1 2)

Thanks

Big ups to Zach Kim for his xmpp-clj project, on which much of this code is based.