%pRxE1EZkvzOXpJg+P618y4IKfNn7KQXe043xzLPRBrY=.sha256
proposal for http-to-ssb links
Patchwork had the "copy web url" button when you right clicked a post. That was useful because you got a link that was clickable in most/all apps, since http links are well supported. The link took you to a hard coded (or were you able to change it in config?) web viewer running on a pub.
This had a few flaws:
- Hard coded server brings a bit of centralization
- At first, anyone on the internet was able to see almost every ssb post on the web viewer, a privacy issue.
- After a while, the default was changed to posts being hidden except if the author had explicitly opted in, which no one did, making the feature largely useless
How about this user flow instead, manyverse in this case but could be any app:
- You click the ...-menu on a post/user you want to link to
- You click "copy web link" and in your clipboard you get a link that looks like this
https://hermies.club/link?l=ssb:feed/ed25519/ed1T9mWlMAg2rfMG-r2j1yJaS7UIsZZox5SQFWNDAuc=
. The room is semi-randomly picked from one of the last ones you connected to. (how do we know that the room supports this? discuss below) - You send the link in e.g. Signal to a friend.
- Your friend visits the link and the only thing that page does is try to open an ssb-protocol-handler-compatible app on the friend's device and open the ssb link contained in the http link i.e. in this case
ssb:feed/ed25519/ed1T9mWlMAg2rfMG-r2j1yJaS7UIsZZox5SQFWNDAuc=
@nonlinear has been sketching some advanced share-post-and-user-invite flows that look really cool. In my mind this proposal above would be the first step towards that. Once we have broker(?)/token room invites, you can imagine the above example link also containing a token, and when the user clicks the link they then can also e.g. get added as a member to the room, or a private group, or etc. That would be a super easy and compelling way to get invited to ssb.