Monday, May 18, 2009

Growl + Snarl = Gnarl(y)

this is not part of the official GFW project, but i wanted to put it out here for anyone who was interested.

i created a small app that is essentially a Snarl translator for Growl. what is does is listen for any Snarl-type notifications and then forwards them on to Growl. this means that (at least in theory), any applications that already support Snarl can now work with GFW with no modifications to the sending applications.

this is just an early version of the software, but it implements nearly all of the Snarl API, including:

  • sending ad hoc notifications (not associated with any registerd application)
  • registering applications
  • registering alerts/classes
  • notification callbacks

here are some shots of it in action with Sven's Gmail notifier:

because GFW itself does not have the same structure as Snarl, Gnarly does *not* support the following Snarl actions:

  • setting a timeout value for the notification
  • updating an on-screen notification
  • checking if a notification is still on-screen

also, applications that run inside Snarl's memory space (Snarl extensions) are not supported, since they require Snarl to run anyway (and if you are already running Snarl, you don't need this helper app anyway)

i have only tested this with a handful of Snarl-enabled apps, but they all worked straight away. of course, your mileage may vary. some final caveats:

  • i have only tested this in XP so far, but it should work in in Vista and Win7
  • there is a very high chance it wont work on 64-bit platforms
  • there are probably bugs

download Gnarly

try it out with your favorite Snarl apps and let me know if it works for you.

15 comments:

  1. Gnarly with Pidgin Plugin for Snarl working on Vista 64x

    ReplyDelete
  2. Is it possible to use an icon pack (say for pidgin) without having snarl actually installed?

    If so, how?

    ReplyDelete
  3. Using the pidgin snarl plugin, I can only enable all messages or disable all messages. Setting the enabled flag for the individual message types does not work.

    ReplyDelete
  4. Getting "Invalid URI: The URI scheme is not valid" on Win7 x64

    ReplyDelete
  5. The following error occurred attempting to install 'http://www.growlforwindows.com/gfw/gnarly/Gnarly.application':
    "No application is associated with the specified file for this operation. "

    See the setup log file located at 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD129.tmp\install.log' for more information.


    i get this error everytime

    ReplyDelete
  6. @sarthak -

    you have to have .NET v2.0 installed. also, if you are trying to install from Firefox, you have to have the extension that allows ClickOnce applications to run (i think it is here: https://addons.mozilla.org/en-US/firefox/addon/1608 ). i think MS also installed their once extension if you install .NET 3.5 (but i am not sure about that).

    here is some more info about it: http://www.hanselman.com/blog/PermaLink.aspx?guid=7ce42ccd-e531-4d43-a93f-73483c0afd3d

    ReplyDelete
  7. Gnarly with EventsToSnarl working on Win7 x64. Now my only concern is that I have a ridiculous amount of icons in my system tray. Would be nice to have them all contained in one umbrella icon...

    ReplyDelete
  8. THANK YOU FOR THIS!!

    ReplyDelete
  9. works on xp home sp 3

    ReplyDelete
  10. TrendMicro list the 'http://www.growlforwindows.com/gfw/gnarly/Gnarly.application' url as 'Dangerous', thus preventing installation :(

    ReplyDelete
  11. TrendMicro says the same for me

    ReplyDelete