Displaying Notifications from your Website on your Mac Desktop – Hooks

Screen Shot 2014-11-13 at 7.53.02 AM I found a cool little tool that lets me add notifications to my desktop from my websites – Hooks. It was easy to install and get working.

After I downloaded the Mac app which gave me my API key, I included the javascript file in my html page. Now I can use one small javascript function call with my message and API key. The notification shows up on my Mac Desktop and in my notifications center.

 

hooks('Visitor', 'on CWS Site Migration post', 'XXXXXXXXX');

This one line of code on my blog post now produces this notification on my desktop when someone goes to my post on WordPress Site Migration.:

notification


And it adds this message in my notifications center:


Screen Shot 2014-11-13 at 8.07.38 AM


There are also wrappers for node.js, cURL, and Swift. You can view the examples here.

I can add a notification for when someone needs help on my site, when someone visits, or whatever I want. By combining php with the javascript, I can make it do just about anything I want to get a notification on my Desktop from my website. Very cool stuff!

The API key cost me $9, but I figure it’s worth the cost since it would take me quite a while to figure out how to make that work on my own. Some day I may figure out how to do it myself, but probably not since I already have a sweet little function that does it for me.

2 thoughts on “Displaying Notifications from your Website on your Mac Desktop – Hooks”

  1. Hi!

    I’m the developer of Hooks. Glad you like it. 🙂

    I’m currently working on version 2.0, which is Notification Center like app. It also gives you full control over multiple API keys, and auto block trollers.

    It will be released end of next week.

    For your readers, here are a few coupons that whops a 50% off the price. First one can be redeemed 5 times, second one 3 times. 🙂

    04BA61EB
    EC9F6CCB

    Cheers,

    Kevin

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top