this post was submitted on 17 Jul 2023
31 points (97.0% liked)

Python

6288 readers
3 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 

I was inspired to try writing my own Python script for Lemmy after seeing some other scripts on here and seeing Plemmy.

With this script, you can specify multiple accounts to have communities blocked on. You can also specify multiple instances to block all communities from.

This might be a little niche, but I wanted an easier way to block everything from some specific NSFW instances. This is my first "real" python scripting project, so any feedback is appreciated!

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 5 points 1 year ago (1 children)

Great idea! I'm guessing it will have to be re-run on an instance after new communities are created on it? Ultimately I think Lemmy needs a native way to block an instance from your feed, but this seems like a good option in the meantime.

[โ€“] RadiantZoidberg 2 points 1 year ago

Yeah, one can hope that they will implement a native way to do this, but in the meantime, we have to find our own way. At least we can make things like this for ourselves!