Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Native Node.js C++ extension for displaying desktop notifications using GNOME's libnotify (libnotifymm) library.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 build initial commit, minimal functionnality March 01, 2011
Octocat-spinner-32 demo packaged for node.js March 30, 2011
Octocat-spinner-32 src Correct a typo April 06, 2012
Octocat-spinner-32 .gitignore cleaned up inline documentation March 30, 2011
Octocat-spinner-32 LICENSE initial commit, minimal functionnality March 01, 2011
Octocat-spinner-32 README.md Edited README.md via GitHub May 25, 2011
Octocat-spinner-32 TUTORIAL.md Edited TUTORIAL.md via GitHub June 01, 2011
Octocat-spinner-32 package.json packaged for node.js March 30, 2011
Octocat-spinner-32 screenshot.png Wrote tutorial May 12, 2011
Octocat-spinner-32 wscript initial commit, minimal functionnality March 01, 2011
README.md

Tutorial available here: How to write your own native Node.js extension or in TUTORIAL.md

This is a follow up to How to roll out your own Javascript API with V8.

Install

Dependencies(Ubuntu 11.04):

sudo apt-get install libnotifymm-dev

Using npm:

npm install notify

Manually:

node-waf configure && node-waf build

Usage

var notify = require("notify"); // or "../build/default/gtknotify.node" if you build manually
var notification = new notify.notification();
notification.title = "Notification title";
notification.icon = "emblem-default"; // see /usr/share/icons/gnome/16x16
notification.send("Notification message");

References

Something went wrong with that request. Please try again.