Commit Graph
100 Commits
Author SHA1 Message Date
MkQtS 947556aa16 Improve codes (#3242)
* main.go: improve code

* main.go: move refMap from global variable to local

* main.go: allow tld to be a parent domain

* datdump: improve code
2026-02-03 22:38:18 +08:00
Emik 3399285ea9 add pjsekai.sega.jp to projectsekai (#3236) 2026-02-01 21:35:51 +08:00
MkQtS 56e0b47c73 Clean up ad lists (#3231)
* category-ads-all: include adjust

* category-ads-all: include clearbit

* category-ads-all: include ogury

* category-ads-all: include openx

* category-ads-all: include pubmatic

and remove pubmatic-ads

* category-ads-all: include segment

* category-ads-all: include supersonic

* geolocation-cn: remove the inclusion of umeng

it's included in alibaba

* add unitychina

* remove unity-ads

use unity@ads or unitychina@ads instead
2026-01-30 12:10:37 +08:00
MkQtS 6c91898557 Cleanup ad lists (#3227)
Merge ad lists containing too few rules.

merged/removed lists:

adcolony-ads applovin-ads atom-data-ads emogi-ads flurry-ads
growingio-ads hiido-ads hotjar-ads inner-active-ads mopub-ads
mxplayer-ads newrelic-ads pocoiq-ads tagtic-ads tappx-ads uberads-ads
2026-01-28 17:43:54 +08:00
MkQtS 91da593233 apple: add aod-ssl.itunes.apple.com with cn attr (#3226) 2026-01-28 16:51:48 +08:00
TripleA 9f1c6b6922 Add Bohemia Interactive and Battleye domains (#3223) 2026-01-28 16:41:32 +08:00
MkQtS b3bae7de8f Update category-ads (#3222)
* remove ads attr from openaicom.imgix.net

imgix.net is serving for pictures, not ads/tracking

* category-ads: include more ad domains
2026-01-28 13:07:34 +08:00
xiyao 3c0a538219 samsung: add ospserver.net (#3219)
Samsung OneUI update server
2026-01-27 16:52:46 +08:00
MkQtS 2160230ef9 terabox: add more domains (#3218) 2026-01-27 15:24:47 +08:00
MkQtSanddatabase64128 5c38f34456 Add cmd/datdump/main.go (#3213)
* Feat: add a new datdump tool

* Refactor: address code review comments

* Refactor: remove export all from main program

use datdump instead

* Refactor: allow spaces in exportlists

e.g. `--exportlists="lista, listb"`

* all: cleanup

* apply review suggestion

---------

Co-authored-by: database64128 <[email protected]>
2026-01-24 23:11:35 +08:00
Zeehan2005 8e62b9b541 Enhance README with additional attribute @cn details (#3212)
Expanded the explanation of attributes in the README to include domains available in China mainland.

[skip ci]
2026-01-24 16:05:37 +08:00
MkQtS 1bd07b2e76 Support to export all lists to a plain yml (#3211)
* Refactor: improve deduplicate

* Feat: support to export all lists to a plain yml

use: `--exportlists=_all_`

* Docs: add links for dlc plain yml

[skip ci]
2026-01-23 14:56:35 +08:00
MkQtS 676832d14a Improve value checkers and docs (#3208)
* Refactor: improve value checkers

* Docs: small improvements

[skip ci]
2026-01-22 18:46:53 +08:00
MkQtS a2f08a142c Docs: update for selective inclusion and affiliations (#3207)
[skip ci]
2026-01-22 14:30:10 +08:00
MkQtS 2359ad7f8e Add eneba (#3205) 2026-01-22 11:40:44 +08:00
MkQtS 330592feff xiaohongshu: add rednotecdn.com (#3204) 2026-01-22 11:30:18 +08:00
MkQtS 912c689da3 Cast out !cn rules from cn lists (#3198)
* Cast out !cn rules from cn lists

* Docs: add notice about !cn rules in cn lists
2026-01-20 21:36:27 +08:00
Luo Chen d1addde6f7 xiaomi: add xiaomi-iot domains (#3097)
- Add account.xiaomi.com for OAuth2 authentication
- Add ha.api.io.mi.com for HTTP API
- Add miot-spec.org for MIoT specification API
- Add cn-ha.mqtt.io.mi.com for MQTT broker
2026-01-20 21:06:11 +08:00
MkQtS ec95fedc45 Refactor main.go (#3119)
* Refactor: reduce the use of strings.TrimSpace

* Refactor: use string attr before toProto

* Refactor parseEntry

- add value/attribute checker(check missing space)
- allow multiple spaces
- sort attributes
- improve readablity

* Refactor exportPlainTextList

- remove unnecessary variable
- improve readablity

* Remove support for partial include

This reverts e640ac2783

It is problematic and I will implement a new one

* Refactor: promote refMap

* Feat: add support for partial include

- refactor inclusion logic
- add basic deduplicate

* Refactor exporting plaintext list

* Feat: add support for affiliation

A domain rule is always added to the list corresponding to the filename
it resides in. Additionally, you can now add affiliations to a domain
rule, and the rule will be added to the list specified by the
affiliation. Each affiliation begins with `&` and followed by the name
of the affiliation.

This helps us to reduce the number of data files without compromising
functionality, and avoid writing a same rule in different files.

* Feat: add advanced deduplicate for subdomains

only for domain/full subdomains without attr

* Refactor: import and use slices

* Refactor: improve code
2026-01-20 20:58:32 +08:00
MkQtS d50e2e1ad7 Update some cn rules (#3197)
* turn some full type rules into domain

* remove some unnecessary cn attrs
2026-01-20 15:33:15 +08:00
MkQtS ab42940731 Update sensorsdata (#3196) 2026-01-20 14:33:58 +08:00
Cavano efd57f30ee Add youmind (#3195) 2026-01-20 14:22:00 +08:00
xiyao 3ee190ac78 Add liveperson and standardchartered (#3192)
* Add liveperson

* Add standardchartered
2026-01-20 11:21:13 +08:00
Aethersailor fa279bdd79 category-emby: add server2.cn2gias.uk (#3194) 2026-01-20 11:04:34 +08:00
MkQtS 5411cefcaa Add more !cn domains (#3191)
* geolocation-!cn: reorder

* geolocation-!cn: add more CMP domains

* geolocation-!cn: add cataboom.com
2026-01-19 13:46:32 +08:00
Loyalsoldier 49444d78b7 Update epochmediagroup (#3185) 2026-01-17 01:42:22 +08:00
someguyfromnowhere1 dad8e15cd0 Update xvideos (#3180)
Added several domains related to the site. These domains are only used when changing the language to Russian, Arabic, or Indian.
2026-01-15 13:13:39 +08:00
EndlessEnding 8c0b190c3f Add 報導者 to category-media (#3179) 2026-01-14 17:53:11 +08:00
MkQtS 9f846c0f2e Add more cn domains (#3178)
* chinamobile: add cmft.com.cn

* category-entertainment-cn: add pipi.cn

* category-social-media-cn: add zsxq.com

* geolocation-cn: add more domains
2026-01-14 12:58:33 +08:00
MkQtS fe01057830 Update category-entertainment (#3177)
* add steaminventoryhelper

* category-entertainment: include category-acg
2026-01-14 12:33:35 +08:00
MkQtS 8f1fe6b425 google-deepmind: add antigravity domains (#3173) 2026-01-13 14:08:15 +08:00
MkQtS 82ad580e6e google-deepmind: add more notebooklm domains (#3172) 2026-01-13 13:36:43 +08:00
MkQtS 488ee0334e cloudflare: add more domains (#3169)
encryptedsni.com
from https://blog.cloudflare.com/encrypt-that-sni-firefox-edition/

cloudflarechallenge.com
from https://blog.cloudflare.com/introducing-cryptographic-attestation-of-personhood/

cloudflareresearch.com
from https://blog.cloudflare.com/experiment-with-pq/

browser.run
cfdata.org
cloudflarebrowser.com
cloudflarecp.com
from https://developers.cloudflare.com/cloudflare-one/traffic-policies/global-policies/

cloudflare-terms-of-service-abuse.com
cloudflare.dev
cloudflaresupport.com
cloudflareworkers.com
from public information
2026-01-12 13:32:25 +08:00
MkQtS cc8a866863 Add more cn domains (#3163)
* chinamobile: add more domains

* chinaunicom: add wosms.cn

* zhangtao: add more domains

* category-media-cn: add more domains
2026-01-10 22:30:40 +08:00
xizi 67389b37cc Add schoopia (#3156)
Add domains for 翻转校园
2026-01-09 09:54:32 +08:00
TripleA 39431a9e8f google-deepmind: add missing subdomain for Google AI Labs (#3157) 2026-01-09 09:47:54 +08:00
xizi b8fc0cd9d7 feat(jiguang): add missing domain easytomessage.com (#3155)
Add missing domain for Jiguang (JPush) service.

According to the official Jiguang documentation, `easytomessage.com` is a required domain for the push service to function correctly on network-restricted environments.

Reference:
https://community.jiguang.cn/article/408970
2026-01-09 09:46:36 +08:00
bafometik 9f59a5e666 category-ru: add more domains (#3144) 2026-01-08 23:07:32 +08:00
MkQtS 6833d994c0 category-dev: add more domains 2026-01-08 13:59:24 +08:00
MkQtS b150c66d47 category-password-management: add authpass.app 2026-01-08 13:59:24 +08:00
MkQtS 248c0f7b86 geolocation: add more domains 2026-01-08 13:59:24 +08:00
un1ntend3d de2c5cf208 category-cryptocurrency: add bingx.com (#3140) 2026-01-08 12:27:24 +08:00
MkQtS 44d511e74e Add technogym (#3152) 2026-01-08 12:18:11 +08:00
TripleA 5928f612ba Update category-public-tracker (#3151)
Strict comparison by www removed
2026-01-08 11:59:21 +08:00
xizi 49101e3aab taptap: add tapapks.com (#3147)
Add missing download domain.
2026-01-08 11:21:25 +08:00
bafometik d2c662bf5e mailru-group: add tamtam.chat (#3145) 2026-01-07 15:13:39 +08:00
MkQtS 7a6e4cb1f5 Update apple (#3138)
* apple: deduplicate

- swift is included in apple-dev
- `full:certs.apple.com @cn` is added in apple-pki
- `full:crl.apple.com @cn` is added in apple-pki
- `full:ocsp-lb.apple.com.akadns.net @cn` is added in apple-pki
- `full:ocsp.apple.com @cn` is added in apple-pki
- `full:ocsp2-lb.apple.com.akadns.net @cn` is added in apple-pki
- `full:ocsp2.apple.com @cn` is added in apple-pki
- `full:valid.apple.com @cn` is added in apple-pki

* apple: move `valid.origin-apple.com.akadns.net` to apple-pki

keep consistent with valid.apple.com
2026-01-06 16:07:03 +08:00
MkQtS 511577436c category-collaborate-cn: add todesk.cn (#3139) 2026-01-06 15:51:06 +08:00
MkQtS 8a2718204b google: deduplicate (#3137)
- `full:safebrowsing-cache.google.com @cn` appears twice
- `full:crl.pki.goog @cn` is added in google-trust-services
- `full:firebase-settings.crashlytics.com @cn` is added in firebase
- `full:ocsp.pki.goog @cn` is added in google-trust-services
- `full:pki-goog.l.google.com @cn` is added in google-trust-services
- `full:redirector.c.play.google.com @cn` is added in google-play
2026-01-06 14:08:09 +08:00
MkQtS 6e450bf817 rutracker: fix typo domain (#3133)
link to #2510 #3118
2026-01-05 16:38:19 +08:00
MkQtS aa99dcb556 category-social-media-!cn: add truthsocial.com (#3128) 2026-01-02 19:17:20 +08:00
Carlos Quin 80dbc1afc0 category-game-platforms-download: add dl.playstation.net (#3125) 2026-01-01 22:45:19 +08:00
bafometik fd4895c71e Update google-ads (#3115) 2025-12-31 11:59:52 +08:00
MkQtS 75f8ac0b8a chinaunicom: add 10155.com (#3113) 2025-12-29 20:58:28 +08:00
TripleA 4b1cef4329 connectivity-check: add connectivity-check.ubuntu.com (#3108)
and sort
2025-12-27 21:57:59 +08:00
MkQtS 234cc35db2 Add more cn domains (#3107)
* cctv: add more domains

* chinamobile: add more domains

* add hikvision

* category-education-cn: add more domains

* category-entertainment-cn: add aisee.tv

* category-media-cn: add more domains

* geolocation-cn: add more domains
2025-12-26 20:06:02 +08:00
a052 9b1f374455 futu: add @cn attribute for some domains (#3105)
and add futuhkapp.com
2025-12-23 18:32:15 +08:00
MkQtS e526975cd9 Add more !cn domains (#3104)
* category-dev: merge webflow

* category-dev: add more domains

* geolocation-!cn: add more domains

translator/dictionary
2025-12-23 15:16:30 +08:00
MkQtS f7aba5f55e Add more cn domains (#3103)
* category-education-cn: add gk100.com

* category-media-cn: add more domains

* geolocation-cn: add jsdmirror.com
2025-12-23 14:39:29 +08:00
bafometik edffb486d1 tiktok: add more domains (#3102) 2025-12-23 14:39:15 +08:00
hzhex 9f6800b6b2 Remove 'habr' from category-ru (#3087)
Removed 'include:habr' from the category-ru file.

Reasons:

1) habr.com isn't affiliated with Russia directly (even though the habr.com IS hosted in Russia, it's cdn domain - habrastorage.org is hosted in Estonia)
2) the site itself contains a lot of geoblocked articles which can't be accessed without a foreign proxy - so it being in category-ru can lead to routing mishaps in cases such as routing category-ru sites to DIRECT on the client
2025-12-20 20:18:34 +08:00
LoyalsoldierandCopilot d014f46c20 Fix: limit workflow concurrency to avoid potential overlap releases (#3088)
Co-authored-by: Copilot <[email protected]>
2025-12-20 20:14:05 +08:00
チセandLoyalsoldier 6f3acc3ba9 Chore: remove unused key-value attribute feature (#3076)
Co-authored-by: Loyalsoldier <[email protected]>
2025-12-20 19:38:46 +08:00
MkQtS 24c2f80f91 add deezer (#3085) 2025-12-20 18:51:41 +08:00
1054009064 c9cdb42bf0 update xiaohongshu (#3084) 2025-12-20 18:35:44 +08:00
NNdroid c8cd35ba7d Update litv (#3080) 2025-12-19 22:01:51 +08:00
yArna fc2dd61aef Add moonvy (#3075) 2025-12-18 18:23:42 +08:00
MkQtS 0e606f9cd5 aws: sort
[skip ci]
2025-12-18 14:32:34 +08:00
Whalko f2bef41767 google-deepmind: add Google Opal (#3072) 2025-12-18 14:27:42 +08:00
MkQtS 3747b46453 xiaomi: add more domains (#3071)
* Add xiaomi-ai

* category-dev-cn: add openvela.com
2025-12-17 12:35:10 +08:00
rootmelo92118 8cd2762ca2 Update thescoregroup (#3054) 2025-12-17 01:35:23 +08:00
Loyalsoldier 2a6d6fb120 Docs: fix lint and link (#3069) 2025-12-17 01:20:21 +08:00
Loyalsoldier a4da81130d Chore: update dependencies (#3068) 2025-12-17 01:05:10 +08:00
Loyalsoldier 4d45b17cd8 Chore: refine code (#3067) 2025-12-17 00:45:09 +08:00
Loyalsoldier d8bd29ce92 Fix: incorrect lowercase for regexp rules (#3066) 2025-12-17 00:17:43 +08:00
Loyalsoldier 72eb885658 Refine: extract rule type (#3065) 2025-12-17 00:10:33 +08:00
Luo Chen 7e3137a0d1 Fix #3055 (#3056) 2025-12-16 09:54:53 +08:00
Jiew-KueJwiaengandrootmelo92118 6a11042b92 Update 18comic & picacg (#2695)
* Update 18comic

* Update picacg

* Update 18comic

---------

Co-authored-by: rootmelo92118 <[email protected]>
2025-12-15 22:38:15 +08:00
Aethersailor b53e38de3f Update category-game-platforms-download (#3042) 2025-12-12 14:21:19 +08:00
MkQtS 3253563d96 Add duck.ai (#3043)
* duckduckgo: add duck.ai

* category-ai-!cn: add duck.ai
2025-12-12 11:52:53 +08:00
xchacha20-poly1305 dd57604969 netease: add yunxinfw.com (#3041) 2025-12-11 23:24:15 +08:00
yueisme fcac0353c1 category-games-!cn: add nexus-cdn.com (#3036)
nexusmods cdn
2025-12-11 17:22:39 +08:00
MkQtS 128f37d4d3 Add more cn domains (#3035)
* category-electronic-cn: add cxmt.com

* category-entertainment-cn: add baofeng domains

* category-media-cn: add more domains

* geolocation-cn: reorder and add chuangcache.com
2025-12-11 14:38:38 +08:00
MkQtS 92a9ec71ff Add more cn domains (#3026)
* bytedance: add more domains

* geolocation-cn: reorder
2025-12-09 14:33:43 +08:00
MkQtS 0a03682f8d category-entertainment: add qobuz.com (#3025) 2025-12-09 12:51:35 +08:00
MkQtS d694dfd5d8 Add more cn domains (#3024)
* update hanyi

add hanyi.com, merge hellofont

* update qihoo360

add baomitu.com, remove dead 75team

* geolocation-cn: reorder and add more domains
2025-12-09 12:48:15 +08:00
MkQtS 32aea41fc6 category-media-cn: add more domains (#3021) 2025-12-07 18:54:15 +08:00
xchacha20-poly1305 86b6b60528 tencent-games: add gcloudsvcs.com (#3020) 2025-12-07 18:26:48 +08:00
xchacha20-poly1305 e1e634f076 category-game-accelerator-cn: add xunyou.mobi (#3019) 2025-12-07 18:24:45 +08:00
MkQtS 988584b171 Reorder and add more cn domains (#3016)
* category-media-cn: reorder

* category-media-cn: add more domains

* category-game-accelerator-cn: add leigod.cn

* category-education-cn: reorder

* category-education-cn: add more domains

* geolocation-cn: reorder

* geolocation-cn: add more dangbei domains
2025-12-06 15:55:42 +08:00
MkQtS 0e11017711 Clean up (#3015)
* tld-cn: add more cn TLDs

* mastercard: remove redundant priceless.com

it appears twice

* thescoregroup: remove redundant juliamiles.com

it appears twice

* visa: remove redundant visainfinite.ca

it appears twice

* update category-porn

to lowercase, include pornhub, dedup, sort

* clean up white spaces
2025-12-06 11:55:49 +08:00
allkeltysss d7eafd14fc Add Faceit (#3014) 2025-12-06 11:14:52 +08:00
TripleA 63ebdc7211 Add embark (#3013) 2025-12-06 09:51:47 +08:00
zyzh0 bd722c9fcd Add zotero (#3012) 2025-12-05 16:19:40 +08:00
TripleA f8ff228423 category-public-tracker: add more trackers (#3010)
Added multiple new public tracker entries to the list.
2025-12-04 14:25:51 +08:00
Meow f46140093d Add category-doh (#2886)
DNS-over-HTTPS. Sometimes, for certain purposes, you might want to block them
2025-12-04 14:18:24 +08:00
Meow c1233f33a2 geolocation-cn: re-include category-httpdns-cn (#2888)
Partially revert f73a216810

More china apps use it to resolve domain names.

If it does not belong to cn, it will cause these apps to resolve to non-Chinese IPs!
2025-12-04 14:04:47 +08:00
MkQtS 7d1561e1d4 Add more cn domains (#3009)
* baidu: add dxmjinr.com

* yuewen: add more domains

* category-entertainment-cn: add more domains

* geolocation-cn: add more domains
2025-12-03 21:07:38 +08:00
TripleA 563d554ee9 Update roblox (#3008) 2025-12-03 19:51:46 +08:00
Pavel-Boyazov 85942c8af4 Add mailru-group and update subsidiaries (#3005)
* update ok

* add dzen

* add mailru-group
2025-12-03 17:26:27 +08:00