this post was submitted on 30 Jun 2023
36 points (97.4% liked)

Lemmy

12465 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

Hi all,

I’d hereby like to announce lmmy.to, an instance-aware redirector for Lemmy that allows you to directly link people to Lemmy communities on their own instance.

As an example, try https://lmmy.to/c/lemmy@lemmy.ml.

I’ve created !lmmy_to@derp.foo to discuss it. There’s also a FAQ.

Edit: I've resolved the 500 error people were getting.

you are viewing a single comment's thread
view the rest of the comments
[–] cypherpunks@lemmy.ml 3 points 1 year ago* (last edited 1 year ago) (2 children)

Thanks for the effort, but, unless I'm missing something, this is unnecessary because you can simply make a relative link like [this](/c/lemmy@lemmy.ml) (this) and get the same effect. Also, as of 0.18.0, a string like /c/lemmy@lemmy.ml automatically becomes a relative link, like this: /c/lemmy@lemmy.ml

However, these relative links unfortunately don't work on non-lemmy activitypub sites like mastodon and kbin.

imo, despite this, for now an easy improvement that should be made is that lemmy's autocomplete functionality (when typing !communityname...) should be changed to generate relative links.

I haven't followed the discussion closely but there are multiple github issues about this problem. One is here and from it you can find some others.

[–] Wander@yiffit.net 3 points 1 year ago* (last edited 1 year ago)

test

/c/lemmy@lemmy.ml

Woah, awesome. Indeed.

[–] irdc@derp.foo 1 points 1 year ago

However, these relative links unfortunately don’t work on non-lemmy activitypub sites like mastodon and kbin.

And that's exactly the reason why I created lmmy.to.