Fediverse protocol for browsers to handle to enable seemless reply / follow / fav etc.
Currently, reacting to posts on other sites is rather annoyingly hard. Following somebody on a remote instance is very involved as well.
One solution to this is to add a protocol and corresponding protocol handler, so that an app can register to handle certain links and actions. Mastodon implemented something like this before, so this could be used as a starting point.
Things this could / should handle:
- Following
- Favouriting
- Announcing (Repeating)
- Replying
- Voting
Documentation of the mechanism:
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
Mastodon's previous work on this, using a 'web+mastodon' protocol name. Supports following and posting (called 'sharing'). An example URL: web+mastodon://follow?uri=acct:gargron@mastodon.social