Push to iPhone from Alfred
Here is a funny way to push some reminders to your iPhone or a [boy|girl|best]friend device or even your team mates. This article from Jeffrey Way inspired me.
No matter what the need is, here's how :
Get a new application up and running. I'll call mine "Alfred".
Then in Alfred settings, create a new Shell Script Extension
I've called mine "Push to iPhone" and trigger it with push keyword.
In advanced tab, I'll uncheck escaping options until I only have white space and brackets choices checked.
Then the best past, the snippet available in the Pushover API :
curl -s \
-F "token=APP_TOKEN" \
-F "user=USER_KEY" \
-F "message={query} " \
https://api.pushover.net/1/messages
Where APPTOKEN is the API Key we have created at the first step. USERKEY is the key associated to your device created in your Pushover user settings.
Here we go, fire up Alfred, prefix your message with push command like this :
And check your iPhone ! Pretty cool hun ?
Here is the alfred notification in the Pushover app :
Enjoy !