libnyanpasu / clash-nyanpasu Goto Github PK
View Code? Open in Web Editor NEWClash Nyanpasu~(∠・ω< )⌒☆
Home Page: https://nyanpasu.elaina.moe
License: GNU General Public License v3.0
Clash Nyanpasu~(∠・ω< )⌒☆
Home Page: https://nyanpasu.elaina.moe
License: GNU General Public License v3.0
问题描述
双击打开时界面有刷新动画,单击和 右键-> 打开面板 时没有动画效果 ,供参考
Information
希望增加authentication认证账号密码配置选项
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Information
Additional context
Add any other context about the problem here.
类似clash for windows 一样,长按配置文件就可以拖动进行前后排序,这样可以把想用的机场配置放在前面。
看到clash-verge-rev中合并了该项目的很多修改,请问后续是两个项目独立开发,还是本项目由verge-rev继承?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
eslint
, eslint-plugin-n
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
backend/Cargo.toml
thiserror 1
tracing 0.1
backend/sysproxy-rs/Cargo.toml
interfaces 0.0.9
iptools 0.2.5
winreg 0.52
windows 0.54
backend/tauri-plugin-deep-link/Cargo.toml
dirs 5
log 0.4
once_cell 1
tauri-utils 1
interprocess 1.2
windows-sys 0.52.0
winreg 0.52.0
objc2 0.5.0
backend/tauri/Cargo.toml
warp 0.3
which 6
anyhow 1.0
dirs 5.0.1
open 5.0.1
log 0.4.20
ctrlc 3.4.2
dunce 1.0.4
nanoid 0.4.0
chrono 0.4.31
sysinfo 0.30
rquickjs 0.6.0
serde_json 1.0
serde_yaml 0.9
auto-launch 0.5
once_cell 1.19.0
port_scanner 0.1.5
delay_timer 0.11.5
parking_lot 0.12.1
tokio 1
serde 1.0
reqwest 0.11
tauri 1.5.4
window-vibrancy 0.5.0
window-shadows 0.2.2
wry 0.24.6
semver 1.0
zip 0.6.6
zip-extensions 0.6.2
tempfile 3.9.0
glob 0.3.1
async-trait 0.1.77
dyn-clone 1.0.16
rs-snowflake 0.6
simd-json 0.13.8
runas 1.2.0
backon 0.4.1
rust-i18n 3
adler 1.0.2
rfd 0.10
indexmap 2.2.3
tracing-attributes 0.1
tracing-futures 0.2
tracing-subscriber 0.3
tracing-error 0.2
tracing-log 0.2
tracing-appender 0.2
base64 0.22
single-instance 0.3.3
uuid 1.7.0
image 0.25.0
fast_image_resize 3.0.4
display-info 0.5.0
dashmap 5.5.3
clap 4.5.4
percent-encoding 2.3.1
fs_extra 1.3.0
redb 2.0.0
tauri-build 1
serde 1
simd-json 0.13
deelevate 0.2.0
winreg 0.52
windows-sys 0.52
webview2-com 0.19
windows 0.39
tauri 1.5.4
tauri 1.5.4
.github/workflows/ci.yml
actions/checkout v4
Swatinem/rust-cache v2
maxim-lobanov/setup-xcode v1
actions/setup-node v4
pnpm/action-setup v2
actions/cache v4
.github/workflows/daily.yml
actions/checkout v4
actions/setup-node v4
pnpm/action-setup v2
oleksiyrudenko/gha-git-credentials v2-latest
actions/checkout v4
actions/setup-node v4
pnpm/action-setup v2
oleksiyrudenko/gha-git-credentials v2-latest
.github/workflows/dev.yaml
actions/checkout v4
Swatinem/rust-cache v2
actions/setup-node v4
pnpm/action-setup v2
mknejp/delete-release-assets v1
maxim-lobanov/setup-xcode v1
tauri-apps/tauri-action v0
actions/checkout v4
greenhat616/update-tag v1
softprops/action-gh-release v2
actions/checkout v4
pnpm/action-setup v2
.github/workflows/macos-aarch64.yaml
actions/checkout v4
Swatinem/rust-cache v2
maxim-lobanov/setup-xcode v1
actions/setup-node v4
pnpm/action-setup v2
macos 14
.github/workflows/publish.yml
actions/checkout v4
actions/setup-node v4
pnpm/action-setup v2
actions/cache v4
TriPSs/conventional-changelog-action v5
softprops/action-gh-release v2
.github/workflows/release.yml
actions/checkout v4
Swatinem/rust-cache v2
actions/setup-node v4
pnpm/action-setup v2
mknejp/delete-release-assets v1
maxim-lobanov/setup-xcode v1
tauri-apps/tauri-action v0
actions/checkout v4
actions/setup-node v4
pnpm/action-setup v2
rg-wood/send-tweet-action v1
.github/workflows/updater.yaml
actions/checkout v4
actions/setup-node v4
pnpm/action-setup v2
backend/tauri-plugin-deep-link/.github/workflows/audit.yml
actions/checkout v4
actions-rs/audit-check v1
backend/tauri-plugin-deep-link/.github/workflows/format.yml
actions/checkout v4
Swatinem/rust-cache v2
backend/tauri-plugin-deep-link/.github/workflows/lint.yml
actions/checkout v4
Swatinem/rust-cache v2
backend/tauri-plugin-deep-link/.github/workflows/release.yml
actions/checkout v4
orhun/git-cliff-action v3
softprops/action-gh-release v2
frontend/interface/package.json
@tauri-apps/api 1.5.4
ofetch 1.3.4
swr 2.2.5
frontend/nyanpasu/package.json
@dnd-kit/core 6.1.0
@dnd-kit/sortable 8.0.0
@dnd-kit/utilities 3.2.2
@emotion/react 11.11.4
@emotion/styled 11.11.5
@generouted/react-router 1.19.3
@juggle/resize-observer 3.4.0
@material/material-color-utilities 0.2.7
@mui/icons-material 5.15.16
@mui/lab 5.0.0-alpha.170
@mui/material 5.15.16
@mui/x-data-grid 7.3.2
@tauri-apps/api 1.5.4
ahooks 3.7.11
axios 1.6.8
dayjs 1.11.11
framer-motion 11.1.9
i18next 23.11.3
jotai 2.8.0
monaco-editor 0.48.0
mui-color-input 2.0.3
react 18.3.1
react-dom 18.3.1
react-error-boundary 4.0.13
react-fast-marquee 1.6.4
react-hook-form 7.51.4
react-i18next 14.1.1
react-markdown 9.0.1
react-router-dom 6.23.0
react-transition-group 4.4.5
react-virtuoso 4.7.10
swr 2.2.5
@types/js-cookie 3.0.6
@types/react 18.3.1
@types/react-dom 18.3.0
@types/react-transition-group 4.4.10
@typescript-eslint/eslint-plugin 7.8.0
@typescript-eslint/parser 7.8.0
@vitejs/plugin-react 4.2.1
sass 1.77.0
shiki 1.4.0
vite 5.2.11
vite-plugin-sass-dts 1.3.18
vite-plugin-svgr 4.2.0
vite-tsconfig-paths 4.3.2
frontend/ui/package.json
@material/material-color-utilities 0.2.7
@mui/icons-material 5.15.16
@mui/lab 5.0.0-alpha.170
@mui/material 5.15.16
@types/react 18.3.1
ahooks 3.7.11
framer-motion 11.1.9
react 18.3.1
react-error-boundary 4.0.13
sass 1.77.0
typescript-plugin-css-modules 5.1.0
package.json
husky 9.0.11
lodash-es 4.17.21
@commitlint/cli 19.3.0
@commitlint/config-conventional 19.2.2
@tauri-apps/cli 1.5.13
@types/fs-extra 11.0.4
@types/lodash-es 4.17.12
@types/node 20.12.10
autoprefixer 10.4.19
conventional-changelog-conventionalcommits 8.0.0
cross-env 7.0.3
dedent 1.5.3
eslint 8.57.0
eslint-config-prettier 9.1.0
eslint-config-standard 17.1.0
eslint-import-resolver-alias 1.1.2
eslint-plugin-html 8.1.1
eslint-plugin-import 2.29.1
eslint-plugin-n 16.6.2
eslint-plugin-prettier 5.1.3
eslint-plugin-promise 6.1.1
eslint-plugin-react 7.34.1
lint-staged 15.2.2
npm-run-all2 6.1.2
postcss 8.4.38
postcss-html 1.6.0
postcss-import 16.1.0
postcss-scss 4.0.9
prettier 3.2.5
prettier-plugin-toml 2.0.1
react-devtools 5.1.0
stylelint 16.5.0
stylelint-config-html 1.1.0
stylelint-config-recess-order 5.0.1
stylelint-config-standard 36.0.0
stylelint-declaration-block-no-ignored-properties 2.8.0
stylelint-order 6.0.4
stylelint-scss 6.3.0
tailwindcss 3.4.3
tsx 4.9.3
typescript 5.4.5
node 21.7.3
pnpm 9.1.0
vite-plugin-monaco-editor 1.1.3
scripts/package.json
@actions/github 6.0.0
telegraf 4.16.3
@types/adm-zip 0.5.5
adm-zip 0.5.12
colorize-template 1.0.0
consola 3.2.3
fs-extra 11.2.0
https-proxy-agent 7.0.4
node-fetch 3.3.2
picocolors 1.0.0
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Information
Additional context
点击配置文件时,提示:
error sending request for url(http://127.0.0.1:9090/configs): error trying to connect: tcp connect error:Connection refuse(os error 61)
请问如何解决?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
不知道这算不算bug, 每次重启后打开都是很小的窗口模式(2K屏幕),
希望可以记住上次调整的窗口大小,版本最新版,系统最新版win11预览版。
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Clash.Meta内核更名为虚空终端转入非公开开发,是否考虑更新内核至最新版本,或者添加一个新的虚空终端切换选项支持
文档地址:
二进制下载地址:
https://github.com/MerlinKodo/akasha-terminal-bin/releases/tag/latest
版本信息打印:
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
可以引入 framer-motion,来构建更自然的过度。
比如说 Modal 组件,部分按钮的交互逻辑,以及可以戳一戳的 Logo 🐱
P.S 是不是可以考虑往 outline 风格过度,以向 Material You 风格迁移?虽然 Material UI 6(Material You 风格化) 的进度不容乐观:mui/material-ui#29345
PP.SS: 或许也可以引入譬如 UnoCSS、Tailwindcss 改善布局的体验
Blocked: mui/material-ui#36695
希望在Releases中提供macos_ aarch64架构构建版本
This looks like Clash Verge. I know a core Clash Rev that is currently being updated, and developers may consider supporting it.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
你好,比如 当从设置页面 点击 跳转到 日志页面时,请问页面过渡动画可以给个选项,沿用原来的clash-verge的动画或者不用过渡动画吗?
确实不懂rust和js,所以是把
https://github.com/keiko233/clash-nyanpasu/blob/9e2ae311cd47f7b6fb60e77283955b21c9bbb846/src-tauri/src/enhance/script.rs#L5
丢给AI去读的。没理解错的话,应该是:
把yaml格式的clash config文件用serde_json转成javascript对象,然后用quickJS创建一个无特殊设置或context的runtime跑起用户js脚本,把上述javascript对象丢给这个脚本去处理。
具体的文本处理功能完全由用户js脚本赋予,基本当成模块化黑盒来用就行。
粗线条的逻辑挺好懂,但是填充细节时就有点抓瞎了。哪怕是作者自己提供的实例中,声明main函数也出现了两种写法
main(params)
main(config)
但我看下来,上面两种写法并没体现出什么区别,甚至互换都可以?那么main函数还允许其他声明方式吗?
可能有点啰嗦,不少表述也不太准确。。但个人觉得既然目前的现状是需求稍微复杂点就得上script的话,那script功能的解释到subconverter那种程度才足够指导使用,它介绍脚本写法时也没多少字,无非是函数声明允许的具体写法,以及入参的node具体长啥样。
剩下都是纯粹javascript语法,问AI都行了。
是否能够支持像ClashForWindows那样的预处理配置功能,个性化分流很需要,谢谢
希望软件内部的检查更新可以运作
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Information
Additional context
Add any other context about the problem here.
在tun模式启动时,托盘图标改变颜色进行指示,类似系统代理启动时切换为粉色猫猫,tun模式或许用个紫色?
任务栏图标相比其他的图标有点小,比其他的图标小了一号。
所以整体看起来就比较奇怪。
能不能换一个图标或者能够支持图标自定义,如和CFW一样支持自定义图标。
软件的大图标还可以,但是缩小到任务栏后的图标太丑,看不清是一只猫,远看像一个方块。
建议换一个任务栏图标吧,把眼睛、耳朵和尾巴画的更明显一些。
项目名已更改为mihomo
Binary file name changes to mihomo, along with most of the const such as default config path, check and update these file/path before update to this version.
项目地址为https://github.com/MetaCubeX/mihomo/releases
毕竟原作者已经不更了。
请求添加便携版,Webview可以自行安装,谢谢!
Is your feature request related to a problem? Please describe.
目前这个软件有这么一个问题,就是自己写的配置文件不能很好地被执行,在关闭字段检查之后,一些配置项仍然会被设置里的选项覆盖掉。
这就导致我自己写的配置放在别人那里不能直接用,需要再对照着改一遍“设置”
Describe the solution you'd like
读取现有的配置文件,将设置页面显示成配置文件对应的,比如我原配置设置了外部控制的密码是“123456789”,就直接在设置界面里显示我的这个密码,不做任何覆盖,除非我在“设置”里手动修改,另外,如果可以的话,可以在一份配置文件的副本里储存软件进行的修改,从而保证原配置不变,也可以一键恢复原配置
Describe alternatives you've considered
类似cfw的tun模式的选项那样,一边是图形设置页面,另一侧显示对应的yaml语句,这样起码可以明确知道设置项对应的字段
Additional context
不会画
十分感谢
可以有吗?
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Currently, this repository is still being maintained, so I hope we can add an extra item in the Settings -> Clash Kernel menu to use this clash kernel.
Describe alternatives you've considered
none
Additional context
none
Is your feature request related to a problem? Please describe.
公司内网有自己的DNS,遇到特定的网址只有公司DNS才能解析,所以我希望有个选项,可以方便的将直接走direct的网址添加进去。
目前订阅链接更新后,会把自己添加在yaml里的配置文件项更改掉;希望您可以有个“订阅更新后的钩子”,每次更新订阅后,都会把自定义的规则添加进去。
Describe the solution you'd like
1、在规则界面加一个add,然后添加自定义规则
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
目前主题可以通过颜色代码进行主题的个性化设置,但通过颜色代码定制终究是有些麻烦,很多用户并不明确的知道自己喜欢的颜色是什么代码或者想要什么颜色,如果可以增加调色板(与目前代码调色并存)个人认为可以进一步提升主题设置这项功能的易用性,进而鼓励用户对主题进行个性化设置。
Is your feature request related to a problem? Please describe.
当节点名字很长的时候会无法看到全部名字,拉长GUI也不行。
Describe the solution you'd like
增加节点按钮的宽度,或者添加列表视图。
Describe alternatives you've considered
/
Additional context
/
端口有时候总是会因为各种原因被占用,CFW的Random Mixed Port感觉很好用,希望nyanpasu可以引入这一功能。
大佬求增加一个diff的功能哇```
在mac上使用tun模式时每次要手动修改dns 192.168.0.2,希望可以添加自动修改功能。
Is your feature request related to a problem? Please describe.
clash上游已经全部停止维护
Describe the solution you'd like
考虑支持 sing-box内核
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
需要一个Windows on arm的版本
十分感谢,或者可以请教一下如何自己进行编译
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
原因:
上游问题追踪:
变通方法(不能完全解决):
由于 sidecar
存放的目录是可见的,因此可以考虑将 checker 脚本移植一份,或者抽象一份通用逻辑,亦或者干脆整个 downloader?使得用户在不更新 UI 的情况下,仍可继续更新内核(如果没跑路的话)
同理资源目录,也就是程序目录是可见的,也许可以加一些定时更新 geoip 之类资源的选项,甚至自选(地址)的方案。
定期计划任务可以依赖 #47 将重写的定时器(计划任务)模块
P.S 有听说 Tauri 会覆盖一些文件,在启动的时候,不知道是否包括资源、sidecar,如果包含的话,那我们可能还得想想其他变通方案。
1、1.4.1版本Clash rust内核下配置无法切换
2、局域网连接、IPV6无法关闭
clashmeta 有一些更实用的特性 感觉更适合作为默认内核使用 大佬可以考虑下吗
Configuration group is empty uder the use of clash-rs
.
The log is
ERROR clash_lib::app::profile: failed to read cache file: stream did not contain valid UTF-8, initializing a new one
AT
clash_lib/src/app/profile/mod.rs:119
AT
clash_lib/src/proxy/converters/vmess.rs:28
WARN clash_lib::proxy::converters::vmess: skipping TLS cert verification for
startERROR:
invalid config: unsupported network: grpc
thread'MAIN'
panicked at clash/src/main.rs:68:6:
called`RESULT::UNWRAP()`
on an `Err` value: InvalidConfig("unsupported network: grpc")
ERROR clash_lib: panic hook: PanicInfo { payload: Any { .. }, message: Some(called `Result::unwrap()` on an `Err` value: InvalidConfig("unsupported network: grpc")), location: Location { file: "clash/src/main.rs", line: 68, col: 6 }, can_unwind: true, force_no_backtrace: false }
AT
clash_lib/src/lib.rs:158
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.