Tiny web / IRC application that announces commits for GitLab repositories via IRC. Built with Sinatra and cinch. Uses GitLab's web hooks, no voodoo required.
Example message:
[gitlab-irc(master)] nTraum | initial commit | http://goo.gl/yYTGcM
- Redis (already installed if you run it on the same host as GitLab)
- Ruby 1.9.3 or newer (JRuby / Rubinius will do the job as well)
- (tmux / screen / nohup)
- Clone the repository:
git clone https://github.com/nTraum/gitlab-irc.git
- Install required gems:
cd gitlab-irc; gem install bundler; bundle
- Edit
config/config.yml
to your needs (e.g. IRC channel and server) - Start the app:
foreman start
in a tmux / screen shell - Add a web hook pointing to the app:
http://localhost:4567/commit
(host / port may differ, depending on your configuration)
gitlab-irc is released under the MIT License.