[Privoxy-users] easylist
Steven Smith
steve.t.smith at gmail.com
Mon Jul 31 20:44:47 UTC 2017
> Any chance for a baby steps instruction to add the adblockto privacy
There's a few quick built and setup commands in the README.md file: https://github.com/essandess/adblock2privoxy#quick-buildinstall-example
These will (1) download Haskell stack, (2) build/install the binary, (3) run the command adblock2privoxy, and (4) launch an nginx webserver for the CSS files, and configure and launch privoxy.
Here's a cut-and-paste of an example deployment.
Steps 1 and 2:
curl -sSL https://get.haskellstack.org/ | sh
sudo mkdir -p /usr/local/etc/adblock2privoxy
sudo rsync -a ./adblock2privoxy* /usr/local/etc/adblock2privoxy
sudo cp nginx.conf /usr/local/etc/adblock2privoxy
sudo -E bash -c 'export PATH=/usr/bin:$PATH ; export STACK_ROOT=/usr/local/etc/.stack ; ( cd /usr/local/etc/adblock2privoxy/adblock2privoxy ; stack setup --allow-different-user ; stack install --local-bin-path /usr/local/bin --allow-different-user )'
Step 3:
adblock2privoxy -p /usr/local/etc/adblock2privoxy/privoxy -w /usr/local/etc/adblock2privoxy/css -d 127.0.0.1:8119 \
https://easylist.to/easylist/easyprivacy.txt \
https://easylist.to/easylist/easylist.txt \
https://easylist.to/easylist/fanboy-annoyance.txt \
https://easylist.to/easylist/fanboy-social.txt \
https://easylist-downloads.adblockplus.org/antiadblockfilters.txt \
https://easylist-downloads.adblockplus.org/malwaredomains_full.txt \
https://raw.githubusercontent.com/Dawsey21/Lists/master/adblock-list.txt
Step 4:
Add the privoxy configuration files in /usr/local/etc/adblock2privoxy/privoxy to privoxy/config.
nginx -c /usr/local/etc/adblock2privoxy/nginx.conf -g "daemon off;"
privoxy
More information about the Privoxy-users
mailing list