Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 存在多个订阅时,增加前缀用于区分不同机场 #3920

Closed
5 of 6 tasks
VMatrices opened this issue Jun 12, 2024 · 2 comments
Closed
5 of 6 tasks
Labels
enhancement New feature or request Stale

Comments

@VMatrices
Copy link
Contributor

VMatrices commented Jun 12, 2024

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Latest 我已经使用最新 Dev 版本查看过,并不包含该功能特性或者还不完善
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 应包含的特性
  • Contributors 我有能力协助 OpenClash 开发或完善此功能特性
  • Meaningless 我提交的是无意义的催促更新或修复请求

Describe the Feature

存在多个订阅时,部分机场的节点命名相似不易区分

Describe Alternatives

参考此处,可以通过subconverter的rename参数实现

@VMatrices VMatrices added the enhancement New feature or request label Jun 12, 2024
@vernlau
Copy link

vernlau commented Jun 14, 2024

meta内核支持覆写节点内容,使用override
写法:
proxy-providers:
P1:
<<: *P
override:
additional-prefix: "P1."
path: "./proxy_provider/P1.yaml"
url: http://10.0.0.2:2000/p1

P2:
<<: *P
override:
additional-prefix: "P2."
path: "./proxy_provider/P2.yaml"
url: http://10.0.0.2:2000/p2
实现效果:
image

Copy link
Contributor

github-actions bot commented Sep 2, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Sep 2, 2024
@github-actions github-actions bot closed this as completed Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale
Projects
None yet
Development

No branches or pull requests

2 participants