Make ActivityPub handles clickable in posts

AI-generated summary

tobiaseigen proposes a feature to make ActivityPub handles automatically clickable within posts. Currently, handles like @fediforum@mastodon.social are displayed as plain text, forcing users to manually copy and paste them into external ActivityPub platforms to view profiles. The suggestion is to convert these handles into clickable links, such as [@fediforum@mastodon.social](https://mastodon.social/@fediforum), which would improve usability. The author notes that this implementation should be straightforward since all necessary components for the URL are contained within the handle itself.

In some communities I am in, I am noticing that people are starting to refer to ActivityPub handles in posts, but unfortunately these appear like this:

@fediforum@mastodon.social

They are not clickable, which means if you are curious and want to see if you want to follow the handle, you have to copy/paste the handle into your ActivityPub site (e.g. mastodon) and click to go to the handle’s profile page.

Would be much nicer if they were automatically formed into clickable links, like this:

@fediforum@mastodon.social

This should be possible to do with code quite easily, given everything you need for the URL is in the handle:

[@fediforum@mastodon.social](https://mastodon.social/@fediforum)

3 Likes