Skip to content

Bpazy/acr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

acr

Build Quality Gate Status Go Report Card LICENSE

Introduce

acr helps to add Clash rules and takes effect right away.

Usage

  1. Type urls: acr add https://www.google.com https://www.youtube.com
  2. Then the following contents will be added to the rule-provider's file:
  - DOMAIN-SUFFIX,google.com
  - DOMAIN-SUFFIX,youtube.com
  1. CFW's clash core API will be called to reload rule-provider's file.

Install

You have many options.

Download stable release

Download the latest version from release page. And put it under the $PATH.

Linux example:

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

Or install the latest

Golang version above 1.19

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