├── .github └── workflows │ └── merge-files.yml ├── LICENSE ├── README.md ├── add.txt └── merge.sh /.github/workflows/merge-files.yml: -------------------------------------------------------------------------------- 1 | name: Merge Files Workflow 2 | on: 3 | push: 4 | paths: 5 | - 'add.txt' 6 | workflow_dispatch: 7 | 8 | jobs: 9 | update: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v3 13 | 14 | - name: Update Rules 15 | continue-on-error: true 16 | run: | 17 | bash ./merge.sh 18 | 19 | - name: Git push assets to Github 20 | run: | 21 | git init 22 | git config --local user.email "lkjpoikk@163.com" 23 | git config --local user.name "guanmengkai" 24 | git branch -m main 25 | git add --all 26 | git commit -m "Updated at $(TZ=UTC-8 date +'%Y-%m-%d %H:%M:%S')(北京时间)" 27 | git push -u origin -f 28 | 29 | - name: Delete workflow runs 30 | uses: Mattraks/delete-workflow-runs@main 31 | with: 32 | token: ${{ secrets.GITHUB_TOKEN }} 33 | repository: ${{ github.repository }} 34 | retain_days: 0 35 | keep_minimum_runs: 0 36 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 guandasheng 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
TheBestAdrules,适用于Adguard Home的去广告dns规则,由关圣整理上游优秀的规则,合并去重而来,集百家之所长,取其精华去其糟粕。 关圣DNS官网https://dns.dns1.top 官方微信群及QQ群见官网公布。 4 | 关圣DNS,一个人人可加入的公益去广告dns团队,目前拥有7条公益dns节点。 捐赠,或者提供服务器均可加入“关圣爱发电”团队。 由于目前网络上发布的规则众多,逐个添加难免有重复的,而且不方便维护,因此创建此仓库,方便关圣云更新dns规则,也可以方便其他自建dns的小伙伴一键导入。 5 |
6 | 7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |