Takes a list of blocked Mastodon domains and generates a simple HTML table for the instance's about page.
Clone or download
Latest commit f090c55 Jan 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Jan 12, 2019
domainblocklist.py Add files via upload Jan 12, 2019

README.md

Mastodon Domain Block List Generator

Creates a simple HTML table for pasting into an instance's about page.

Instructions

Create a source file

Copy and paste the list of blocked domains from the admin into a plain text file. Don't include the headers. (Sorry I didn't figure out a way to automate this part.) You can leave in the "reject media files" and "undo" fields, though. This will filter them out.

Name the file domainblocks.txt (or edit the code accordingly).

Create the HTML:

python3 domainblocklist.py