Git Product home page Git Product logo

nodeifications's Introduction

Nodeifications

Simple cross platform desktop notifications for node-webkit apps, inspired by Chrome Notifications.

Nodeifications Intro Banner

Documentation on the wiki

Getting Started

  1. Include the javascript nw-desktop-notifications.js in your application

  2. Include the HTML template nw-desktop-notifications.html in your application

  3. Create a notification using the API: DEA.notifications.create(options, callback);

Running the demo

(1) Clone this project

(2) cd into the project /src

(3) Make the nw zip file by running the bash script

./make-nw.sh

(4) Run the nw application

node-webkit desktop-notify.nw

Building for Production

From the root of the project:

npm install

grunt build

Then run the executable/app from /webkitbuilds/release/NW Desktop Notifications Demo

Application Flow

  1. Call the API to create a new notification.

  2. nw-desktop-notifications.js creates the HTML template using the user provided content

  3. nw-desktop-notifications.js created the notification and appends the template to the created notification window.

  4. nw-desktop-notifications.html is simply the container for the content. It handles closing itself and sending off interaction events back to the parent who initiated the notification.

Notification Types

Text

Text Notification

Image

Image Notification

nodeifications's People

Contributors

pbojinov avatar semmel avatar cwspear avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.