push
Twitter as a Push Notification Service
pip install push
Usage
$ push Hey, don't forget that one thing. -- (sent from the command line)
Or, as a distributed form of Growl...
$ ssh aws
$ sh reallylongscript.sh && push Alright, you're all set. || push Something went wrong!
What is this?
Basically, this is a simple script that combines the powers of foauth
,
requests
, and a private Twitter account into push notifications from the
command line. Before using, there are three important environment variables
you'll need to set.
export FOAUTH_USER="myfoauthemail@me.com"
export FOAUTH_PASS="foauth_password"
export PUSH_TWITTER="@zachwill"
You'll also need to sign up for a new (and most likely private) Twitter account,
and connect that with your foauth
account.