# Integrate blinkstick in node.js app

**URL:** <https://forums.blinkstick.com/t/integrate-blinkstick-in-node-js-app/686>\
**Category:** Uncategorized\
**Created:** [February 12, 2017, 6:25pm UTC](https://forums.blinkstick.com/t/integrate-blinkstick-in-node-js-app/686 "2017-02-12T18:25:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ioakar0](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/ioakar0/32/29_2.png) [@ioakar0](https://forums.blinkstick.com/u/ioakar0)\
**Post date:** [February 12, 2017, 6:25pm UTC](https://forums.blinkstick.com/t/integrate-blinkstick-in-node-js-app/686/1 "2017-02-12T18:25:43Z")

</div>

I use a service called pushover to receive notifications on my devices. I have installed an unofficial app called Pullover on my Mac. The code of this app is available on github. I was thinking if it would be possible to integrate blinkstick node into Pullover. Then if I will receive a notification with title:“blink” (or something random), instead of a notification on my Mac, the Pullover app will light up my blinkstick.  
Do you think it’s possible?

I don’t know anything about node.js. I found a file in Pullover’s code called Notifier.js and I added a condition before calling the “nativeNotify” function that checks the notification’s title and if it’s “blinkstick” it calls another function. That test was succesful but I am not able to light up blinkstick within this function. I’m getting many errors when I try to build the code. What should I install before building? I tried “npm install blinkstick” in Pullover src folder. Could you give me some instructions on how to call blinkstick actions within another node.js app?

---

<div class="post-metadata">

**Author:** ![p0ke](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/p0ke/32/14_2.png) [@p0ke](https://forums.blinkstick.com/u/p0ke)\
**Post date:** [February 14, 2017, 8:15am UTC](https://forums.blinkstick.com/t/integrate-blinkstick-in-node-js-app/686/2 "2017-02-14T08:15:23Z")

</div>

Hey John,  
I neither have skills regarding Mac nor node.js, just to give you a response.  
If you can post a link to the app you’re talking about it could be helpful for anyone trying to help you.  
Maybe a snipped of your code is also a good idea.

---

<div class="post-metadata">

**Author:** ![ioakar0](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/ioakar0/32/29_2.png) [@ioakar0](https://forums.blinkstick.com/u/ioakar0)\
**Post date:** [February 14, 2017, 2:32pm UTC](https://forums.blinkstick.com/t/integrate-blinkstick-in-node-js-app/686/3 "2017-02-14T14:32:35Z")

</div>

The app is [here](https://github.com/cgrossde/Pullover).  
I am trying to add blinkstick actions in Notifier.js. This is what I tried.

 ![](https://forums.blinkstick.com/uploads/default/original/1X/1a77e81874c59c7c0d96c24b642035f64f621ac9.png)

I want to know if my approach is correct. Would that be possible to be done?
