A Growl server for node.js which sends notifications to remote and local Growl clients using GNTP. Could for example be used to notify you when something happens on your node.js server, e.g. a user just logged in.
npm install growler
- node.js >= 0.6
- Underscore.js >=1.1.5
var growler = require('growler');
var myApp = new growler.GrowlApplication('Simple Growl App');
myApp.setNotifications({
'Server Status': {}
});
myApp.register();
myApp.sendNotification('Server Status', {
title: 'Node Growler online',
text: 'Wasn\'t that hard was it?'
});
Also, check the examples directory.
- Custom notification icons
- Send notifications to password protected clients over the network
- Send encrypted notifications (not supported yet by Growl for OS X)
Node Growler, Copyright 2011, Didrik Nordström
Dual licensed under the MIT or GPL Version 3 licenses.