{"id":15695862,"url":"https://github.com/halcy/mastodon_mod_tools","last_synced_at":"2025-07-04T21:40:02.650Z","repository":{"id":166627579,"uuid":"642131891","full_name":"halcy/mastodon_mod_tools","owner":"halcy","description":"A maybe future set of tools to help with mastodon moderation","archived":false,"fork":false,"pushed_at":"2024-02-19T22:28:58.000Z","size":1073,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-08T22:44:06.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halcy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-17T22:28:57.000Z","updated_at":"2024-12-30T13:16:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"a92f451d-bef2-4084-8c1d-9210c93b6aa0","html_url":"https://github.com/halcy/mastodon_mod_tools","commit_stats":{"total_commits":18,"total_committers":3,"mean_commits":6.0,"dds":0.2777777777777778,"last_synced_commit":"60774a61aab9d19beefbdf941cbd7b58acaedae3"},"previous_names":["halcy/mastodon_mod_tools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcy%2Fmastodon_mod_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcy%2Fmastodon_mod_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcy%2Fmastodon_mod_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halcy%2Fmastodon_mod_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halcy","download_url":"https://codeload.github.com/halcy/mastodon_mod_tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160727,"owners_count":21863624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T19:05:13.260Z","updated_at":"2025-05-08T22:44:10.723Z","avatar_url":"https://github.com/halcy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Detect-and-Ban-Zone\nA maybe future set of tools to help with mastodon moderation.\n\nSo far, there is a settings and log web app, an automated report / anti-spam \ntool (Goku - the Guarding Online Kommunications Utility) and a caching instance\ndatabse (Piccolo - the Platform for Instance Cataloging (with Cache Of Last \nOperations)). There now is a rudimentary web UI.\n\nTo get started, create a global_config.json from the example that matches your\ninstallation, then start the app, and visit http://[your app url]/login to authorize\nagainst your instance with an admin user. You can then start the detection runner.\n\nTo update the DB, just change the json files, or drop new images into the appropriate\ndirectories. You can add new fields to match on in the config as you like.\n\nVery very alpha software. Run at own risk. Known limitation currently: CLIP model\nused isn't really good at non-latin charsets for text.\n(this means almost any CJK text will match almost any other CJK text)\n\nThere is support for triggering on the status.created webhook, but it only really\nmakes sense to do that if you patch mastodon to run it for nonlocal statuses.\n\nPlanned:\n* Bulma - the Broad Utility for Logging Moderation Activity, a tool for logging, \n  archiving and autoclosing (if remote already banned the user) reports\n* Possibly tooling to un-limit users that local users follow even if they're on \n  limited instances\n* Possibly tooling to also list media-silence instances because mastodon doesn't\n  anymore (?) and to automatically revise suspend lists (prune dead instances,\n  set auto-expiry for temp \"oh shit they're getting overran by spam\" type silences)\n* Some tool to automatically update detection patterns based on what mods do with\n  reports\n* Maybe an API to get input from trusted other servers?\n* Your idea here. Please tell me things you think would be useful to have.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalcy%2Fmastodon_mod_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalcy%2Fmastodon_mod_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalcy%2Fmastodon_mod_tools/lists"}