this post was submitted on 31 Jul 2023
69 points (98.6% liked)

Fediverse

35318 readers
365 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] wpuckering@lm.williampuckering.com 6 points 2 years ago* (last edited 2 years ago) (8 children)

With all due respect, it seems like a janky solution to have a bot post public comments on request with transformed links specific to a given user's own instance (that no other users would be likely to care about), just so that they can refresh the page and click on them... If something like this went into widespread use, threads would just become cluttered with comments containing transformed links, and I could see that being really annoying to other users who are trying to properly participate in discussion.

Back on Reddit, I always thought the !remindme bot was pretty dumb. Certain threads would just be spammed with comments for the bot to pick up to remind that specific user on some date to come back and check the thread. We can do better than that here. It was a janky solution to something that was a problem best left to the end-user to manage separately (just set a reminder in your own calendar...).

This is best left to client-side code in the form of a browser addon, or ideally, the Lemmy frontend itself.

It should be trivial to make an enhancement to the official Lemmy frontend such that links to any other Lemmy communities/posts/comments/etc are transformed to the context of the user's home instance. It could be a togglable setting in the user's own settings, or maybe both the original link and the transformed link could be presented to the user on click (to accommodate both desktop and mobile browsing).

I'm actually really surprised this isn't already implemented given how simple it is to do.

[–] rikudou@lemmings.world 4 points 2 years ago (3 children)

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.

[–] wpuckering@lm.williampuckering.com 0 points 2 years ago* (last edited 2 years ago) (1 children)

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

[–] rikudou@lemmings.world 2 points 2 years ago (1 children)

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.

load more comments (1 replies)
load more comments (5 replies)