Get Notified of a Project Release on GitHub Using IFTTT

When setting up Google Drive on my Raspberry Pi, I came across the drive GitHub repository. I wanted to be notified when new binary releases are posted, but I didn’t want to use the GitHub Watch function because I didn’t want to be notified every time something happened on the repository.

My solution is to use IFTTT monitor the ATOM feed embedded in the GitHub Release page.

Here are the directions:

Open the GitHub repository and click on the Releases tag if available.

Screenshot 2016-05-02 at 21.20.58

On the Releases page, view the source code (Ctrl+U in Chrome & Firefox & Cmd+Opt+U in Safari) and search for the releases.atom link.

Go to IFTTT and create a recipe with RSS as the trigger and Gmail or Email as the action.

Here is a link to my public recipe.

Get Notified When Your Raspberry Pi is Booted with Pushbullet

When working with a headless Raspberry Pi, it’s nice to know when it’s back up and running during a restart. An easy way of becoming notified when your RPi is finished booting is to have it send a notification through the phenomenal service, Pushbullet. According to their website:

Pushbullet connects your devices, making it easy and automatic to share almost anything between them.

Through Pushbullet’s API, you can send yourself notifications to your desktop or to your phone.

Pushbullet Setup Instructions

The first thing you need to do is create a Pushbullet account.

Then install their mobile app for Android or iPhone, or Firefox or Chrome extension.

Grab your Pushbullet access token from your account page.

Test that Pushbullet is working from your RPi command line using curl.

$ curl -u <your_access_token_here>: -d type=note -d title="Raspberry Pi" -d body='Raspberry Pi is up!'

Raspberry Pi Setup Instructions

We’re going to send our Pushbullet command using the rc.local file which is executed once our RPi has finished booting.

Make a backup of your rc.local file.

$ sudo cp /etc/rc.local /etc/rc.local.backup

Open up the rc.local file using nano.

$ sudo nano /etc/rc.local

Add the curl command right before the exit 0 command.

curl -u <your_access_token_here>: -d type=note -d title="Raspberry Pi" -d body='Raspberry Pi is up!'

exit 0

Restart your RPi

$ sudo reboot

You should get a notification that your RPi is up.