448 B
448 B
mstdn-block
Manage instance blocks on mastodon
Note: currently only import and export commands are supported
Installation
pip install -r requirements.txt
cp block.py path/to/mastodon/root
Usage
If the path to a csv file is not specified, 'blocks.csv' in the current directory will be used.
Import blocklist in csv format
./block.py import [path/to/csv]
Export blocklist in csv format
./block.py export [path/to/csv]