Simple cross platform desktop notifications for node-webkit apps, inspired by Chrome Notifications.
API Documentation on the wiki
-
Include the javascript
nodeifications.jsin your application -
Include the HTML template
nodeifications.htmlin your application -
Create a notification using the API:
DEA.notifications.create(options, callback);
-
Clone this project
git clone git@github.com:pbojinov/nodeifications.git -
Run
npm install -
Make the nw zip file by running the default gulp task
gulp -
cdinto the project/src -
Run the nw application
nodewebkit nodeifications.nw
From the root of the project:
npm install
gulp build
Then run the executable/app from inside /webkitbuilds
-
Call the API to create a new notification.
-
nodeifications.jscreates the HTML template using the user provided content -
nodeifications.jscreated the notification and appends the template to the created notification window. -
nodeifications.htmlis simply the container for the content. It handles closing itself and sending off interaction events back to the parent who initiated the notification.
- node-webkit version
0.9.2or later is required for this example (becauseWindow.setShowInTaskbaris used).


