freedomofdevelopers / fod

Freedom of Developers
1.79k stars 202 forks source link

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

Open mra9776 opened 2 years ago

mra9776 commented 2 years ago

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

mra9776 commented 2 years ago

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
behdad222 commented 2 years ago

@ShahinSorkh

ShahinSorkh commented 1 year ago

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.