This script can be automatically generate something what you needed every day.
adlist/adlist.txt
adblock/adblock.conf
chnroute/chnroute.txt
chnroute/chnroute-v6.txt
chinalist/chinalist.txt
gfwlist/gfwlist.txt
pac/gfwlist.pac
pac/whitelist.pac
shadowrocket/gfwlist.conf
shadowrocket/whitelist.conf
trackerlist/trackerlist.txt
trackerlist/trackerlist-best.txt
trackerlist/trackerlist-aria2.txt
trackerlist/trackerlist-best-aria2.txt
ublacklist/ublacklist.txt
Note: The pac
list is only designed for SwithcyOmega.
Visit via jsDelivr CDN.
- Put the
scripts
into OpenWrt. - Add the following cron jobs.
# adblock
0 3 * * * /path/to/adblock.sh
# chinadns-ng
1 3 * * * /path/to/chinadns-ng.sh
# chinadns
2 3 * * * /path/to/chinadns.sh
- alexa-static
- apnic
- dnsmasq-china-list
- gfwlist
- trackerslist
- ublacklist
- ip-dedup
- netaggregate
- aggregate
- cidrmerge
Copyright (C) 2018-2021, pexcn <i@pexcn.me>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.