Spyke

[Suggestion] rewriting lemmy http links to community links

When scrolling on Lemmy I often stumble on links from people that don't use community syntax (!c@server).

It would be appreciated for those thinks to be rewritten automatically to avoid the browser opening, and instead staying in Voyager.

Implementation could be tough though: do you need to prefetch the page, parse it and check somehow that it's a Lemmy community? Or have a list of known servers to rewrite those links? Both could prove tedious to maintain.

View original on programming.dev
aehardingreply
lemmy.world

Yes, posts and comment link support is coming, I believe there's a github issue for that :)

6

I meant a link post whose link is a community. I added a comment to the issue that’s hopefully clearer.

1

I'm probably in the minority here, but can this functionality be disabled? I'd rather have the links open as linked, unless the !community@instance format is used.

EDIT: I should specify: I'd like to be able to disable this functionality, not have it disabled completely for everyone 😅

1

if a bot can do it, then surely an app can do it. weirdly right now i can only post this reply in landscape on my iphone and not portrait view.

3

You reached the end