Threadilink-test.anarchistflotilla.org - Threadiverse link service
This service creates universal links to communities, users, posts and comments across the Threadiverse. When you use this service, you give your users the option to view a community or a user profile on their preferred instance instead of going through a complicated process just to interact with the link.
How it works without this service:
- You link to a community (user, post), let's say wwdits@lemmings.world, using a link: https://lemmings.world/c/wwdits
-
After the user clicks it, one of two things happens:
- They have an account on the same instance which means everything is fine and the link works, you're done.
- The user doesn't have an account on the same instance, so the process gets more complicated.
- The user has to open their own instance.
- The user has to copy the link.
- The user has to paste the link into a search bar on their own instance.
- The user has to click the link in search results.
How it works with this service:
- You link to the same community like this: https://threadilink-test.anarchistflotilla.org/c/wwdits@lemmings.world
-
After the user clicks it, one of two things happens:
- If this isn't the first time the user is here, they will be redirected to their preferred instance.
- If this is the first time, the user is given the option to either set their own instance or to continue to the target instance.
- Done! Either way the user is on an instance, either one of their choice or on the one the community is hosted on if the user doesn't care.
How post and comment links work:
- When a link is created, the service looks up the object's ActivityPub ID once and stores that ID in the universal URL.
- When someone opens the universal URL, the browser sends that ActivityPub ID to their preferred instance.
- The target platform resolves the object through its own API or protocol handler.
- The preferred instance opens its own local copy. The link service does not look up the post or comment again.
Older post and comment links remain supported for compatibility.