Lemmy is nice and provides almost all of the features from Reddit that I care about, but it’s jarring whenever I tap/click on a post link and it opens in a different instance. Is there a way to link to a post such that it will open in whatever instance the user is on?
There is no easy way to do this. Each Lemmy instance uses their own autoincrement ID for posts. So post 12345 here might be post 54321 on another instance.
It has been suggested that each post gets a universal ID (UUID is an example). Then the local server could just examine the URL and redirect the user to the local post. This suggestion hasn’t gotten any traction. The dev team is more focused on fixing the huge performance issues right now.
I agree and would support a feature request for lemmy-ui if not already in place for this one.
It should be already implemented. !lemmy@lemmy.ml
For communities, sure, but if I share this post the link is https://lemmy.calebmharper.com/post/10474, which is obviously not ideal. Same for comments. I am asking if there is a way to share it in a way that isn’t instance-specific.
btw - you can paste that link into search and it will return you a home instance link to click. So that’s a decent work around for now. But I’m all for home instance link rewrites.
As far as I know, it is not possible yet due to the underlying implementation
PC: https://greasyfork.org/nl/scripts/469273-lemmy-universal-link-switcher
Phone: Use any Lemmy app that automatically handles it for you (should be all of them)