Socket
Book a DemoInstallSign in
Socket

real-growl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

real-growl

0.7.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

real-growl

Description

A Growl notification library that uses native C bindings to interact with GrowlApplicationBridge rather than Growl's network API.

Synopsis

rg

>> require 'real_growl'
=> true
>> rg("Check out", ["Real", "Growl"], :icon => "/path/to/a/picture.jpg")
>> rg("Google", ["Real", "Growl"], :icon => "http://www.google.com/logos/stpatricks_d4gwinner_eo09.gif")
=> nil

>> RealGrowl.sticky = false
=> false
>> RealGrowl.priority = 3
=> 3
>> RealGrowl.icon = "/the/path/cool.png"
=> "/the/path/cool.png"

Custom Application

>> require 'real_growl'
>> my_own_application = RealGrowl::Application.new("AppName")
=> #<RealGrowl::Application:0x1018eb6b8>
>> my_own_application.notify(:title => "Title", :description => "Desc", :priority => 0, :sticky => true, :icon => "/path/to/image.png")

Extras

>> RealGrowl.installed?
=> true
>> RealGrowl.running?
=> true

TODO

  • Add executable script
  • Enable growl callbacks

Requirements

  • MacOS X 10.5 > ??
  • Growl Framework - http://growl.info/downloads_developers.php

INSTALL

Download and install Growl.framework into either ~/Library/Frameworks or /Library/Frameworks gem install real-growl

$ # Download latest Growl SDK
$ # Copy Growl.framework under Frameworks
$ cp -r /Volumes/Growl\ 1.2.2\ SDK/Frameworks/Growl.framework /Library/Frameworks

INSTALLATION HINTS

Make sure that the Growl.framework is either 32bit or the 64bit depending on the version of MacOS X installed and the kind of machine it is installed on.

Executable Usage

Uses slop to easily call a Growl notification with options (http://github.com/injekt/slop).

Run

$ realgrowl 
$ realgrowl -t "New alert"
$ realgrowl -d "A new notification of something!" -t "New alert"

Contributors

  • basicxman (Growl Executable)

FAQs

Package last updated on 18 Dec 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.