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
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
チセ
6f3acc3ba9
Chore: remove unused key-value attribute feature ( #3076 )
...
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com >
2025-12-20 19:38:46 +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
风扇滑翔翼
93bfcfd142
Feat: check regexp before build ( #3064 )
...
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com >
2025-12-16 23:40:25 +08:00
Loyalsoldier
a5f824ce52
Chore: update dependencies ( #2856 )
2025-09-06 09:12:08 +08:00
rp-hello
d9c7ca5536
update domains&tools ( #1821 )
...
* update data/bytedance
* update data/kuaishou
* update ecombdapi.com
* update tools
---------
Co-authored-by: local@localhost <local@localhost>
2023-09-23 16:14:15 +08:00
Loyalsoldier
410d519b0f
Chore: use v2ray v5
2022-03-25 17:23:17 +08:00
kpcyrd
6ccee886e3
Reproducible Builds: Sort protoList before marshal ( #605 )
2021-08-16 09:48:12 +08:00
Loyalsoldier
584886fb9e
Fix: create multiple level path ( #431 )
2021-03-03 18:41:23 +08:00
Loyalsoldier
9d4eca1363
Fix: option description ( #423 )
2021-02-25 14:30:58 +08:00
Loyalsoldier
36f0a37aea
Fix: compatible with Go v1.16 ( #422 )
...
The flag `--insecure` in go get command has been deprecated in Go v1.16
Fixes #421
Fixes #420
2021-02-25 12:35:05 +08:00
wevsty
e640ac2783
Extend the include syntax ( #391 )
2021-02-04 19:45:06 +08:00
Loyalsoldier
c8ac979dbd
Remove gfwlist generation ( #324 )
2020-12-26 16:17:47 +08:00
loyalsoldier
aac127532b
Update dependencies
2020-11-15 13:45:42 +08:00
Loyalsoldier
92439ca317
Refine & exclude rules with @cn attribute ( #236 )
2020-09-29 10:11:49 +08:00
Kslr
9515303ce4
generate gfwlist.txt ( #215 )
...
* generate gfwlist.pac
2020-09-20 16:24:17 +08:00
Loyalsoldier
debbefc4cd
Refine: case insensitive & trim space ( #193 )
2020-09-05 07:08:33 +08:00
Loyalsoldier
a98b29b562
Comply with go regexp & user defined regular expression prefix ( #164 )
...
To avoid further confusion like this: https://github.com/v2fly/domain-list-community/issues/163
2020-08-19 20:44:54 +08:00
Loyalsoldier
4130e0a5b9
Fix: colon exist while no attr at the end of line ( #86 )
2020-07-28 09:37:59 +08:00
loyalsoldier
670629a255
Feat: export lists in plaintext format
2020-07-28 09:13:25 +08:00
loyalsoldier
e67dfbdaa8
Refine: exit with exit code 1
2020-07-27 21:52:56 +08:00
Kslr
98d615815c
Merge pull request #77 from Loyalsoldier/fix-inclusion-name
...
Fix: inclusion file name not capitalized
2020-07-27 19:22:22 +08:00
Loyalsoldier
31595ff3f9
Fix: attribute prefix ( #79 )
2020-07-27 10:53:16 +08:00
loyalsoldier
d9c3c837fb
Fix: inclusion file name not capitalized
2020-07-27 08:40:18 +08:00
loyalsoldier
9339d3f433
Fix: return copylock value
2020-07-21 18:29:15 +08:00
Loyalsoldier
d900ba3a1e
Fix: change source from v2ray to v2fly
2020-07-21 08:06:27 +08:00
loyalsoldier
22ea807fd1
Refine build process
...
- Detect and set $GOPATH explicitly
- Print more explicit errors
- Refine output
- Fail fast
2020-07-17 20:01:08 +08:00
Loyalsoldier
b4c4b4ddf9
Refine datapath flag description
2020-04-29 15:48:24 +08:00
loyalsoldier
1271c8c4e2
Feat: add --datapath flag for custom data folder
2020-04-29 13:46:32 +08:00
loyalsoldier
78a6fa316b
Remove speedtest related code due to #285
2020-04-06 00:46:00 +08:00
Richard Chen
94e0310748
Revert "add UA"
...
This reverts commit 157b7292a3 .
2020-02-09 18:26:35 +08:00
Richard Chen
157b7292a3
add UA
2020-02-09 18:20:07 +08:00
Richard Chen
8e05324f36
generate ookla-speedtest via go
2020-02-09 18:00:25 +08:00
Darien Raymond
2f7cd7aa46
fix reference to protobuf
2019-02-28 11:45:26 +01:00
Darien Raymond
bb11c5afc6
support domain property
2018-12-01 21:06:45 +01:00
Richard Chen
b1f09e11fc
Print error in function main
2018-08-23 17:19:48 +08:00
Richard Chen
200d0a4788
Follow VictoriaRaymond
2018-08-23 16:41:13 +08:00
Richard Chen
cc90b4ea10
Go fmt
2018-08-23 09:33:40 +08:00
Richard Chen
b440b57fbf
err1 -> err
2018-08-23 09:09:44 +08:00
Richard Chen
f52020945d
remove "/"
2018-08-23 09:08:21 +08:00
Richard Chen
394aa8f937
support for more than one GOPATH
2018-08-23 09:05:17 +08:00
Darien Raymond
1dc2cd7e04
support recursive inclusion
2018-08-22 21:34:50 +02:00
Darien Raymond
10beea60bb
support full domain matching
2018-08-21 21:44:20 +02:00
Darien Raymond
133f54e125
add some more domains
2018-08-21 17:20:38 +02:00
Darien Raymond
5861eba87c
add generator
2018-08-21 11:22:10 +02:00