Skip to content

Latest commit

 

History

History

010_2017-01-10_PHP_ShellNotify

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

#010 2017-01-10: ShellNotify

Pipe any output from the shell to your smartphone with the Pushbullet API. If you want to use it for yourself you just need to set the $config['access_token'].

You can get the token here.

Demo:

demo

Installation for global usage

  • Copy notify.php to /usr/local/bin/ and rename it maybe notify
  • (If you haven't done this yet) - Add /usr/local/bin/ to your $PATH

TL;DR

sudo mkdir -p /usr/local/bin/
cp notify.php /usr/local/bin/notify
chmod u+x /usr/local/bin/notify

#if not done yet:
echo "PATH=\$PATH:/usr/local/bin" >> ~/.bashrc && source ~/.bashrc