koonix / clash-rules-iran

Single-file classical Clash and Mihomo rules for routing Iranian domains and IPs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clash rules for Iran

Latest Release Downloads

Single-file classical Clash and Mihomo rules for routing Iranian domains and IPs.

Automatically updated every day.

Download

Format Download link
Yaml https://github.com/koonix/clash-rules-iran/releases/latest/download/rules.yaml
Text https://github.com/koonix/clash-rules-iran/releases/latest/download/rules.txt

Usage

Yaml format

rule-providers:
  iran:
    type: http
    format: yaml
    behavior: classical
    url: https://github.com/koonix/clash-rules-iran/releases/latest/download/rules.yaml
    path: ./ruleset/iran.yaml
    interval: 86400

rules:
  - RULE-SET,iran,DIRECT

Text format

rule-providers:
  iran:
    type: http
    format: text
    behavior: classical
    url: https://github.com/koonix/clash-rules-iran/releases/latest/download/rules.txt
    path: ./ruleset/iran.txt
    interval: 86400

rules:
  - RULE-SET,iran,DIRECT

Note about formats

Clash rules are available in text and yaml formats.

The text format is preferred as it's smaller and faster to process.

The text format is supported in:

  • Mihomo (formerly Clash.Meta) 1.14.4+
  • Clash Premium 1.15.0+

About

Single-file classical Clash and Mihomo rules for routing Iranian domains and IPs.

License:MIT License


Languages

Language:Shell 100.0%