fod icon indicating copy to clipboard operation
fod copied to clipboard

[broken link][doc] domain list to foxyproxy-patterns.json convertor

Open mra9776 opened this issue 2 years ago • 3 comments

in "foxyproxy-patterns.json" convertor section, link to project "https://github.com/ShahinSorkh/fod" is broken, looks like maintainer removed that repository.

mra9776 avatar Apr 07 '22 07:04 mra9776

converting domains file could be done via following command (gnu sed)

curl -Ls https://github.com/freedomofdevelopers/fod/raw/master/domains | sed 's/\./\\\\./g' | sed  '
{
    s/\(.*\)/\{\"title\": \"undefined\",\"pattern\": \".\*\1\(:\\\\d\*\)\?\$\",\"type\": 2,\"protocols\": 1,\"active\": true\}/
}; 
1s/^/\{\"whitePatterns\": \[/; 
$!s/$/,/; 
$a\], \"blackPatterns\": \[\]\}
' >> foxyproxy_fod_whitelist_patterns.json

mra9776 avatar Apr 07 '22 08:04 mra9776

@ShahinSorkh

behdad222 avatar Jul 17 '22 19:07 behdad222

That's because foxyproxy has changed its schema and I am not using it anymore. So I removed the repo and am not going to maintain it.

You can remove the reference to the mentioned repo already.

ShahinSorkh avatar Aug 29 '22 06:08 ShahinSorkh