First Version
This commit is contained in:
commit
5cdff89cf3
4 changed files with 197 additions and 0 deletions
42
.forgejo/workflows/build.yml
Normal file
42
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,42 @@
|
|||
name: Build the filter🚀
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 4 */2 * *"
|
||||
# push:
|
||||
# branches: ["main"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4.2.2
|
||||
|
||||
- name: Install NodeJS
|
||||
uses: actions/setup-node@v4.4.0
|
||||
with:
|
||||
node-version: 20
|
||||
check-latest: true
|
||||
cache: "npm"
|
||||
|
||||
- name: Install yarn and run hostlist-compiler
|
||||
run: |
|
||||
yarn install --prefer-offline
|
||||
yarn run build
|
||||
env:
|
||||
CI: true
|
||||
|
||||
- name: Push the filter to repo
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: |
|
||||
git config --global user.name "Alex"
|
||||
git config --global user.email "alex@smith.is"
|
||||
sed -i "6s/.*/\! Last modified: $(date -u +'%Y-%m-%dT%H:%M:%S.%3NZ')/" filter-ng.txt
|
||||
cat filter.txt | grep '@'
|
||||
cp filter-ng.txt filter.txt
|
||||
git add filter.txt
|
||||
git commit -m "build: regular filter and dependencies update"
|
||||
git push
|
155
configuration.json
Normal file
155
configuration.json
Normal file
|
@ -0,0 +1,155 @@
|
|||
{
|
||||
"name": "Alex",
|
||||
"description": "Filtered and tuned list for Adguard Home",
|
||||
"homepage": "https://git.oooo.nz/alex/filter-list",
|
||||
"license": "https://git.oooo.nz/alex/filter-list/LICENSE",
|
||||
"version": "0.0.1",
|
||||
"sources": [
|
||||
{
|
||||
"name": "AdGuard DNS filter",
|
||||
"source": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "AdGuard DNS Popup Hosts filter",
|
||||
"source": "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/adguard_popup_filter.txt",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "AdAway Default Blocklist",
|
||||
"source": "https://adaway.org/hosts.txt",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "1Hosts (Pro)",
|
||||
"source": "https://o0.pages.dev/Pro/adblock.txt",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "Peter Lowe's List",
|
||||
"source": "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=adblockplus&showintro=1&mimetype=plaintext",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "Steven Black's ad-hoc list",
|
||||
"source": "https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "Lightswitch05's Ads & Tracking Extended",
|
||||
"source": "https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "NoTracking",
|
||||
"source": "https://raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "NoTrack Tracker Blocklist",
|
||||
"source": "https://gitlab.com/quidsup/notrack-blocklists/-/raw/master/trackers.hosts",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "d3Host List by d3ward",
|
||||
"source": "https://raw.githubusercontent.com/d3ward/toolz/master/src/d3host.adblock",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "Dan Pollock's List",
|
||||
"source": "https://someonewhocares.org/hosts/zero/hosts",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "MVPS HOSTS",
|
||||
"source": "https://winhelp2002.mvps.org/hosts.txt",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "Hello, Goodbye",
|
||||
"source": "https://raw.githubusercontent.com/bcye/Hello-Goodbye/master/pihole.txt",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "add.2o7Net",
|
||||
"source": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "UncheckyAds",
|
||||
"source": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "onlineConsultantBlocker",
|
||||
"source": "https://raw.githubusercontent.com/pafnuty/onlineConsultantBlocker/master/hosts",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "CallbackWidgetsBlocker - Sites Callbacks Blocker",
|
||||
"source": "https://raw.githubusercontent.com/acuna-public/CallbackWidgetsBlocker/master/callbacks.txt",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "The Block List Project - Ads List",
|
||||
"source": "https://blocklistproject.github.io/Lists/ads.txt",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "The Block List Project - Tracking List",
|
||||
"source": "https://blocklistproject.github.io/Lists/tracking.txt",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "hpHosts - Ad and Tracking",
|
||||
"source": "https://raw.githubusercontent.com/p-mng/hosts-file-backup/master/ad_servers.txt",
|
||||
"type": "hosts",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "AdGuard CNAME disguised ads list",
|
||||
"source": "https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/data/combined_disguised_ads.txt",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "AdGuard CNAME disguised trackers list",
|
||||
"source": "https://raw.githubusercontent.com/AdguardTeam/cname-trackers/master/data/combined_disguised_trackers.txt",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "NextDNS CNAME Cloaking Blocklist",
|
||||
"source": "https://raw.githubusercontent.com/nextdns/cname-cloaking-blocklist/master/domains",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
},
|
||||
{
|
||||
"name": "Internal inclusions list",
|
||||
"source": "inclusions.txt",
|
||||
"type": "adblock",
|
||||
"transformations": ["Compress", "RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Validate", "InsertFinalNewLine", "ConvertToAscii"]
|
||||
}
|
||||
],
|
||||
"transformations": ["RemoveComments", "RemoveModifiers", "RemoveEmptyLines", "TrimLines", "Deduplicate", "Compress", "Validate", "InsertFinalNewLine", "ConvertToAscii"],
|
||||
"exclusions_sources": ["exclusions.txt"]
|
||||
}
|
0
exclusions.txt
Normal file
0
exclusions.txt
Normal file
0
inclusions.txt
Normal file
0
inclusions.txt
Normal file
Loading…
Add table
Add a link
Reference in a new issue