I was looking for a solution to open specific apps on my mac os, but invoking it from a browser. It turns out its possible with custom protocols! An app that is installed on a system, need to have custom protocol defined.


And if it has, that we can just do


_1
<a href="bear://">Bear</a>

And this, for example, will open app name Bear on a visiting person's computer.


We can do the same with Slack, and Discord for example.


_3
<a href="slack://">Slack</a>
_3
_3
<a href="discord://">Discord</a>

I will dive into more detail how to create custom protocol for you app later in different blog post, about creating desktop Apps :)