Import Blocklist?

I’m dealing with some harassment at the moment. Is there a simple way to import a csv or json blocklist into the mrf config db? None of methods methods I found seem to work.

unfortunately no, that’s not currently possible - if there’s a standardised format we could make one, but I’m not aware of how people share these things

the quickest way to import would probably be to extract the domain names and copy paste into adminfe

Thanks - that’s kinda what I did, but it’s time consuming and not really great for ongoing management. The most common format is simple csv - which I could pretty easily convert to json, here’s an example:

blocklist/gardenfence-fediblocksync.csv at main · gardenfence/blocklist · GitHub

I was assuming the mrf references were in the db - so it would be easy enough to drop and import entries, but I haven’t quite figured out the relationships yet.

they are indeed in the db, but it’s in an esoteric binary format

I can wire up something in our admin tool though, give me a bit

1 Like

ok! got something for you

see: AkkomaGang/constanze: CLI to tinker around with akkoma - Akkoma Development

should work, download the blocklist, log in with the client and this should do it for you

1 Like

Thanks so much - this looks very hlpful