So, everybody’s raving about the upcoming iPhone OS 4.0, me included, but that’s not what this post is about.
A few months ago I got tired of not having push notifications in Twittelator Pro and then I realized that since I had Prowl installed on my phone, there was absolutely nothing stopping me from pushing the notifications myself. After writing my own Twitter watch shell script and having used it for quite some time now, I present you: twatch.sh!
To use, just make sure you have prowl.pl and curl installed in /usr/local/bin (or adjust the paths) and create a ~/.twatch.rc containing login=”yourlogin” and password=”yourpass”. Also you need to have a ~/.prowl file containing your prowl API key.
The first time you use it will push the last few mentions. Now you just have to add it to your crontab. Tada!