Comments (4)
Those files are over 20 MB each, and the css directory structure is hundreds of MB. Every update and commit multiplies the size of the repo by that much.
GitHub repos are not a great way of hosting these filter lists.
Iβm open to suggestions, but the simplest thing to do is just build and run adblock2privoxy
locally.
from adblock2privoxy.
use ipfs https://github.com/ipfs/ipfs#readme
from adblock2privoxy.
ipfs still needs a server infrastructure to host files.
The filter files depend on user preferences for the easylist/adblock filters chosen.
This is a repo for software to convert easylist to adblock files, not update them or host select rule sets. That would be a great project for someone to take up, though.
from adblock2privoxy.
I figured out how to do this efficiently using git rebase
. Latest files are in
461f265.
It's also worthwhile to update these example files to reflect the recent parsing fixes in adblock2privoxy
.
Notes for the next time someone asks for updated files:
Delete the commit with the old files
- Find the commit hash to be deleted:
git log --graph --oneline
Itβs 1abcb29.
- Confirm the first hash to be kept:
git log --oneline --reverse --ancestry-path 1abcb291^..master
- Use rebase to delete the commit:
git rebase -i 1abcb291^
- Comment out commit(s) to ignore with
#
at the line beginning. - Sanity check the the local repo has all the latest content by comparing it against the remote.
- Force push to GitHub:
git push origin +master
Add a commit with the updated files
mkdir easylist privoxy css
( cd easylist ; echo "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/ryanbr/fanboy-adblock/master/fanboy-antifacebook.txt \
https://raw.githubusercontent.com/Dawsey21/Lists/master/adblock-list.txt" | xargs -n 1 curl -O )
adblock2privoxy -p ./privoxy -w ./css -d 127.0.0.1:8119 ./easylist/*.txt
git add easylist privoxy css
git commit -am 'Update easylist, privoxy, and css rule files and directories'
git push origin master
I'm going to keep this issue open because these examples will be perennially out of date.
from adblock2privoxy.
Related Issues (20)
- ab2p.common.css causes breakage on some sites HOT 1
- adblock2privoxy segmentation fault HOT 2
- easylist go.*. rule breaks many sites HOT 5
- element hidding whitelists undesired behaviour HOT 1
- empty rules HOT 2
- disregarding information following $ HOT 2
- translated records get dot in front which has adverse effects HOT 3
- TODO: remove matched element conversion HOT 1
- adblock2privoxy compilation fail with GHC 8.4.3 HOT 12
- META: work plan for cureent issues HOT 1
- New feature: duplicate detection HOT 1
- unintended escape characters for [ and ] HOT 3
- Dead Download links. HOT 2
- Filters are not taken effect HOT 4
- Ad2p run breaks with "Illegal instruction" HOT 3
- The site https://projects.zubr.me/wiki/adblock2privoxyDownloads does not open HOT 1
- rsync: link_stat "/root/adblock2privoxy*" failed: No such file or directory (2) HOT 5
- Missing client-header tagger 'ab2p-elemhide-check-debug' HOT 2
- Installation: stack command fails with "specified targets matched no packages"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adblock2privoxy.