Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stahnma/halbot
My implementation of Dan Ryan's hal for my use.
https://github.com/stahnma/halbot
Last synced: about 2 months ago
JSON representation
My implementation of Dan Ryan's hal for my use.
- Host: GitHub
- URL: https://github.com/stahnma/halbot
- Owner: stahnma
- Created: 2014-09-24T23:40:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-24T23:58:45.000Z (over 10 years ago)
- Last Synced: 2024-10-14T00:54:52.792Z (3 months ago)
- Language: Go
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is stahnma's experimental bot.
Basically, I got really tired of coffeescript. I saw that Dan Ryan was writing some similar in go. I should use that, becuase golang sounds way more fun than stuff that uses node.
# HOWTO
## Using this
The easiest thing to do right now is create a file with all the env vars you need.export HAL_HIPCHAT_USER=147859_1068038
export HAL_HIPCHAT_PASSWORD=secret
export HAL_HIPCHAT_ROOMS="Websages,foobar"
export HAL_HIPCHAT_RESOURCE=bot
export HAL_ADAPTER=hipchat
export HAL_LOG_LEVEL=debugThen source that file. Then make; then run the binary.
## godep
This project uses godep for library management.Layout your code like this http://golang.org/doc/code.html
Here's another article on godep http://www.goinggo.net/2013/10/manage-dependencies-with-godep.html#TODO
There are oh so many things to do to make this worth while.
* Package for deployment
* Have init scripts
* Figure out logging
* Perhaps put it in a container
* Remove manual step of sourcing env vars