Skip to content

Convert hosts to rules file for mihomo

License

Notifications You must be signed in to change notification settings

ckrvxr/hosts4mihomo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hosts4mihomo

This project retrieves the hosts file from the source at 6 AM in Beijing time every day to convert to the binary rule file for mihomo (mrs,yaml).

Example:

Typically, only one needs to be selected. StevenBlack is used here.

rule-providers:
  stevenblack:
    type: http
    behavior: domain
    format: mrs
    interval: 43200
    url: "https://testingcf.jsdelivr.net/gh/ckrvxr/hosts4mihomo@main/rules/StevenBlack.mrs"
rules:
  - 'RULE-SET,stevenblack,REJECT'

CDN Links:

(testingcf.jsdelivr.net) (目前中国大陆地区可直连)