Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2318 commits
Select commit Hold shift + click to select a range
200707f
chore: delete old geosite database before installed restoring
vernesong Dec 4, 2024
4adeb27
chore: update lhie1 rule
vernesong Dec 6, 2024
9764e5b
0.46.058
vernesong Dec 6, 2024
eb716c1
chore: refine apk upgrade codes
vernesong Dec 7, 2024
0fff497
0.46.059
vernesong Dec 7, 2024
28de0ad
#4214
vernesong Dec 8, 2024
d49f3b3
chore: refine
vernesong Dec 8, 2024
d30d285
luci-app-openclash: Optimized acquire `dnsmasq` configuration file pa…
zxlhhyccc Dec 8, 2024
72847cc
chore: refine
vernesong Dec 8, 2024
bbbcde4
luci-app-openclash: Fix `$` sign not escaping correctly. (#4217)
zxlhhyccc Dec 9, 2024
4379563
Update openclash.lua (#4224)
why654123 Dec 12, 2024
3b2567e
Enhance nft firewall rules; add support for IPv6 suffix matching (#4219)
jelly21fish Dec 12, 2024
5683095
chore: update metacubexd v1.173.3 (#4218)
xuanranran Dec 12, 2024
1f33400
chore: refine traffic ac
vernesong Dec 15, 2024
956b2ec
0.46.060
vernesong Dec 15, 2024
175eca8
0.46.061
vernesong Dec 18, 2024
f2b4e82
chore: refine
vernesong Dec 24, 2024
1d2cac5
chore: refine
vernesong Dec 26, 2024
5a73c08
0.46.062
vernesong Dec 26, 2024
8af662b
0.46.063
vernesong Dec 26, 2024
f4e58fe
#4257
vernesong Dec 30, 2024
dcb127c
chore: refine
vernesong Dec 31, 2024
d36e0eb
chore: update metacubexd v1.176.0 (#4253)
xuanranran Dec 31, 2024
cfbf957
0.46.064
vernesong Dec 31, 2024
c86951a
Merge branch 'dev' of https://github.com/vernesong/OpenClash into dev
vernesong Dec 31, 2024
802a869
chore: darkmode style
vernesong Jan 2, 2025
f4c7670
chore: refine
vernesong Jan 4, 2025
21d0be6
#4270
vernesong Jan 5, 2025
66768ad
chore: add single config update btn
vernesong Jan 6, 2025
29bf0b8
chore: refine
vernesong Jan 6, 2025
0ed67d6
chore: hide update button if not subscribe info
vernesong Jan 7, 2025
a0b1454
0.46.065
vernesong Jan 7, 2025
9d697ab
chore: inline type
vernesong Jan 7, 2025
81edfa0
#4281
vernesong Jan 12, 2025
3c80969
chore: refine
vernesong Jan 12, 2025
9019aff
feat: Add Zashboard (#4276)
xuanranran Jan 12, 2025
18aad1e
0.46.066
vernesong Jan 12, 2025
95c4b6d
#4286
vernesong Jan 14, 2025
b7869db
chore: tcp dns hijack
vernesong Jan 18, 2025
f5bc414
chore: dark mode for log
vernesong Jan 18, 2025
87df91e
chore: refine
vernesong Jan 21, 2025
2207fb7
fix typo
vernesong Jan 24, 2025
c3d85e3
chore: refine
vernesong Jan 24, 2025
7496422
chore: mieru
vernesong Jan 24, 2025
d7a59be
chore: refine
vernesong Jan 24, 2025
844fc32
0.46.067
vernesong Jan 24, 2025
c173c54
fix typo
vernesong Jan 25, 2025
121f6b5
chore: refine firewall
vernesong Jan 26, 2025
d88a7b4
0.46.068
vernesong Jan 26, 2025
f4e2135
chore: refine Chnroute format
vernesong Jan 26, 2025
5196d4b
chore: remove coreutils coreutils-nohup libcap libcap-bin depends
vernesong Jan 28, 2025
be698a1
fix error
vernesong Jan 28, 2025
8bbc83d
chore: refine
vernesong Feb 2, 2025
d5b2167
0.46.069
vernesong Feb 2, 2025
3056771
chore: ca-bundle
vernesong Feb 3, 2025
63c9ab2
0.46.070
vernesong Feb 3, 2025
c2c17a7
chore: refine
vernesong Feb 3, 2025
c032dde
#4311
vernesong Feb 6, 2025
427cdeb
0.46.071
vernesong Feb 6, 2025
37cb765
chore: refine
vernesong Feb 6, 2025
36fe22b
Add receive window config for hy2 (#4316)
zxlhhyccc Feb 6, 2025
cb60a18
chore: check the custom rules group before added
vernesong Feb 8, 2025
4766b36
chore: refine
vernesong Feb 9, 2025
63fd811
fix typo
vernesong Feb 9, 2025
6fa9277
0.46.072
vernesong Feb 9, 2025
d8accb5
fix typo
vernesong Feb 9, 2025
21c1423
fix watchdog restart bug
vernesong Feb 10, 2025
c359be2
chore: fix bug
vernesong Feb 11, 2025
c00f124
0.46.073
vernesong Feb 11, 2025
ec81125
#4321
vernesong Feb 11, 2025
9b25f50
0.46.074
vernesong Feb 11, 2025
ab74bb6
workflow: go version 1.24
vernesong Feb 13, 2025
fef525e
workflow: update clear_cache
vernesong Feb 13, 2025
c45feef
fix typo
vernesong Feb 13, 2025
2e455a5
workflow: clear_cache
vernesong Feb 13, 2025
2dae30f
chore: refine
vernesong Feb 13, 2025
582e294
0.46.075
vernesong Feb 15, 2025
fe8dd5a
chore: refine
vernesong Feb 16, 2025
3feb659
fix typo
vernesong Feb 17, 2025
ebab3ae
chore: refine
vernesong Feb 17, 2025
4333c67
fix #4334
vernesong Feb 18, 2025
600dc48
#4324
vernesong Feb 18, 2025
8cb7078
0.46.076
vernesong Feb 18, 2025
4b694d7
chore: refine
vernesong Feb 22, 2025
c984c44
chore: refine
vernesong Mar 1, 2025
498e3f1
chore: refine
vernesong Mar 1, 2025
eae4107
chore: refine
vernesong Mar 1, 2025
ab6fc93
#4343
vernesong Mar 1, 2025
c25374a
0.46.077
vernesong Mar 1, 2025
d5b712c
chore: refine
vernesong Mar 5, 2025
7283dd4
0.46.078
vernesong Mar 5, 2025
a7fb5a4
0.46.079
vernesong Mar 5, 2025
8259e2d
fix #4371
vernesong Mar 11, 2025
1d96492
#4372
vernesong Mar 12, 2025
4315d1f
chore: AnyTLS
vernesong Mar 12, 2025
39b4daf
fix #4375
vernesong Mar 13, 2025
5e27754
chore: sub info style
vernesong Mar 13, 2025
0374213
0.46.080
vernesong Mar 13, 2025
6cc220e
chore: log formalt
vernesong Mar 17, 2025
5ac9fac
fix typo
vernesong Mar 17, 2025
ba65dbf
chore: refine
vernesong Mar 19, 2025
efd65af
chore: change unlock test cache format
vernesong Mar 24, 2025
7bea963
chore: refine streaming_unlock.lua
vernesong Mar 28, 2025
74ce817
chore: refine update check
vernesong Mar 29, 2025
ef3b0bb
chore: lhie1 rules
vernesong Apr 15, 2025
ddf49c5
chore: asn database update
vernesong Apr 17, 2025
651a650
chore: add announcement
vernesong Apr 20, 2025
5d8e4e4
0.46.081
vernesong Apr 20, 2025
ee760af
chore: check announcement mtime
vernesong Apr 23, 2025
6fe521c
chore: update announcement
vernesong Apr 24, 2025
fdab425
#4437
vernesong Apr 27, 2025
0ed8d5d
#4439
vernesong Apr 27, 2025
363fc31
chore: refine
vernesong Apr 27, 2025
28e1b1d
workflow: Update Third-Party Resources
vernesong Apr 27, 2025
c065bd1
0.46.082
vernesong Apr 30, 2025
e94f9e7
workflow: fix error sdk address (#4446)
xuanranran May 1, 2025
526078a
chore: add SAFE_PATHS env
vernesong May 1, 2025
ccdc3f7
chore: set ui value for preventing remove all ui files after download
vernesong May 1, 2025
a9dcd8f
0.46.083
vernesong May 1, 2025
e20fb79
chore: announcement
vernesong May 1, 2025
5b9c3d6
fix external-ui-name
vernesong May 1, 2025
894e958
0.46.084
vernesong May 1, 2025
3aa4f3f
chore: adjust announcement speed
vernesong May 2, 2025
6e66c39
fix: set procd env correctly (#4450)
morytyann May 4, 2025
a631834
chore: smoothly log refresh
vernesong May 5, 2025
3147de9
chore: respawn value
vernesong May 5, 2025
c282a03
chore: refine log refresh
vernesong May 5, 2025
a96c9dd
0.46.085
vernesong May 7, 2025
c354d28
chore: better log smoothly display
vernesong May 8, 2025
d3674a3
chore: lhie1 rules
vernesong May 12, 2025
8a74d01
update game rules (#4465)
ittuann May 20, 2025
c9ce076
0.46.086
vernesong May 26, 2025
c10be33
workflow: update sdk url
vernesong May 26, 2025
4fb1dcf
workflow: fetch-depth 1
vernesong May 27, 2025
210a980
workflow: fix error url
vernesong May 27, 2025
f71da7f
Chore: update resources: china_ip_route.ipset china_ip6_route.ipset G…
github-actions[bot] May 27, 2025
d88caa3
workflow: delete tmp
vernesong May 27, 2025
3b90a85
#4482
vernesong May 27, 2025
93825a0
chore: light zashboard
vernesong May 27, 2025
0825afd
Chore: update resources: MetaCubeXD Yacd Zashboard
github-actions[bot] May 27, 2025
b44c488
workflow: zashboard path
vernesong May 27, 2025
7617bc6
Chore: update resources: MetaCubeXD Yacd Zashboard
github-actions[bot] May 27, 2025
7c9f32b
workflow: MetaCubeXD & Yacd
vernesong May 27, 2025
0217f98
workflow: check before commit
vernesong May 27, 2025
1414316
workflow: use rsync
vernesong May 27, 2025
7c28cd3
fix dist
vernesong May 27, 2025
51a7ee4
fix #4487
vernesong May 31, 2025
70c4f14
chore: refine
vernesong May 31, 2025
99ec39a
Chore: update third-party resources
github-actions[bot] Jun 1, 2025
59cdfc2
Chore: update third-party resources
github-actions[bot] Jun 4, 2025
ad34273
Chore: update third-party resources
github-actions[bot] Jun 7, 2025
c3c7565
fix #4496
vernesong Jun 7, 2025
01e0568
0.46.087
vernesong Jun 7, 2025
7ae5979
Chore: update third-party resources
github-actions[bot] Jun 10, 2025
fe91aeb
chore: add disable-ipv4 and disable-ipv6 dns option
vernesong Jun 11, 2025
cfa63ca
Chore: update third-party resources
github-actions[bot] Jun 13, 2025
811f54b
#4503
vernesong Jun 14, 2025
da63674
chore: ac option show v4&v6 infos and lists sort
vernesong Jun 15, 2025
ce71bab
workflow: remove geoip.dat auto update
vernesong Jun 15, 2025
2be602a
chore: add core update for smart group
vernesong Jun 15, 2025
f5b42d7
workflow: add smart core sync
vernesong Jun 15, 2025
c7f8351
workflow: fix error path
vernesong Jun 15, 2025
8b2b5dd
fix typo
vernesong Jun 15, 2025
144e212
chore: reduce retry for dler login
vernesong Jun 15, 2025
145a6c0
Chore: update third-party resources
github-actions[bot] Jun 16, 2025
262b4ef
0.46.088
vernesong Jun 16, 2025
76e3020
chore: refine update logic
vernesong Jun 16, 2025
3ab132d
chore: update page style
vernesong Jun 16, 2025
a2067ae
0.46.089
vernesong Jun 16, 2025
be84292
fix: log download
vernesong Jun 16, 2025
b48b76d
chore: add allow-origins for dashboard if optioned
vernesong Jun 16, 2025
41c689d
0.46.090
vernesong Jun 16, 2025
4a44348
chore: add firewall reload maximum
vernesong Jun 16, 2025
ebaf5f9
chore: refine
vernesong Jun 17, 2025
9572363
chore: refine
vernesong Jun 17, 2025
c5e6a4d
0.46.091
vernesong Jun 17, 2025
9c82f86
chore: smart group options
vernesong Jun 18, 2025
6e0cbbf
chore: reduce dler api error log
vernesong Jun 18, 2025
5c470dd
0.46.092
vernesong Jun 18, 2025
cda76ea
Compatible with OpenWrt SNAPSHOT loading icon (#4508)
xuanranran Jun 18, 2025
55896ba
fix typo
vernesong Jun 18, 2025
af87c4e
0.46.093
vernesong Jun 18, 2025
4b8fc20
fix: err oc download url
vernesong Jun 18, 2025
a1bbd6b
chore: add help url for smart core switch option
vernesong Jun 18, 2025
559a8dd
0.46.094
vernesong Jun 18, 2025
e938cfe
Chore: update third-party resources
github-actions[bot] Jun 19, 2025
4fa1c79
chore: refine
vernesong Jun 19, 2025
c7e55f4
fix typo
vernesong Jun 20, 2025
b497a46
chore: skip proxies address support base64
vernesong Jun 20, 2025
b35205f
chore: add more url decode support for nodes add
vernesong Jun 20, 2025
3a57f96
chore: refine file upload
vernesong Jun 20, 2025
8a88233
0.46.095
vernesong Jun 20, 2025
9878652
chore: select style
vernesong Jun 21, 2025
b1d6355
chore: add more url type support for skip proxy address
vernesong Jun 21, 2025
302be43
chore: add button for switching router's ip & access check #4510
vernesong Jun 21, 2025
dcba0b2
chore: add router-self ip & access check support
vernesong Jun 21, 2025
a80a39d
chore: remove SKIP_SAFE_PATH_CHECK option
vernesong Jun 21, 2025
b661c3a
chore: group option value sort
vernesong Jun 21, 2025
148fae0
chore: refine update codes
vernesong Jun 21, 2025
2a75824
0.46.096
vernesong Jun 21, 2025
3cbbf9d
chore: announcement
vernesong Jun 21, 2025
95743e6
Chore: update third-party resources
github-actions[bot] Jun 22, 2025
ba179a0
chore: ssr parse
vernesong Jun 22, 2025
951e91d
chore: refine
vernesong Jun 22, 2025
d47c582
0.46.097
vernesong Jun 22, 2025
89f4a05
fix img missing
vernesong Jun 23, 2025
23b2d73
0.46.098
vernesong Jun 23, 2025
e94c2d4
chore: refine
vernesong Jun 23, 2025
d1cffcb
chore: refine
vernesong Jun 23, 2025
0e5cacd
chore: sub info width
vernesong Jun 23, 2025
a59ca87
chore: check cidr format before add custom rules
vernesong Jun 23, 2025
82095fe
0.46.099
vernesong Jun 23, 2025
dc0d88a
chore: safari copy
vernesong Jun 23, 2025
152f87f
chore: clipboard fallback
vernesong Jun 24, 2025
9a054cf
chore: access check use time_appconnect when router mode
vernesong Jun 24, 2025
7301427
chore: refine
vernesong Jun 24, 2025
de8e30a
chore: add title for dler panel
vernesong Jun 24, 2025
46868a5
Chore: update third-party resources
github-actions[bot] Jun 25, 2025
e2082ae
chore: adjust sub progress bar height
vernesong Jun 25, 2025
fc043a4
0.46.100
vernesong Jun 25, 2025
b16bf5e
chore: some translations
vernesong Jun 25, 2025
d4c3bd9
chore: retry after update failed
vernesong Jun 25, 2025
e2b31ee
chore: log refresh speed
vernesong Jun 25, 2025
7a1e4ec
0.46.101
vernesong Jun 25, 2025
6c973aa
chore: add pac file restore
vernesong Jun 25, 2025
34d6924
Chore: update third-party resources
github-actions[bot] Jun 28, 2025
469eb0f
0.46.102
vernesong Jun 29, 2025
ac6b815
0.46.103
vernesong Jun 29, 2025
337607c
fix typo
vernesong Jun 30, 2025
8703ce3
chore: width adapt
vernesong Jun 30, 2025
68f7791
0.46.104
vernesong Jun 30, 2025
e4c6275
0.46.105
vernesong Jun 30, 2025
003c472
0.46.106
vernesong Jun 30, 2025
86bfbb0
Chore: update third-party resources
github-actions[bot] Jul 1, 2025
0b995b3
0.46.107
vernesong Jul 1, 2025
73884a5
0.46.108
vernesong Jul 1, 2025
df1daaf
chore: refine
vernesong Jul 2, 2025
4669a29
chore: refine
vernesong Jul 3, 2025
cefe5f7
0.46.109
vernesong Jul 3, 2025
f23bc97
0.46.110
vernesong Jul 3, 2025
1d4b52b
chore: refine
vernesong Jul 3, 2025
b243f7f
chore: support more file name upload
vernesong Jul 3, 2025
ad6937a
0.46.111
vernesong Jul 3, 2025
496027e
0.46.112
vernesong Jul 3, 2025
33c2e51
0.46.113
vernesong Jul 3, 2025
2bfa3ca
0.46.114
vernesong Jul 3, 2025
da182ba
Chore: update third-party resources
github-actions[bot] Jul 4, 2025
d03be35
chore: refine
vernesong Jul 4, 2025
fc7b2eb
chore: ws message
vernesong Jul 4, 2025
28594f2
docs: fix and optimise compile instruction
JackyHe398 Jul 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
153 changes: 153 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
name: Bug报告
description: Create a Bug report to help us improve
title: "[Bug] "
labels: ["bug"]
body:

- type: checkboxes
id: verify_step
attributes:
label: Verify Steps
description: |
在提交之前,请确认 / Please verify that you've followed these steps.
options:
- label: Tracker 我已经在 [Issue Tracker](……/) 中找过我要提出的问题
required: true
- label: Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
required: true
- label: Latest 我已经**使用最新 Dev 版本**测试过,问题依旧存在
required: true
- label: Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间**无直接关系**,仅相互调用
required: true
- label: Definite 这确实是 OpenClash 出现的问题
required: true
- label: Contributors 我有能力协助 OpenClash 开发并解决此问题
required: false
- label: Meaningless 我提交的**是无意义的**催促更新或修复请求
required: false

- type: input
id: openclash_version
attributes:
label: OpenClash Version
description: |
OpenClash 版本号
placeholder: "v0.0.0-beta"
validations:
required: true

- type: dropdown
id: bug_os
attributes:
label: Bug on Environment
description: |
发现问题所在的系统环境 / System Environment
multiple: true
options:
- Official OpenWrt
- Lean
- Immortalwrt
- Istoreos
- Docker
- Other
validations:
required: true

- type: input
id: openwrt_version
attributes:
label: OpenWrt Version
description: |
Openwrt 固件版本
placeholder: "OpenWrt 0.0.0 r0-0"
validations:
required: true

- type: dropdown
id: bug_platform
attributes:
label: Bug on Platform
description: |
发现问题所在的架构平台 / Platform
multiple: true
options:
- Linux-386
- Linux-amd64(x86-64)
- Linux-amd64-v3(x86-64)
- Linux-armv5
- Linux-armv6
- Linux-armv7
- Linux-arm64
- Linux-loong64
- Linux-mips-hardfloat
- Linux-mips-softfloat
- Linux-mips64
- Linux-mips64le
- Linux-mipsle-hardfloat
- Linux-mipsle-softfloat
- Linux-riscv64
- Other
- All
validations:
required: true

- type: textarea
id: describe_bug
attributes:
label: Describe the Bug
description: |
对 Bug 本身清晰而简洁的描述 / Describe the Bug
validations:
required: true

- type: textarea
id: reproduce_bug
attributes:
label: To Reproduce
description: |
复现此 Bug 的步骤 / How to reproduce?
validations:
required: true

- type: textarea
id: openclash_log
attributes:
label: OpenClash Log
description: |
在下方附上 OpenClash 调试日志 / OpenClash Debug Log
调试日志在插件设置-调试日志中生成,**并非只有运行日志**,如调试日志过长,可作为附件在最下方上传
**隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息**
placeholder: "我已知晓缺失日志可能会导致开发者无法了解我的情况并降低本issue的处理优先级"
render: log
validations:
required: true

- type: textarea
id: openclash_config
attributes:
label: OpenClash Config
description: |
在下方附上与 Bug 相关的系统配置、防火墙规则或环境变量 / System config
非 Clash Yaml 文件
**非必填项**
render: shell
validations:
required: false

- type: textarea
id: excepted_behavior
attributes:
label: Expected Behavior
description: |
对预期修复后情况的清晰明了的描述 / Expected behavior
validations:
required: true

- type: textarea
id: additional_context
attributes:
label: Additional Context
description: |
在此处添加其它信息或屏幕截图 / Additional Context
validations:
required: false
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
blank_issues_enabled: false

contact_links:

- name: 发表Issue前请先在Issues与Discussions中搜索相关内容
url: https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md#在提问之前
about: 请有意义且描述明确的描述问题症状而非你的猜测 问题解决后加个简短的补充说明

- name: 启动成功后无法访问个别网站 | 启动成功后个别网站不想走代理流量
url: https://www.bing.com/search?q=clash+rule+写+教&ensearch=1
about: 想要了解clash规则编写相关的问题

- name: CLASH CORE | PERIUM CORE & 内核问题 | 节点协议加密方式 | 规则 | 内核功能建议
url: https://github.com/Dreamacro/clash/issues/new/choose
about: 原版内核 | P核

- name: META CORE | MIHOMO CORE & 内核问题 | 节点协议加密方式 | 规则 | 内核功能建议
url: https://github.com/MetaCubeX/mihomo/issues/new/choose
about: M核

- name: 在线订阅转换问题 | 在线订阅转换增加节点协议加密方式 | 在线订阅转换功能建议
url: https://github.com/tindy2013/subconverter/issues/new/choose
about: 提供并增加预设订阅转换服务地址请通过上方 功能请求 发表

- name: DASHBOARD & 控制面板问题 | 面板功能建议
url: https://github.com/Dreamacro/clash-dashboard/issues/new/choose
about: 面板问题先请尝试 更换近期未使用过面板设备 或 使用浏览器隐私匿名无痕...模式 访问

- name: YACD & 控制面板问题 | 面板功能建议
url: https://github.com/haishanh/yacd/issues/new/choose
about: 面板问题先请尝试 更换近期未使用过面板设备 或 使用浏览器隐私匿名无痕...模式 访问

- name: METACUBEXD & 控制面板问题 | 面板功能建议
url: https://github.com/MetaCubeX/metacubexd/issues/new/choose
about: 面板问题先请尝试 更换近期未使用过面板设备 或 使用浏览器隐私匿名无痕...模式 访问

- name: YACD-META & 控制面板问题 | 面板功能建议
url: https://github.com/MetaCubeX/Yacd-meta/issues/new/choose
about: 面板问题先请尝试 更换近期未使用过面板设备 或 使用浏览器隐私匿名无痕...模式 访问

- name: DASHBOARD-META & 控制面板问题 | 面板功能建议
url: https://github.com/MetaCubeX/Razord-meta/issues/new/choose
about: 面板问题先请尝试 更换近期未使用过面板设备 或 使用浏览器隐私匿名无痕...模式 访问

- name: 我想讨论OpenClash的某个功能 | 我不确定是什么问题 | 我的问题不属于上述选项 | 我的问题无法得到原作者原仓库的帮助
url: https://github.com/vernesong/OpenClash/discussions/new/choose
about: 礼多人不怪 而且有时还很有帮助
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: 功能请求
description: Suggest an idea for this project
title: "[Feature] "
labels: [enhancement]
body:

- type: checkboxes
id: verify_step
attributes:
label: Verify Steps
description: "在提交之前,请确认 / Please verify that you've followed these steps"
options:
- label: Tracker 我已经在 [Issue Tracker](……/) 中找过我要提出的问题
required: true
- label: Latest 我已经**使用最新 Dev 版本**查看过,并不包含该功能特性或者还不完善
required: true
- label: Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间**无直接关系**,仅相互调用
required: true
- label: Definite 这确实是 OpenClash 应包含的特性
required: true
- label: Contributors 我有能力协助 OpenClash 开发或完善此功能特性
required: false
- label: Meaningless 我提交的**是无意义的**催促更新或修复请求
required: false

- type: textarea
attributes:
label: Describe the Feature
description: |
清晰明了地描述您的想法. 例如你想实现什么 Feature 特性或功能? 如何实现该功能? 目前 OpenClash 的行为是什么?
validations:
required: true

- type: textarea
attributes:
label: Describe Alternatives
description: |
对您考虑过的任何替代解决方案或备选功能进行清晰、简洁的描述.
validations:
required: false
41 changes: 41 additions & 0 deletions .github/workflows/clear_cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Clean jsDelivr Cache

on:
push:
branches:
- master
- dev
- core
- package
paths-ignore:
- 'README.md'
- 'LICENSE'

jobs:
jsDelivr:
runs-on: ubuntu-latest

steps:
- name: Apt Update
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get -y install jq

- uses: actions/checkout@v4

# https://github.com/marketplace/actions/git-changesets
- id: changed_files
name: git-changesets
uses: collin-miller/git-changesets@v1
with:
# Default format is 'csv'. Other valid options are 'space-delimited' and 'json'.
format: json

- name: Clean jsDelivr Cache
run: |
echo '${{ steps.changed_files.outputs.added_modified }}' | jq -r '.[]' | while read file; do
# echo ${{ steps.changed_files.outputs.all }}
curl -sL --retry 3 "https://purge.jsdelivr.net/gh/vernesong/OpenClash@${{ github.ref_name }}/${file}"
done
19 changes: 19 additions & 0 deletions .github/workflows/close_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

name: Mark and close stale issues

on:
schedule:
- cron: "30 8 * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v5
with:
stale-issue-message: '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'
days-before-stale: 60
days-before-close: 5
operations-per-run: 200
Loading