Home > alert-gem

alert-gem

Alert-gem is a project mainly written in Ruby, based on the MIT license.

Cross-platform notifications

alert

"Alert" provides cross platform notification functionality using a variety of notification drivers

Features

  • Email
  • Growl (using gntp)
  • Prowl
  • Campfire

Command

By default reads its configuration information from ~/.alertrc so running alert is as simple as a simple command

% alert This is an important message

Specific drivers can also be used via flags

% alert --email --prowl This is an important message

Library

require 'alert'
Alert.notify "This is an important message"

Configuration

The configuration file is a simple yml document with the parent node names corresponding to the driver name

---
email:
  addresses:
    - [email protected]
    - [email protected]
prowl:
  apikey: 0123456789
campfire:
  username: campfireuser
  password: securepassword

Inspiration

  • Notifier
  • Notify