this post was submitted on 01 Aug 2024
365 points (98.4% liked)

Lemmy Apps

5457 readers
2 users here now

A home for discussion of Lemmy apps and tools for all platforms.

RULES:


An extensive list of Lemmy apps is available here:

LemmyApps.com

or lemmyapps.netlify.app


Visit our partner Communities!

Lemmy Plugins and Userscripts is a great place to enhance the Lemmy browsing experience. [email protected]

Lemmy Integrations is a community about all integrations with the lemmy API. Bots, Scripts, New Apps, etc. [email protected]

Lemmy Bots and Tools is a place to discuss and show off bots, tools, front ends, etc. you’re making that relate to lemmy. [email protected]

Lemmy App Development is a place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform. [email protected]

founded 1 year ago
MODERATORS
 

Feature: Alternate Source Selector

Implementation Difficulty: Easy

Live Example: https://tesseract.dubvee.org/c/[email protected] (The "link" icon to the left of the post's URL.)

Rationale: I'm quite annoyed with people whining "pAyWallED!" in news post comments, and this is Tesseract's way of addressing that (for users of that UI, anyway)

Description:

On posts with links (that aren't images, audio, video, Youtube, or other media), a dropdown menu is added with links to alternate sources.

Each one will search for the URL in the selected archive provider (currently Ghost Archive, Archive Today, 12ft.io) or Ground News (new in 1.4.5).

Lemmy-UI kind of does this, but completely ass-backwards (only during post creation to set the post link; I'll spare you my spiel about how that's a horrible vector for misinformation).

On Youtube-like posts (YT, Invidious, or Piped), the options are changed to go to the canonical YT link, your preferred Invidious instance, or your preferred Piped instance, but that's just a secondary (but still nice) feature of that component.

Would love to see something like this more widely adopted and am more than happy to answer any implementation questions.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 3 months ago (1 children)

Cool! While I'm not sure how messy this would be, would it be possible to let the user add/remove options?

  • It could avoid any headaches for you if a company doesn't like a certain option being included
  • People can remove the options they don't use, reducing clutter
  • If you add a link in the menu to some fediverse post, people can suggest changes to the defaults, or exchange their personalizations
[–] [email protected] 5 points 3 months ago (1 children)

I'm more proposing the general idea to be adopted by other apps; just using my implementation as an example.

would it be possible to let the user add/remove options?

Add? Definitely (and fairly easily). Remove? Not so much (at least in my implementation). Those are the only 3 I know of right now that work reliably. If there are ever more than 3, I would probably move to a dynamic method where you'd just enable certain ones from a list (kind of like Searx-NG if you're familiar with that). A user adding a custom one would work like adding a search provider to a browser (e.g. https://archiver.example.com/?url=%s)

In practice, I tend to need all 3 depending on the source URL in the post. Some don't have a copy of the target or don't render certain sources as well as others, so having a few to choose from is often needed. Allowing user-custom ones is a great idea though.

If you add a link in the menu to some fediverse post, people can suggest changes to the defaults, or exchange their personalizations

I sort-of do that already with suggestions for the built-in Invidious/Piped instances list, but ask that they be submitted via Github or the Tesseract Lemmy community (users can define their own Inv/Piped instances as of a few versions ago). Dunno if I'd want the link to that in the selector menu, but could easily link it from the settings panel where you'd hypothetically edit the archive sources.

Thanks for the feedback; I'll probably work on adding support to at least add custom archive services in one of the next releases (and probably eventually work toward a fully customizable version).

[–] [email protected] 5 points 3 months ago

That all sounds good to me, thanks for sharing the idea! Looking forward to seeing more implementations of this