nTraum / gitlab-irc

Tiny web / IRC application that announces commits for GitLab repositories via IRC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitlab-irc

Build Status Dependency Status

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

Requirements

  • 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)

Installation & Usage

  1. Clone the repository: git clone https://github.com/nTraum/gitlab-irc.git
  2. Install required gems: cd gitlab-irc; gem install bundler; bundle
  3. Edit config/config.yml to your needs (e.g. IRC channel and server)
  4. Start the app: foreman start in a tmux / screen shell
  5. Add a web hook pointing to the app: http://localhost:4567/commit (host / port may differ, depending on your configuration)

License

gitlab-irc is released under the MIT License.

About

Tiny web / IRC application that announces commits for GitLab repositories via IRC.

License:MIT License


Languages

Language:Ruby 100.0%