masto-aio/ansible/roles/fediblockhole/templates/pull.conf.toml

40 lines
1.7 KiB
TOML

blocklist_instance_sources = [
# { domain = 'mastodon.social'},
# { domain = 'union.place'},
]
blocklist_url_sources = [
# some oliphant CSV blocklist files - you only need one "tier" file
{ url = 'https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/_unified_tier0_blocklist.csv', format = 'csv' },
#{ url = 'https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/_unified_tier1_blocklist.csv', format = 'csv' },
#{ url = 'https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/_unified_tier2_blocklist.csv', format = 'csv' },
#{ url = 'https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/_unified_tier3_blocklist.csv', format = 'csv' },
#{ url = 'https://codeberg.org/oliphant/blocklists/raw/branch/main/blocklists/oliphant.social.csv', format = 'csv' },
]
# reference your safelist
allowlist_url_sources = [
{ url = 'file:///etc/fediblockhole/safelist.csv', format = 'csv' },
]
# this file isn't going to push to an instance
no_push_instance = true
# Store a local copy of the remote blocklists after we fetch them
# set to true if you want (optional)
save_intermediate = false
## Directory to store the local blocklist copies
savedir = '/etc/fediblockhole/blocklists'
## File to save the fully merged blocklist into
blocklist_savefile = '/etc/fediblockhole/blocklists/merged_blocklist.csv'
mergeplan = 'max'
# merge must match at least [count|pct] sources
# merge_threshold_type = 'count'
# merge_threshold = 0
import_fields = ['reject_media', 'reject_reports', 'public_comment', 'private_comment', 'obfuscate']
export_fields = ['reject_media', 'reject_reports', 'public_comment', 'private_comment', 'obfuscate']