0

Threativore can now auto-deny registration applications that contain a specific string

preview

New functionality can be configured through two new .env vars. You can use this functionality to deny things like known spam or potentially abuse of the registration form. In our instance for example we use it to autoblock people who put a word we explicitly say they shouldn’t mention.

New functionality can be configured through two new .env vars. You can use this functionality to deny things like known spam or potentially abuse of the registration form. In our instance for example we use it to autoblock people who put a word we explicitly say they shouldn’t mention.

0

Threativore can now keep your blocklist in sync with your Fediseer censures

GitHub Release v0.17.1 · db0/threativore github.com
preview

The new release of Threativore adds Fediseer integration. It will allow you to keep your instance blocklist in sync with your fediseer censures. Not only that but the integration can be as fine-grained as you want, supporting collating multiple instance censures, filtering only censures with tags you want, or only censures collaborated by 1+ other instances etc.

Check out the usage manual for all the variables allowed.

For people who only want some basic protection, the default settings will by default protect you from all CSAM and bigoted instances as tagged by lemmy.dbzer0.com, lemmy.world and lemmings.world. This should provide a good initial blocklist even if you don’t populate fediseer yourself Bbut you can of course mix&match according to your needs.

This integration also prevents too many changes happening at one go in your blocklist. If threativore detects too many changes about to happen, it will ask for admin approval via DM before proceeding.

This sync will run every 10 minutes, so if you’re following the censures of other instances and they discover a new bad actor, you’ll be almost immediately protected, thus converting a fediverse weakness (information distribution) into a strength (information collaboration).

Let me know if you wish to see any improvements.

The new release of Threativore adds Fediseer integration. It will allow you to keep your instance blocklist in sync with your fediseer censures. Not only that but the integration can be as fine-grained as you want, supporting collating multiple instance censures, filtering only censures with tags you want, or only censures collaborated by 1+ other instances etc.

Check out the usage manual for all the variables allowed.

For people who only want some basic protection, the default settings will by default protect you from all CSAM and bigoted instances as tagged by lemmy.dbzer0.com, lemmy.world and lemmings.world. This should provide a good initial blocklist even if you don’t populate fediseer yourself Bbut you can of course mix&match according to your needs.

This integration also prevents too many changes happening at one go in your blocklist. If threativore detects too many changes about to happen, it will ask for admin approval via DM before proceeding.

This sync will run every 10 minutes, so if you’re following the censures of other instances and they discover a new bad actor, you’ll be almost immediately protected, thus converting a fediverse weakness (information distribution) into a strength (information collaboration).

Let me know if you wish to see any improvements.

0

Threativore now supports flagging users

GitHub threativore/README_manual.md at main · db0/threativore github.com
preview

The newest release of Threativore allows admins to flag users with warning flags, which don’t lead to any immediate consequences, but they allow admins to keep track of potentially problematic users and also a way to send a warning to those users that doesn’t come from any specific admin account.

This was triggered by having a few problem users in our instance which had bad takes low-key enough to not cop an immediate ban but kept popping up in reports and moderation. In isolation any of those things might make an admin give the benefit of a doubt, but when seen holistically, it makes things more obvious.

Currently it only supports a warning flag, but I can easily add more if people have ideas. These flags can accumulate between admins and you can always see what others have added.

I’m hoping people can use this functionality more liberally than bans, as it will provide a warning to users for bad behaviour, and once someone gets more than 2 or 3 it would be a good chance to take more significant actions.

Flags can also be set silently (i.e. without informing the user) and also with an expiration date, if wished.

The newest release of Threativore allows admins to flag users with warning flags, which don’t lead to any immediate consequences, but they allow admins to keep track of potentially problematic users and also a way to send a warning to those users that doesn’t come from any specific admin account.

This was triggered by having a few problem users in our instance which had bad takes low-key enough to not cop an immediate ban but kept popping up in reports and moderation. In isolation any of those things might make an admin give the benefit of a doubt, but when seen holistically, it makes things more obvious.

Currently it only supports a warning flag, but I can easily add more if people have ideas. These flags can accumulate between admins and you can always see what others have added.

I’m hoping people can use this functionality more liberally than bans, as it will provide a warning to users for bad behaviour, and once someone gets more than 2 or 3 it would be a good chance to take more significant actions.

Flags can also be set silently (i.e. without informing the user) and also with an expiration date, if wished.

0

Plugin support now ready for devs, releasing with v1.0

GitHub Server-side plugins / extensions · Issue #3562 · LemmyNet/lemmy github.com
preview

cross-posted from: !lemmy@lemmy.ml | retrolemmy.com/post/16169345

Nutomic:

This is implemented in the main branch now. If you want to develop a plugin for Lemmy, have a look at the RFC and the examples. If you have questions about plugin development, feel free to post in the Matrix dev chat, !lemmy@lemmy.ml or open an issue.

github.com/LemmyNet/lemmy/issues/3562#issuecommen…

Examples in multiple languages: github.com/LemmyNet/lemmy-plugins#lemmy-plugins (only a few examples currently, more languages are possible including Python)

Anyone planning to start working on a plugin?

cross-posted from: !lemmy@lemmy.ml | retrolemmy.com/post/16169345

Nutomic:

This is implemented in the main branch now. If you want to develop a plugin for Lemmy, have a look at the RFC and the examples. If you have questions about plugin development, feel free to post in the Matrix dev chat, !lemmy@lemmy.ml or open an issue.

github.com/LemmyNet/lemmy/issues/3562#issuecommen…

Examples in multiple languages: github.com/LemmyNet/lemmy-plugins#lemmy-plugins (only a few examples currently, more languages are possible including Python)

Anyone planning to start working on a plugin?

0

Threativore now allows to limit the filter scope to local instance or a single local community

GitHub Release v0.15.0 · db0/threativore github.com
preview

Latest update for threativore was pushed in order to be able to handle our anti-Xitter links rule.

What it adds is the scope keyword when setting up a new rule. Scope can either be:

  • global: The same as the existing implementation; it will match regardless of instance.
  • instance: Will only match from local communities (local to the instance threativore runs in)
  • community::<community_name>: Will only match from within the local community named <community_name>.

This means that threativore can now also be used for specific local community management. However currently threativore doesn’t accept commands from non-admins, so if any community mod needs to set up a threativore rule, they need to contact the instance admins. In the future hopefully I can allow direct filter specifications from comm-mods.

Latest update for threativore was pushed in order to be able to handle our anti-Xitter links rule.

What it adds is the scope keyword when setting up a new rule. Scope can either be:

  • global: The same as the existing implementation; it will match regardless of instance.
  • instance: Will only match from local communities (local to the instance threativore runs in)
  • community::<community_name>: Will only match from within the local community named <community_name>.

This means that threativore can now also be used for specific local community management. However currently threativore doesn’t accept commands from non-admins, so if any community mod needs to set up a threativore rule, they need to contact the instance admins. In the future hopefully I can allow direct filter specifications from comm-mods.

0

Threativore now provides an endpoint for listing open votes

preview

I’m hoping we can use it to update our UI to somehow inform people about new votes opening or ending, and avoid having to rely on stickies or otherwise having votes missed.

I’m hoping we can use it to update our UI to somehow inform people about new votes opening or ending, and avoid having to rely on stickies or otherwise having votes missed.

0

Threativore now supports voting and governance.

GitHub Release v0.13.10 · db0/threativore github.com
preview

Lots of releases since my last post roughly 1 week ago. Suffice to say, I’ve been hard at work :)

  • Threativore now allows specifying a governance community. Posts in that community can be used for voting. Voting relies on the specified user tags within threativore to figure out which votes to count and which not. You can see this in action in our very first voting thread in lemmy.dbzer0.com.
  • A lot more work has gone into preparing threativore to serve tags as flairs, with flair ordering mechanisms using env var definitions
  • Two new threativore PM commands added
    • vouching for users, which gives them a special flair and allows them to participate in votes. Vouching PMs are open to all trusted uses, has controls to prevent multiple/duplicate vouching, and PMs target and source accorindly.
    • assigning/removing flair, which gives them the flair tag on threativore and PMs them accordingly. This is open only to threativore admins.

The threativore manual has been updated with all relevant information for all of these

Lots of releases since my last post roughly 1 week ago. Suffice to say, I’ve been hard at work :)

  • Threativore now allows specifying a governance community. Posts in that community can be used for voting. Voting relies on the specified user tags within threativore to figure out which votes to count and which not. You can see this in action in our very first voting thread in lemmy.dbzer0.com.
  • A lot more work has gone into preparing threativore to serve tags as flairs, with flair ordering mechanisms using env var definitions
  • Two new threativore PM commands added
    • vouching for users, which gives them a special flair and allows them to participate in votes. Vouching PMs are open to all trusted uses, has controls to prevent multiple/duplicate vouching, and PMs target and source accorindly.
    • assigning/removing flair, which gives them the flair tag on threativore and PMs them accordingly. This is open only to threativore admins.

The threativore manual has been updated with all relevant information for all of these

0

Threativore now provides a REST API

preview

With threativore 0.8.x I have finally released a feature I’ve been planning for a while, the ability to maintain and view it via REST API.

The first thing that is released in the REST API is the ability to see a user’s information, which at the moment contains the user’s profile ID, their threativore roles and the newest fields, which is tags for users

{
  "user_url": "https://lemmy.dbzer0.com/u/db0",
  "roles": [
    "UserRoleTypes.MODERATOR",
    "UserRoleTypes.ADMIN"
  ],
  "tags": [
    {
      "tag": "ko-fi_tier",
      "value": "deck hand",
      "flair": "https://lemmy.dbzer0.com/pictrs/image/0cc8915a-acf8-451b-8350-c889f469ac42.webp",
      "expires": "2025-03-15 13:18:46.305405",
      "description": "This user is donating a moderate amount to their instance through Ko-Fi"
    },
    {
      "tag": "pirate",
      "value": "true",
      "flair": "https://lemmy.dbzer0.com/pictrs/image/156d1970-0600-4bea-b3d2-53435be3c314.webp",
      "expires": null,
      "description": "This user likes pirates"
    },
    {
      "tag": "anarchist",
      "value": "true",
      "flair": "https://lemmy.dbzer0.com/pictrs/image/61a552e5-d1db-43a5-a120-f584e3082c2d.webp",
      "expires": null,
      "description": "This user likes anarchism"
    },
    {
      "tag": "foss",
      "value": "true",
      "flair": "https://lemmy.dbzer0.com/pictrs/image/00ac9132-cecd-41e6-ba81-8ffd51043bdd.webp",
      "expires": "2025-01-14 13:07:57.467910",
      "description": "This user likes free software"
    },
    {
      "tag": "liberapay_tier",
      "value": "powder monkey",
      "flair": null,
      "expires": "2025-03-16 20:05:57.525031",
      "description": "This user is donating a moderate amount to their instance through Liberapay"
    }
  ]
}

The tags are free-form and any threativore admin can assign any tags to any users with whatever values. For example one of my plan in lemmy.dbzer0.com is to add a boolean tag for pirate if the user mentioned a pirate in their application form, or alternatively anarchist or FOSS respectively. Likewise I have automated adding tags based on whether someone has donated to the site through ko-fi recently and at which tier.

Currently these tags don’t have any effect, but I want to bring together the various frontend developers, such as @ptz@dubvee.org from tesseract, @sheodox@lemmy.world from alexandrite, @aeharding@vger.social and so on to see if we can come up with a standard where we can specify within threativore how the tags could be utilized. Or perhaps agree for a standard location where the threativore can always be sought by UIs to retrieve info (as it’s not part of the lemmy API proper)

For example I can arrange for a new field per tag, which would contain an emoji code, or an image url, which would be displayed by the UI as flavor for that user. I want to provide ways for each instance to be more unique, (until and if lemmy itself adds such functionality in the backend).

Another functionality which is not immediately obvious is that I now added code to allow threativore to reach in directly to the lemmy DB and extract any data needed. This is for example how lemmy.dbzer0.com can match users on ko-fi with users in lemmy. I plan to extend this functionality in the future to hopefully provide more ways for threativore to detect and deal threats, even without info publicly available in the API.

With all this I want to make threativore a valuable companion software to lemmy, to provide a lot more extensibility through the UIs and empower instance admins to do even more for the looks and security of their instances.

If you want to deploy threativore, I provide a simply code chunk you can add to your lemmy UI in docker-compose. You can even disable the anti-spam capabilities if you want (although they don’t do anything until you populate them), and just keep it as an API only.

Let me know what you think.

With threativore 0.8.x I have finally released a feature I’ve been planning for a while, the ability to maintain and view it via REST API.

The first thing that is released in the REST API is the ability to see a user’s information, which at the moment contains the user’s profile ID, their threativore roles and the newest fields, which is tags for users

{
  "user_url": "https://lemmy.dbzer0.com/u/db0",
  "roles": [
    "UserRoleTypes.MODERATOR",
    "UserRoleTypes.ADMIN"
  ],
  "tags": [
    {
      "tag": "ko-fi_tier",
      "value": "deck hand",
      "flair": "https://lemmy.dbzer0.com/pictrs/image/0cc8915a-acf8-451b-8350-c889f469ac42.webp",
      "expires": "2025-03-15 13:18:46.305405",
      "description": "This user is donating a moderate amount to their instance through Ko-Fi"
    },
    {
      "tag": "pirate",
      "value": "true",
      "flair": "https://lemmy.dbzer0.com/pictrs/image/156d1970-0600-4bea-b3d2-53435be3c314.webp",
      "expires": null,
      "description": "This user likes pirates"
    },
    {
      "tag": "anarchist",
      "value": "true",
      "flair": "https://lemmy.dbzer0.com/pictrs/image/61a552e5-d1db-43a5-a120-f584e3082c2d.webp",
      "expires": null,
      "description": "This user likes anarchism"
    },
    {
      "tag": "foss",
      "value": "true",
      "flair": "https://lemmy.dbzer0.com/pictrs/image/00ac9132-cecd-41e6-ba81-8ffd51043bdd.webp",
      "expires": "2025-01-14 13:07:57.467910",
      "description": "This user likes free software"
    },
    {
      "tag": "liberapay_tier",
      "value": "powder monkey",
      "flair": null,
      "expires": "2025-03-16 20:05:57.525031",
      "description": "This user is donating a moderate amount to their instance through Liberapay"
    }
  ]
}

The tags are free-form and any threativore admin can assign any tags to any users with whatever values. For example one of my plan in lemmy.dbzer0.com is to add a boolean tag for pirate if the user mentioned a pirate in their application form, or alternatively anarchist or FOSS respectively. Likewise I have automated adding tags based on whether someone has donated to the site through ko-fi recently and at which tier.

Currently these tags don’t have any effect, but I want to bring together the various frontend developers, such as @ptz@dubvee.org from tesseract, @sheodox@lemmy.world from alexandrite, @aeharding@vger.social and so on to see if we can come up with a standard where we can specify within threativore how the tags could be utilized. Or perhaps agree for a standard location where the threativore can always be sought by UIs to retrieve info (as it’s not part of the lemmy API proper)

For example I can arrange for a new field per tag, which would contain an emoji code, or an image url, which would be displayed by the UI as flavor for that user. I want to provide ways for each instance to be more unique, (until and if lemmy itself adds such functionality in the backend).

Another functionality which is not immediately obvious is that I now added code to allow threativore to reach in directly to the lemmy DB and extract any data needed. This is for example how lemmy.dbzer0.com can match users on ko-fi with users in lemmy. I plan to extend this functionality in the future to hopefully provide more ways for threativore to detect and deal threats, even without info publicly available in the API.

With all this I want to make threativore a valuable companion software to lemmy, to provide a lot more extensibility through the UIs and empower instance admins to do even more for the looks and security of their instances.

If you want to deploy threativore, I provide a simply code chunk you can add to your lemmy UI in docker-compose. You can even disable the anti-spam capabilities if you want (although they don’t do anything until you populate them), and just keep it as an API only.

Let me know what you think.

0

Does the Lemmy API have push API endpoints, or only pull?

preview

Is there any way to just like open a websocket and get notified of e.g. new posts/comments/etc, or is the only way to do that by polling?

I tried looking at the API docs, but didn’t see anything about it

Is there any way to just like open a websocket and get notified of e.g. new posts/comments/etc, or is the only way to do that by polling?

I tried looking at the API docs, but didn’t see anything about it

0

Threativore v0.7.0: Appeals

GitHub Release v0.7.0 · db0/threativore github.com
preview

Recently someone contacted me about a comment that the threativore erroneously removed as a false positive. While we restored that comment, it occured to me that the process in which an automated bot like this can be corrected is too unwieldly.

So I spent the last week trying to streamline the process in which someone can inform the mods that threativore made a mistake, and likewise allow the mods to recover that mistake, or reply to that person on why the decision stands, anonymously.

Now every time threativore removes something, it will also provide a string with which you can PM the bot, which will open an appeal request for that removal

The reasoning you send along will get forwarded to the mods who have the choice then to restore it, or reject the appeal (and inform you why). Also, not only the person who was affected can request this, anyone who sees an erroneous filtering action from threativore can open an appeal for it.

I hope to expand this functionality in the future to also allow for appeals for other actions such as bans, and to potentially allow threativore admins to take ad-hoc actions via threativore directly as well.

Important Note: If you were running a previous version of threativore, you’ll need to do a manual adjustment of your DB before you upgrade (because I don’t know how to automate this). The instructions are here

let me know how appeals work out for you and what you think of this new feature.

Recently someone contacted me about a comment that the threativore erroneously removed as a false positive. While we restored that comment, it occured to me that the process in which an automated bot like this can be corrected is too unwieldly.

So I spent the last week trying to streamline the process in which someone can inform the mods that threativore made a mistake, and likewise allow the mods to recover that mistake, or reply to that person on why the decision stands, anonymously.

Now every time threativore removes something, it will also provide a string with which you can PM the bot, which will open an appeal request for that removal

The reasoning you send along will get forwarded to the mods who have the choice then to restore it, or reject the appeal (and inform you why). Also, not only the person who was affected can request this, anyone who sees an erroneous filtering action from threativore can open an appeal for it.

I hope to expand this functionality in the future to also allow for appeals for other actions such as bans, and to potentially allow threativore admins to take ad-hoc actions via threativore directly as well.

Important Note: If you were running a previous version of threativore, you’ll need to do a manual adjustment of your DB before you upgrade (because I don’t know how to automate this). The instructions are here

let me know how appeals work out for you and what you think of this new feature.

0

Lemmy realtime CSAM detection tool updated in accuracy

preview

Cross-posted from “Lemmy realtime CSAM detection tool updated in accuracy” by @db0@lemmy.dbzer0.com in !div0@lemmy.dbzer0.com


One year ago I developed the first (and from what I know, still only) real-time CSAM detection tool for the fediverse. This has been in use by this instance and recently the real-time version was put in use by lemmy.world. Unfortunately the false-positive rate was a tad too high as this was still using my original implementation in horde-safety. But through our demands in the AI Horde, we’ve had to constantly tweak and improve it over the past year and thereofre we’ve had an improved checker for a while, but not used in fedi-safety.

Unfortunately I haven’t had the time/motivation to update into it recently so lemmy.world pinged me about its false positive rate being a tad too high, I felt it was a good time to do so.

So now horde-safety has been updated and it should already be more accurate. The admins of lemmy.world already put it into production and they have the most demand, so they’ll report back with their findings in a week. If this is not sufficient for lemmy’s purpose, I have some other ideas for tweaking it.

And yes, memes and pressure on the admins is what caused me to look into it, but remember we’re all just volunteers here. I would have looked into it if y’all had asked nicely as well ;)

Speaking of volunteers, if you want to support my work in providing tooling for lemmy and the Fediverse, feel free to send some support my way which covers all of my FOSS project work.

Cross-posted from “Lemmy realtime CSAM detection tool updated in accuracy” by @db0@lemmy.dbzer0.com in !div0@lemmy.dbzer0.com


One year ago I developed the first (and from what I know, still only) real-time CSAM detection tool for the fediverse. This has been in use by this instance and recently the real-time version was put in use by lemmy.world. Unfortunately the false-positive rate was a tad too high as this was still using my original implementation in horde-safety. But through our demands in the AI Horde, we’ve had to constantly tweak and improve it over the past year and thereofre we’ve had an improved checker for a while, but not used in fedi-safety.

Unfortunately I haven’t had the time/motivation to update into it recently so lemmy.world pinged me about its false positive rate being a tad too high, I felt it was a good time to do so.

So now horde-safety has been updated and it should already be more accurate. The admins of lemmy.world already put it into production and they have the most demand, so they’ll report back with their findings in a week. If this is not sufficient for lemmy’s purpose, I have some other ideas for tweaking it.

And yes, memes and pressure on the admins is what caused me to look into it, but remember we’re all just volunteers here. I would have looked into it if y’all had asked nicely as well ;)

Speaking of volunteers, if you want to support my work in providing tooling for lemmy and the Fediverse, feel free to send some support my way which covers all of my FOSS project work.

0

Media Bias Fact Check - Automation

preview

cross-posted from: lemmy.world/post/18073105

Media Bias Fact Check - Automation

Hello World, As many of you have probably noticed, there is a growing problem on the internet when it comes to undisclosed bias in both amateur and professional reporting. While not every outlet can be like the C-SPAN, or Reuters, we also believe that it’s impossible to remove the human element from the news, especially when it concerns, well, humans.

To this end, we’ve created a media bias bot, which we hope will keep everyone informed about WHO, not just the WHAT of posted articles. This bot uses Media Bias/Fact Check to add a simple reply to show bias. We feel this is especially important with the US Election coming up. The bot will also provide links to Ground.News, as well, which we feel is a great source to determine the WHOLE coverage of a given article and/or topic.

As always feedback is welcome, as this is a active project which we really hope will benefit the community.

Thanks!

FHF / LemmyWorld Admin team 💖

cross-posted from: lemmy.world/post/18073105

Media Bias Fact Check - Automation

Hello World, As many of you have probably noticed, there is a growing problem on the internet when it comes to undisclosed bias in both amateur and professional reporting. While not every outlet can be like the C-SPAN, or Reuters, we also believe that it’s impossible to remove the human element from the news, especially when it concerns, well, humans.

To this end, we’ve created a media bias bot, which we hope will keep everyone informed about WHO, not just the WHAT of posted articles. This bot uses Media Bias/Fact Check to add a simple reply to show bias. We feel this is especially important with the US Election coming up. The bot will also provide links to Ground.News, as well, which we feel is a great source to determine the WHOLE coverage of a given article and/or topic.

As always feedback is welcome, as this is a active project which we really hope will benefit the community.

Thanks!

FHF / LemmyWorld Admin team 💖

0

Lemmy adds plugin proof-of-concept

GitHub Proof of concept for Plugin system (fixes #3562) by Nutomic · Pull Request #4695 · LemmyNet/lemmy github.com
preview

Allows plugins in any language. Developers need some feedback on which hooks to add.

Planning to cook something up ASAP.

Allows plugins in any language. Developers need some feedback on which hooks to add.

Planning to cook something up ASAP.

0

Introducing: Fluxa Avataria

GitHub GitHub - db0/Fluxa-Avataria: Script that randonly changes your social media avatars/banners at set intervals using the AI Horde. github.com
preview

Just for fun, I’ve cooked this script to rotate social media avatars using Stable Diffusion via the AI Horde. Currently it only supports Lemmy, but in the future I plan to add support for more software like mastodon etc.

It can rotate user avatar/banner and community/site icon/banner.

Currently I’ve set it to rotate the lemmy.dbzer0.com site banner every day. I’ll deploy it to rotate some communities icons/banners soon as well.

Let me know what you think, and if you want it to support more software, or provide more complex generations, or any other enhancements, feel free to send PRs.

Just for fun, I’ve cooked this script to rotate social media avatars using Stable Diffusion via the AI Horde. Currently it only supports Lemmy, but in the future I plan to add support for more software like mastodon etc.

It can rotate user avatar/banner and community/site icon/banner.

Currently I’ve set it to rotate the lemmy.dbzer0.com site banner every day. I’ll deploy it to rotate some communities icons/banners soon as well.

Let me know what you think, and if you want it to support more software, or provide more complex generations, or any other enhancements, feel free to send PRs.

0

Lemmy API Swagger documentation

preview

cross-posted from: lemmy.ml/post/12426588

There’s now a swagger documentation for the Lemmy API.

See also mv-gh.github.io/lemmy_openapi_spec/

cross-posted from: lemmy.ml/post/12426588

There’s now a swagger documentation for the Lemmy API.

See also mv-gh.github.io/lemmy_openapi_spec/

0

Threativore: An anti-spam automoderator for Lemmy

GitHub GitHub - db0/threativore: A Thrediverse bot fight against spam github.com
preview

Hey y’all. I’ve been working on this little project ever since the recent spam wave started. This is a very basic Python automoderator bot which will monitor the comments and posts federated into your instance for specific regex instances and then automatically report, delete, ban etc.

The Bot setup is very simple, as you can just chuck its docker-compose entry into your existing lemmy one. You just need to fill in the relevant environment variables.

The bot works by constantly polling your incoming reports, posts and comments, and matching them against provided regex.

I wanted to keep things simple for admins, so the bot configuration happens via a simple PM syntax. The README goes into details on this. But you basically send a message like this to the Bot to add a new filter

threativore add comment filter: `trial period`
reason: `Spam comment`
action: `REMOVE`
description: `Known spam string`

All bot controls work the same way. Eventually I want to add a UI to it.

The bot is built with collaboration in mind. So you can add more people to help you maintain your filters (even if they’re not admins), you can add users whose reports will be treated more seriously, and you can even mark users as “ham” (i.e. known not spammers) to prevent them ever being filtered.

This is just the very first release and I have a lot of ideas to improve it in the future. Here’s some stuff in my roadmap which should make the threativore a much more collaborative/crowdsourced process between multiple instance admins and the larger userbase. Stay tuned.

PRs and suggestion are welcome.

PS: The bot is already active on lemmy.dbzer0.com, so you can check the modlog for its actions.

Hey y’all. I’ve been working on this little project ever since the recent spam wave started. This is a very basic Python automoderator bot which will monitor the comments and posts federated into your instance for specific regex instances and then automatically report, delete, ban etc.

The Bot setup is very simple, as you can just chuck its docker-compose entry into your existing lemmy one. You just need to fill in the relevant environment variables.

The bot works by constantly polling your incoming reports, posts and comments, and matching them against provided regex.

I wanted to keep things simple for admins, so the bot configuration happens via a simple PM syntax. The README goes into details on this. But you basically send a message like this to the Bot to add a new filter

threativore add comment filter: `trial period`
reason: `Spam comment`
action: `REMOVE`
description: `Known spam string`

All bot controls work the same way. Eventually I want to add a UI to it.

The bot is built with collaboration in mind. So you can add more people to help you maintain your filters (even if they’re not admins), you can add users whose reports will be treated more seriously, and you can even mark users as “ham” (i.e. known not spammers) to prevent them ever being filtered.

This is just the very first release and I have a lot of ideas to improve it in the future. Here’s some stuff in my roadmap which should make the threativore a much more collaborative/crowdsourced process between multiple instance admins and the larger userbase. Stay tuned.

PRs and suggestion are welcome.

PS: The bot is already active on lemmy.dbzer0.com, so you can check the modlog for its actions.

0

Chromium Plugin to format to widescreen?

preview

I have a 21:9 and I’d like things to be able to use that real estate. Is there a chromium plugin that could achieve this that you know of? I couldn’t find one specifically for Lemmy

I have a 21:9 and I’d like things to be able to use that real estate. Is there a chromium plugin that could achieve this that you know of? I couldn’t find one specifically for Lemmy

0

Any tools like Scrolldit for Lemmy?

preview

I’m looking for a way to pull images from my Lemmy feed and display them on desktop tiles, similar to Scrolldit. Ideally, the images would refresh every so often.

Does anything like this exist?

Thank you

I’m looking for a way to pull images from my Lemmy feed and display them on desktop tiles, similar to Scrolldit. Ideally, the images would refresh every so often.

Does anything like this exist?

Thank you

0

GitHub - Asudox/lemmy-wikibot-rs: A lemmy bot written in Rust to send summaries of wikipedia articles mentioned in user comments

preview

cross-posted from: lemmy.world/post/11440349

I made this bot so that users who want to provide a quick summary of the wikipedia article they linked to in their comment can do so just by including a mention of the bot in their comment, and the bot will reply to the comment with the summary.

Currently multiple wikipedia links is not supported.

bot: lemmy.world/u/wikibot

cross-posted from: lemmy.world/post/11440349

I made this bot so that users who want to provide a quick summary of the wikipedia article they linked to in their comment can do so just by including a mention of the bot in their comment, and the bot will reply to the comment with the summary.

Currently multiple wikipedia links is not supported.

bot: lemmy.world/u/wikibot

0

Lemmy Response Bot

GitHub GitHub - Demigodrick/Lemmy-Response-Bot: A bot for Lemmy. github.com
preview

As inspired by the bots on Reddit that respond to certain words, I’ve thrown together this code which allows anyone to set up their own response bot.

There is a bit more detail on Github, but in summary you can set your own trigger word and responses, and you have two modes of operation, “Exclude” which is the default and covers every community you’re federated with (and allows moderators of a community to PM the bot to exclude it) and “Include”, where you can pick a single community for the bot to be active in.

This is really early days and rough, but should work at the most basic level. Anyone who can provide some ideas/feedback/improvements - I’m totally open to them.

And to prove it works, I’m running Legolas Bot. Any comment you make below with the word “legolas” in will get a response (probably).

Small updates to reduce spaminess - will only reply to top level comments now.

Edit: Little updates include customisable polling rates and the ability to tag the comment creators name in a response.

As inspired by the bots on Reddit that respond to certain words, I’ve thrown together this code which allows anyone to set up their own response bot.

There is a bit more detail on Github, but in summary you can set your own trigger word and responses, and you have two modes of operation, “Exclude” which is the default and covers every community you’re federated with (and allows moderators of a community to PM the bot to exclude it) and “Include”, where you can pick a single community for the bot to be active in.

This is really early days and rough, but should work at the most basic level. Anyone who can provide some ideas/feedback/improvements - I’m totally open to them.

And to prove it works, I’m running Legolas Bot. Any comment you make below with the word “legolas” in will get a response (probably).

Small updates to reduce spaminess - will only reply to top level comments now.

Edit: Little updates include customisable polling rates and the ability to tag the comment creators name in a response.

0

bot request for generating and managing a megathread

preview

Hi all !

I apologize if i’m off topic. A friend advised to post here. :)

On jlai.lu i use megathread a lot. Its main goal is to regroup all related posts to a topic and leave a link to the megathread in comment.

Here is an example : jlai.lu/post/3905951

So let’s explain how it would work, feel free to improve this draft or tell me if it’s not feasible. I’m not well tuned zith editing rights

First the user has to create a post with sections and send it to the bot. Then the bot @megathread@lemmy.tdl publish it to the community mentionned by the user.

Example :

@megathread@lemmy.tdl create a post in !agriculture@lemmy.tdl :

Farm
# Vegetable
# Market
# Climate

!agriculture@lemmy.tdl

I’m an user. I explore lemmy.tdl and see a post Meat market is decreasing in Europe related to the megathread Farm for the section Market and i want to add it to the megathread Farm

So i can call this bot like this : megathread@lemmy.tdl add to Farm section Market (maybe shorter with symbole ?)

Then the bot will do 2 things :

  • Edit the megathread Farm and add * (timestamp of the URL) [Meat market is decreasing in Europe](URL) to the section Market
  • leave a comment with the link to the megathread farm

Timestamp of the url, the date of the newpapers if we can retrieve it.

To remove a link from a section, go to the link you want to remove, and write this :

megathread@lemmy.tdl remove to Farm section Market

So anyone can participate and edit the megathread. It’s collaborative :)

Maybe we can find a way to rectrict it to thrusted users so we can avoid Troll, spam…an array of trusted users who can use the bot and its admin ?

Thank for reading my post. What do you think ? :)

Hi all !

I apologize if i’m off topic. A friend advised to post here. :)

On jlai.lu i use megathread a lot. Its main goal is to regroup all related posts to a topic and leave a link to the megathread in comment.

Here is an example : jlai.lu/post/3905951

So let’s explain how it would work, feel free to improve this draft or tell me if it’s not feasible. I’m not well tuned zith editing rights

First the user has to create a post with sections and send it to the bot. Then the bot @megathread@lemmy.tdl publish it to the community mentionned by the user.

Example :

@megathread@lemmy.tdl create a post in !agriculture@lemmy.tdl :

Farm
# Vegetable
# Market
# Climate

!agriculture@lemmy.tdl

I’m an user. I explore lemmy.tdl and see a post Meat market is decreasing in Europe related to the megathread Farm for the section Market and i want to add it to the megathread Farm

So i can call this bot like this : megathread@lemmy.tdl add to Farm section Market (maybe shorter with symbole ?)

Then the bot will do 2 things :

  • Edit the megathread Farm and add * (timestamp of the URL) [Meat market is decreasing in Europe](URL) to the section Market
  • leave a comment with the link to the megathread farm

Timestamp of the url, the date of the newpapers if we can retrieve it.

To remove a link from a section, go to the link you want to remove, and write this :

megathread@lemmy.tdl remove to Farm section Market

So anyone can participate and edit the megathread. It’s collaborative :)

Maybe we can find a way to rectrict it to thrusted users so we can avoid Troll, spam…an array of trusted users who can use the bot and its admin ?

Thank for reading my post. What do you think ? :)

0

Introducing the Lemmy Tagginator

GitHub GitHub - db0/lemmy-tagginator: A script that attempts to tag all posts from specific communities github.com
preview

cross-posted from: lemmy.dbzer0.com/post/8874717

I have just deployed a script and a mastodon bot which attempt to hashtag lemmy posts so that they are better discoverable in microblogging services.

Please check the README for the why and the how.

If you have a microblogging account, please consider following the bot account which will help its hashtags federate to your instance’s public timeline.

Many thanks to @jgrim@discuss.online for hosting the bot.

PS: If you have a mastodon account, you can reply to your posts on mastodon (just search for their url) and add hashtags to your replies. This will achieve a quick and dirty version of what this bot is doing

cross-posted from: lemmy.dbzer0.com/post/8874717

I have just deployed a script and a mastodon bot which attempt to hashtag lemmy posts so that they are better discoverable in microblogging services.

Please check the README for the why and the how.

If you have a microblogging account, please consider following the bot account which will help its hashtags federate to your instance’s public timeline.

Many thanks to @jgrim@discuss.online for hosting the bot.

PS: If you have a mastodon account, you can reply to your posts on mastodon (just search for their url) and add hashtags to your replies. This will achieve a quick and dirty version of what this bot is doing

0

Lemmy Community Bot

GitHub GitHub - Demigodrick/community_bot github.com
preview

Features

  • Poll feature - Admins can create polls and users can vote on them
  • Help functionality. The bot will PM helpul advice.
  • Welcome PM - the bot scans new applications to the site and sends a PM to the user with helpful info
  • Create a community. The bot will allow a user with a score above one you set to create a community via PM. The bot will add the user as a mod then de-mod itself. Useful for turning off open community applications and allowing trusted members to create communities.
  • Email new users between verifying email stage and admin acceptance stage (so new users don’t get confused and think they’re locked out of their accounts!)
  • A bunch of other helpful tools for Admins

Features

  • Poll feature - Admins can create polls and users can vote on them
  • Help functionality. The bot will PM helpul advice.
  • Welcome PM - the bot scans new applications to the site and sends a PM to the user with helpful info
  • Create a community. The bot will allow a user with a score above one you set to create a community via PM. The bot will add the user as a mod then de-mod itself. Useful for turning off open community applications and allowing trusted members to create communities.
  • Email new users between verifying email stage and admin acceptance stage (so new users don’t get confused and think they’re locked out of their accounts!)
  • A bunch of other helpful tools for Admins
0

Fediseer: Allows you to share, and consolidate your block/allow lists for lemmy.

preview

It has also a ton more capabilities, but for the purpose of lemmy integration, this is the most relevant one.

It has also a ton more capabilities, but for the purpose of lemmy integration, this is the most relevant one.

0

What this community is about.

preview

This is a community where you can announce and post about any new thing that integrates to the lemmy API. Lemmy bots, scripts which use lemmy data for any purpose, bridges to other services, and even apps if you want.

The idea is to have a catch-all for anything which uses the Lemmy API.

The reason I felt I had to start it is because I crossposted my recent announcement about the @aihorde@lemmy.dbzer0.com bot to !lemmy@lemmy.ml and the mods over there, in all their wisdom, decided that a lemmy bot is not relevant to lemmy 🙄. Unfortunately the other available communities like !fediverse or !lemmyapps don’t quite fit a bot announcement either. So I decided to make something fitting!

This is a community where you can announce and post about any new thing that integrates to the lemmy API. Lemmy bots, scripts which use lemmy data for any purpose, bridges to other services, and even apps if you want.

The idea is to have a catch-all for anything which uses the Lemmy API.

The reason I felt I had to start it is because I crossposted my recent announcement about the @aihorde@lemmy.dbzer0.com bot to !lemmy@lemmy.ml and the mods over there, in all their wisdom, decided that a lemmy bot is not relevant to lemmy 🙄. Unfortunately the other available communities like !fediverse or !lemmyapps don’t quite fit a bot announcement either. So I decided to make something fitting!

0

You can now request Stable Diffusion generations from the AI Horde bot directly from anywhere in lemmy!

preview

Simply mention @aihorde@lemmy.dbzer0.com with the text "draw for me " and then the text that you would like it to draw and I will draw you an image matching your prompt, post it in this community and then reply with a link to each image! Optionally you can provide a “style:” as well.

Example: [@aihorde@lemmy.dbzer0.com](https://lemmy.dbzer0.com/u/aihorde) draw for me a beautiful night style: fantasy

This is a free service provided through the AI Horde. We also have an FAQ.

Simply mention @aihorde@lemmy.dbzer0.com with the text "draw for me " and then the text that you would like it to draw and I will draw you an image matching your prompt, post it in this community and then reply with a link to each image! Optionally you can provide a “style:” as well.

Example: [@aihorde@lemmy.dbzer0.com](https://lemmy.dbzer0.com/u/aihorde) draw for me a beautiful night style: fantasy

This is a free service provided through the AI Horde. We also have an FAQ.