https://github.com/tailrecursion/hiprepl
A Clojure REPL bot for Atlassian HipChat
https://github.com/tailrecursion/hiprepl
Last synced: 4 months ago
JSON representation
A Clojure REPL bot for Atlassian HipChat
- Host: GitHub
- URL: https://github.com/tailrecursion/hiprepl
- Owner: tailrecursion
- Created: 2013-02-22T23:46:18.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-09-02T23:09:14.000Z (almost 12 years ago)
- Last Synced: 2025-12-25T18:44:21.571Z (7 months ago)
- Language: Clojure
- Homepage:
- Size: 235 KB
- Stars: 11
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hiprepl

## Usage
* Install [Leiningen](https://github.com/technomancy/leiningen).
* Install a `~/.java.policy` like
[this one](https://raw.github.com/flatland/clojail/master/example.policy).
* Create a HipChat user for your bot.
* [Log in](https://www.hipchat.com/sign_in) as the bot user and visit
[this page](https://hipchat.com/account/xmpp).
* 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](http://zacharykim.com/) for his
[xmpp-clj](https://github.com/zkim/xmpp-clj) project, on which much of
this code is based.