Turkish sites are served by ad and tracker networks that global filter lists rarely cover. Turk-AdFilter is a community-maintained blocklist aimed at them: Turkish ad networks, trackers, malware and phishing hosts, and illegal betting sites, in browser and DNS formats.
The lists
| List | What it covers |
|---|---|
| Full | Ads, trackers, malware, phishing and gambling — 6,400+ rules |
| Lite | Everything except gambling |
| Gambling shield | Illegal betting and casino sites only |
| Hosts | The same domains as a hosts file, for DNS blockers |
Sub-lists are generated from the full list, so a domain added once reaches every format. Each release also publishes dnsmasq, Unbound and BIND RPZ files.
Use it
Add the list as a custom filter in uBlock Origin or AdGuard:
https://raw.githubusercontent.com/omerdduran/turk-adfilter/main/turk-adfilter.txt
For Pi-hole, AdGuard DNS, NextDNS or another DNS blocker, use hosts.txt from the same repository. Step-by-step setup for each is on reklamsiz-turkiye.com.
Under the hood
- Python tooling for linting, de-duplication, stats, hosts generation and DNS format generation, with unit tests for each generator.
- CI regenerates the derived lists and release formats on merge.
- Rules in Adblock Plus syntax, with headers and category markers for maintainability.
- A Next.js and Fumadocs site for the documentation.
Contributing
The list is GPL-3.0. New domains go in alphabetical order as ||example.com^, and only Turkey-based providers belong on it; issues and pull requests are open on GitHub.