Quantcast
Channel: Stefan Bohacek
Viewing all articles
Browse latest Browse all 71

Mastodon domain block exporter script

$
0
0

A color-tinted screenshot of a command prompt with the output of the script: python script.py mastodon.social true false true downloading domain blocks from mastodon.social... processing... saving to mastodon.social-domain-blocks.csv... done!

Fediverse administrators and moderators have a few tools available that help them manage their servers’ domain blocks:

And as of today, the Blocklist subscription is being considered for addition to Mastodon as per the official roadmap.

Here’s my own addition for folks who might prefer something a bit more simple and straightforward: a Python script that lets you export a trusted instance’s public domain block list and convert it to a CSV file that can be imported from your /admin/export_domain_blocks/new page.

I wrote a little Python script that downloads domain blocks from a specified Mastodon server and saves them as a CSV file that can be imported to your own server. In case this is something you need.

github.com/stefanbohacek/masto

— Stefan Bohacek (@stefan@stefanbohacek.online) 2024-06-27T00:21:31.169Z

Question for /#MastoAdmins, how do you go about managing your domain block lists?

Do you use any tools or shared domain block lists? Do you just follow the FediBlock hashtag and manage them manually?

— Stefan Bohacek (@stefan@stefanbohacek.online) 2024-06-27T13:24:07.970Z

Hope you’ll find this useful! And for those interested in this topic, here’s a few more links to explore:

  • FediMod: moderation tools for the fediverse
  • MastoAnswers: questions and answers for Mastodon admins
  • IFTAS: Nonprofit trust and safety support for volunteer social web content moderators, community managers, administrators and more

Viewing all articles
Browse latest Browse all 71

Trending Articles