this post was submitted on 30 Jun 2023
42 points (97.7% liked)

Lemmy Plugins and Userscripts

2177 readers
1 users here now

A general repository for user scripts and plugins used to enhance the Lemmy browsing experience.

Post (or cross-post) your favorite Lemmy enhancements here!

General posting suggestions:

Thanks!

founded 2 years ago
MODERATORS
 
LemmyTools 0.1.2

New for 0.1.2:

  • Auto-Expand and Click&Drag to expand lemmy images!
  • Hide Lemmy Sidebars - More space for images on feed
  • Auto unblur NSFW images option
  • Option to enable old.Reddit (from https://github.com/soundjester/lemmy_monkey) - Thank you!
  • Hover to activate lemmy Toolbar
  • Significant UI changes
  • Reworked easy button for offsite

Fixes

  • Fix for '#' breaking easy subscribe button
  • Fix for script breaking other sites due to poor isLemmy implementation.
  • Fixed memory allocation issue with eventHandlers
  • Various UI bug fixes (not showing all communities, settings menu display, etc...)

Script Features:

  • Adds “Easy Subscribe” button to remote instance communities.
  • Adds a collapsible sidebar on the side of screen that shows a searchable list of your subscribed communities.
  • Adds link back to home instance and a community browser.
  • Adds an options menu to configure LemmyTools settings.

Feature for future releases:

  • When off site collect a list of communities and display in sidebar for easy subscription. (beginning implementation 0.1.2)
  • Create communities grouping function.
  • Sort sub list by recently visited
  • Create addon for firefox/chrome.

Installation and Configuration:

1 - Browser must have a Userscript addon (Tampermonkey, Greasemonkey, Etc...). Tested with Greasemonkey.

2 - Download either the .JS file or install from greasyfork.

3 - Set home lemmy instance via options page once script is loaded (and manually edit the homeInstance variable for the offsite home instance fix.

This script is all done by a complete amateur for fun. Enjoy and feel free to fork it!

Get it here: Github or GreasyFork

Please submit issues to the github for feature requests and problems: Github LemmyTools Issues

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 2 years ago (1 children)

This is awesome! Would it be possible to have the sidebar start minimized, rather than expanding by default?

[–] [email protected] 1 points 2 years ago

Thank you. I agree, on my 2k wide screen expanded doesn't matter but when I'm using this on my phone it's been driving me nuts. So it's in the works. There is functionality that is pretty close to what your wanting (in the current release). Give it a try, turn on "hover to active" it will stay minimized till you mouse over.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago) (1 children)

The sidebar doesn't act right if you're using any zoom more than 100%. I'm using Lemmy on a 2k monitor so I'm zoomed in anywhere from 130% to 150% at any given time.

That aside, this is already useful, thank you.

[–] [email protected] 2 points 2 years ago

Thank you... Interesting! I never use browser zoom, so I didn't even think to check. I'm also on a 2k screen. I'll look into that. Thanks.

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago) (1 children)

This seems nice. How again do I get to the options? I'm not seeing a link anywhere.

Edit: Never mind. I'm blind. Thanks for posting this script.

[–] [email protected] 2 points 2 years ago

Thank you. Glad you found the options~! When you make something you never know if it's "user friendly" since you can't be objective! So, that's valid, haha. Enjoy.

[–] [email protected] 2 points 2 years ago

Did a small patch to fix the menu being funky on light themes as well as a few small other things. 0.1.2.1.

[–] [email protected] 2 points 2 years ago

This is a very cool thing :) Thank you. Will try it out.

[–] [email protected] 2 points 2 years ago (1 children)

I'm going to try this out with Violentmonkey and report back ! It seems like a great option

[–] [email protected] 2 points 2 years ago

Works for me.

[–] [email protected] 2 points 1 year ago
[–] [email protected] 1 points 2 years ago (1 children)

Should be added to Lemmy-UI as options instead

[–] [email protected] 2 points 2 years ago

That's actually not a bad idea. Have it in the profile drop-down list or on the settings page itself. Might explore that.

load more comments
view more: next ›