Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.22 KB

README-zh_CN.md

File metadata and controls

38 lines (30 loc) · 1.22 KB

English | 简体中文

acr

Build Quality Gate Status Go Report Card

acr 意思是添加 Clash 规则。

Install

你有很多种选择:

下载稳定的 Release 版本

从这里下载最新的版本 release page. And put it under the $PATH.

以 Linux 举例:

wget -O /usr/local/bin/acr https://github.com/Bpazy/acr/releases/latest/download/acr-linux-amd64
chmod +x /usr/local/bin/acr

或者使用使用Go来安装

Golang 的版本需要大于等于 1.17

$ go install github.com/Bpazy/acr@latest

使用教程

  1. 输入命令: acr add https://www.google.com https://www.youtube.com
  2. 然后下面的这些内容会被添加到 rule-provider 指向的文件中:
  - DOMAIN-SUFFIX,google.com
  - DOMAIN-SUFFIX,youtube.com
  1. 接着会调用 CFW 的 API 来重载 clash 核心.