Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2096779623/rewrites2hosts
将AdGuardHome的DNS重写规则转换成Hosts格式
https://github.com/2096779623/rewrites2hosts
Last synced: 26 days ago
JSON representation
将AdGuardHome的DNS重写规则转换成Hosts格式
- Host: GitHub
- URL: https://github.com/2096779623/rewrites2hosts
- Owner: 2096779623
- License: mit
- Created: 2024-02-01T05:12:54.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-01T05:14:35.000Z (9 months ago)
- Last Synced: 2024-05-20T21:49:48.088Z (6 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rewrites2hosts
将 AdGuardHome 的 DNS 重写规则转换成 Hosts 格式# 例子
```bash
D:\rewrites2hosts>python main.py ad.yaml
github.com 20.27.177.113
raw.githubusercontent.com raw.fgit.cf
api.github.com 20.205.243.168
gist.github.com 20.205.243.166
raw.github.com raw.fgit.cf
alive.github.com 140.82.112.25
dash.cloudflare.com 104.17.111.184
static.dash.cloudflare.com 104.18.10.29
static.cloudflareinsights.com 104.16.57.101
github.githubassets.com 185.199.108.154
avatars.githubusercontent.com 185.199.109.133
D:\rewrites2hosts>
```