Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1010 Bytes

File metadata and controls

23 lines (14 loc) · 1010 Bytes

Click to Shell

Redirects phone links like callto:, tel:, or sms: to a user-provided shell script.

How to install on a Mac

Download the latest release of this project and move the clicktoshell.app file in /Applications (or somewhere else).

You should also install RCDefaultApp to make it easy to register the right protocol handlers.

In RCDefaultApp, go to the "URL" tab, select callto for instance, then select clicktoshell.app as a default app.

Then, create a file clicktoshell-callto.sh in your user directory (for instance, /Users/Bob/clicktoshell-callto.sh).

This shell script will get executed each time the user clicks a callto: link, with the phone (formatted in international format) as first argument.

An example of script using the Keyyo VoIP API:

curl https://ssl.keyyo.com/makecall.html?ACCOUNT=+33111111111&CALLEE=$1&CALLEE_NAME=Keyyo