For example…
The creator of ai-furry-generator was frustrated by their generator now being shown on the page. It has this in the description: “whiteboard drawing with tldraw—powered by Stable Diffusion.” Which is fine. (This is what https://lemmy.world/post/23131988 is about.)
But it matches the bad regex /white.*power/i
For now I’ve told them what to change so it’ll show up again. But ideally, it wouldn’t match something innocuous like this. Maybe check for only whitespace and dashes, or non-letters, something like that? I mean, some things are going to slip through either way–but personally I’d err on the side of letting good people have good things, rather than taking good things away from good people in case they’re bad based on a too-inclusive regex. ;p
Might also be a good idea to console.log every generator that was skipped for showing on the page, with the reason why. So that there’s an easy way to see the cause and fix it if it’s an invalid match. Or ask the dev to fix that check so it’s more correct… without needing to figure out the code itself.
I’ve now made a copy of the generators listing, that fixes this, and adds common preferences for what to show/hide. https://perchance.org/generators-with-prefs
10 points for ravenclaw.
Turtle power!