Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on piefed.social
piefed_meta·PieFed MetabyRimu

New: Automaticlly turn remote fediverse links into local links

One of the long-standing issues we have in/on the fediverse is that when I have a link in my post that goes to another post on my instance, people on other instances will click that link and be taken to MY instance, where they can't comment, don't have an account, aren't logged in, etc and they will try to log in using their login credentials for their home instance then wonder why it doesn't work.

When someone links to https://lemmy.world/post/39832275 and I'm on piefed.social I want to see https://piefed.social/c/news/p/1544770/national-parks-ordered-to-check-gift-shops-for-dei-type-items not the copy on lemmy.world!

As of PieFed v1.4, links like that will automatically be converted to link to the local copy of the post, where 'local' is whatever is local for the reader. See the linked video where I demonstrate this in action.

New: Automaticlly turn remote fediverse links into local linkshttps://peertube.wtf/videos/watch/31994064-abb6-4bea-8acb-578cef9370cbOpen linkView original on piefed.social
127

24 replies

This is very awesome! I imagine most of us who floated over a couple years ago have figured out ways of making this happen, but what a huge obstacle for newcomers. Huge news!!!

15

Yea it was quite a pain in the beginning and frustrating. If we want to get normies on board we need smooth nice UX

2

Absolutely going into my pitch on why piefed is worth using. Fixing small annoyances like this is super important to people sticking around after that initial joining stage.

14
piefed.social

This solves one of the most annoying problems with lemmy! Great work, thank you.

8
sem
piefed.blahaj.zone

I have the reverse problem that when I'm on PieFED using blorp and I want to share a post, it always shares the blorp version of the post. When I would ideally like to share the canonical URL and give credit to the original source. Voyager and lemmy has a way to specify this option for sharing, but as far as I can tell blorp does not.

1
wjs018reply
piefed.social

@[email protected] FYI

Something about this feature @[email protected] is showing off is that it is only doing the link substitution in the web frontend. Any links in posts/comments will remain unchanged in the API that clients like blorp and voyager. This lets the different clients deal with this as they would like.

It might be possible to do this substitution on PieFed's side for API responses, but I think it should not be the default. We would need some way for an API client to indicate that this is what would be desired.

6
Rimureply
piefed.social

I think you can get the canonical url using 'view post source' in the 3 dot menu?

3
lemmy.world

Sorry I should have fixed this a long time ago. Though I was considering having it open in Blorp and then showing “continue on Blorp” or “view original”. Something like that. Basically, let the receiver decide instead of the sharer. But maybe that’s not the right move. Anyway, I stalled on fixing it because I couldn’t decide the right solution. What I wanted to avoid was over complicating the share menu.

3
semreply
piefed.blahaj.zone

I can appreciate that! Keeping share to minimum actions needed is very appreciated!

This is how it looks like in Voyager settings (for the sake of discussion). What did you think of having a preference in the settings?

1
lemmy.world

That could work! What should the default option be? I think it would either have to be “ask” or “chose one of these options which can be changed later from settings”

2

IMO the current behavior could be default -- the blorp link.

I usually end up changimg it to the community.

1

@moseschrute @sem I am strongly in favor of the default always being the canonical remote URL for copying and then whatever app you use should do the loading of that link locally

1
piefed.world

A very helpful feature! Looking forward for PW to upgrade to 1.4 (I was wondering why the LW link in the post body didn't automatically switch to PW instance/client).

1
Rimureply
piefed.social

1.4 isn't released yet :)

Maybe another week or two until it's out.

2

))

I also wish the Lemmy WebUI would adopt this model, it would make sidebar links so much cleaner and easier to use for new and casual users.

1

You reached the end

New: Automaticlly turn remote fediverse links into local links | Spyke