{"id":15282630,"url":"https://github.com/bpazy/acr","last_synced_at":"2025-05-07T04:12:30.486Z","repository":{"id":44797764,"uuid":"447901186","full_name":"Bpazy/acr","owner":"Bpazy","description":"Add clash rule quickly","archived":false,"fork":false,"pushed_at":"2024-05-19T12:51:30.000Z","size":76,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T04:12:25.212Z","etag":null,"topics":["clash","golang","rule"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bpazy.png","metadata":{"files":{"readme":"README-zh_CN.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":"Bpazy/acr","otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-01-14T08:53:22.000Z","updated_at":"2024-11-26T02:39:58.000Z","dependencies_parsed_at":"2024-05-19T13:50:04.525Z","dependency_job_id":"6beb9860-cad9-4499-a986-db3473ce6983","html_url":"https://github.com/Bpazy/acr","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bpazy%2Facr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bpazy%2Facr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bpazy%2Facr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bpazy%2Facr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bpazy","download_url":"https://codeload.github.com/Bpazy/acr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252810274,"owners_count":21807759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clash","golang","rule"],"created_at":"2024-09-30T14:32:05.251Z","updated_at":"2025-05-07T04:12:30.463Z","avatar_url":"https://github.com/Bpazy.png","language":"Go","funding_links":["https://issuehunt.io/r/Bpazy/acr"],"categories":[],"sub_categories":[],"readme":"[English](./README.md) | 简体中文\n# acr\n\n![Build](https://github.com/Bpazy/acr/workflows/Build/badge.svg)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Bpazy_acr\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=Bpazy_acr)\n[![Go Report Card](https://goreportcard.com/badge/github.com/Bpazy/acr)](https://goreportcard.com/report/github.com/Bpazy/acr)\n![LICENSE](https://img.shields.io/github/license/Bpazy/acr)\n\n## 介绍\n`acr` 的作用是添加 Clash 规则，并使该规则立刻生效。\n\n## 使用教程\n1. 输入命令: `acr add https://www.google.com https://www.youtube.com`\n2. 然后下面的这些内容会被添加到 rule-provider 指向的文件中:\n```\n  - DOMAIN-SUFFIX,google.com\n  - DOMAIN-SUFFIX,youtube.com\n```\n3. 接着会调用 CFW 内置的 clash 核心的 API 重载，使上面的规则生效。\n\n## 安装\n你有很多种选择：\n\n### 下载稳定的 Release 版本\n从这里下载最新的版本 [release page](https://github.com/Bpazy/acr/releases). And put it under the `$PATH`.\n\n以 Linux 举例:\n```shell\nwget -O /usr/local/bin/acr https://github.com/Bpazy/acr/releases/latest/download/acr-linux-amd64\nchmod +x /usr/local/bin/acr\n```\n\n### 或者使用Go来安装\nGolang 的版本需要大于等于 1.19\n```shell\n$ go install github.com/Bpazy/acr@latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpazy%2Facr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpazy%2Facr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpazy%2Facr/lists"}