Skip to content

Commit 8c56b70

Browse files
committed
README
1 parent 31bc7e6 commit 8c56b70

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Click to Shell
2+
==============
3+
4+
Redirects phone links like `callto:`, `tel:`, or `sms:` to a user-provided shell script.
5+
6+
How to install on a Mac
7+
=======================
8+
9+
Download the latest release of this project and move the `clicktoshell.app` file in `/Applications` (or somewhere else).
10+
11+
You should also install [RCDefaultApp](http://www.rubicode.com/Software/RCDefaultApp/) to make it easy to register the right protocol handlers.
12+
13+
In RCDefaultApp, go to the "URL" tab, select `callto` for instance, then select `clicktoshell.app` as a default app.
14+
15+
Then, create a file `clicktoshell-callto.sh` in your user directory (for instance, `/Users/Bob/clicktoshell-callto.sh`).
16+
17+
This shell script will get executed each time the user clicks a `callto:` link, with the phone (formatted in international format) as first argument.
18+
19+
An example of script using the [Keyyo VoIP API](https://api.keyyo.com/developers/):
20+
21+
```
22+
curl https://ssl.keyyo.com/makecall.html?ACCOUNT=+33111111111&CALLEE=$1&CALLEE_NAME=Keyyo
23+
```

0 commit comments

Comments
 (0)