Community Link Fixer updated

Rikudou_Sage@lemmings.world to Fediverse@lemmy.world – 69 points –

I've updated the bot and added the possibility of translating hardcoded links (like this one: https://lemmy.world/post/2355178 or this one: https://lemmy.world/comment/1863672) to posts/comments with links from your instance when you mention him. I'll show an example in comments.

25

You are viewing a single comment

Well, I agree! Until it's there, you can do one of these: a) ignore the bot, b) block the bot, c) block all bots, d) contribute to Lemmy UI. Even though it may sound trivial to you, it really isn't, due to the federated nature of Lemmy. The IDs are specific to each instance, it's not a simple string replacement.

It is actually trivial. Here's a walkthrough with one solution for how to do it: https://lm.williampuckering.com/comment/723311

Yeah, that link requires authentication. Anyway, I've just implemented it in the bot, I know how hard it is.

Ah sorry, just remembered I put my entire instance behind authentication except for the API endpoints required for federation. The comment I was linking to is in this thread. Just describes how all the info you need to properly transform the links is right there in the database records of the entities you want to transform, so this functionality can easily be added without much work.