Alfred Workflow + Server provider + iOS Client to open links from Mac on iOS device in 1 action
Setup is easy:
- Download iOS application
- Install Alfred workflow
- Launch iOS app
- Allow push notifications
- Wait few seconds for device id showing up
- In Alfred type
pu add {device id from iOS app} {device name}
Now you can send links with pu yandex.ru
You can add as many devices as you wish. Choose device to push in Alfred's list or push to all of them simultaneously.
To remove device just type pu rm {device name or id}
You can create your own desktop clients. There are some methods for you here:
/url/, POST
url – url to open on the devices
udids – an array with destination devices's ids
data = {
"url":"yandex.ru",
"udids":["SIH3e", "KKeU8w"]
}
/client/, POST
udid – device id to check
data = {
"udid":"SIH3e", "KKeU8w"
}
Device management on desktop client is totally up to you. For example you can look at Alfred Workflow implementation in this repo.