adblock2privoxy (www/adblock2privoxy) Updated: 5 months, 1 week ago Add to my watchlist

Convert adblock config files to privoxy format

Convert adblock config files to privoxy format. AdBlock Plus browser plugin has great block list files provided by big community, but it is client software and cannot work on a server as proxy. Privoxy proxy has good potential to block ads at server side, but it experiences acute shortage of updated block lists. This software converts adblock lists to privoxy config files format. Almost all adblock features are supported including block/unblock requests (on privoxy) all syntax features are supported except for regex templates matching host name hide/unhide page elements (via CSS) all syntax features are supported all block request options except for outdated ones: Supported: script, image, stylesheet, object, xmlhttprequest, object-subrequest, subdocument, document, elemhide, other, popup, third-party, domain=..., match-case, donottrack.

Version: 2.0.2 License: GPL-3 GitHub
Maintainers essandess
Categories www haskell
Platforms macosx
  • initialize_always (Always initialize all configuration files. Intended for development and troubleshooting only. Working deployments must disable this variant to prevent configuration files being overwritten at the next upgrade. Existing configuration files are not overwritten by default.)
  • universal (Build for multiple architectures)

"adblock2privoxy" depends on

run (3)
build (2)

Ports that depend on "adblock2privoxy"

Port notes

After initial installation, it is necessary to kickstart this launch daemon, which does not run at load:

sudo launchctl kickstart -k system/org.macports.adblock2privoxy

The blocklist URLs are specified in the file

Example production run:

adblock2privoxy -p ${prefix}/etc/adblock2privoxy/privoxy -w ${prefix}/etc/adblock2privoxy/css -d \
$(< ${prefix}/etc/adblock2privoxy/adblock2privoxy_blocklist.txt)

Update run:

adblock2privoxy -t ${prefix}/etc/adblock2privoxy/privoxy/ab2p.task Startup items (named 'adblock2privoxy-nginx, adblock2privoxy') have been generated that will aid in starting adblock2privoxy with launchd. They are disabled by default. Execute the following command to start them, and to cause them to launch at startup:

sudo port load adblock2privoxy

Port Health:

- No history in app's database

Installations (30 days)


Requested Installations (30 days)