Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.2 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.2 KB

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.